public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mdadm fails to add drive to arry
Date: Fri, 1 Sep 2006 23:23:58 -0700 (PDT)	[thread overview]
Message-ID: <20060902062358.9479.qmail@web31801.mail.mud.yahoo.com> (raw)
In-Reply-To: <7573e9640609012310v75980d37x7d4f68aa21b28b10@mail.gmail.com>

> I think you forgot to specify the mode.  From man mdadm:
> SYNOPSIS
>        mdadm [mode] <raiddevice> [options] <component-devices>
>       If  a  device  is  given  before any options, or if the first option is
>        --add, --fail, or --remove, then the MANAGE mode is  assume.   Anything
>        other than these will CAUSE THE MISC MODE TO BE ASSUMED.
> (emphasis added)
> So I think you need "mdadm manage /dev/md4 --add /dev/hdj1".  Or
> "mdadm --add /dev/md4 /dev/hdj1".

I appreciate the feed back.  Here is what I am getting.

~ # mdadm manage /dev/md4 --add /dev/hdj1
mdadm: An option must be given to set the mode before a second device is listed

~ # mdadm --add /dev/md4 /dev/hdj1
mdadm: add new device failed for /dev/hdj1 as 2: Invalid argument

and for kicks :)
~ # mdadm manage --add /dev/md4 /dev/hdj1
mdadm: error opening manage: No such file or directory
~ # mdadm --add manage /dev/md4 /dev/hdj1
mdadm: error opening manage: No such file or directory

Regards,

Richard Broersma Jr.
-- 
gentoo-user@gentoo.org mailing list



      parent reply	other threads:[~2006-09-02  6:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02  4:13 [gentoo-user] mdadm fails to add drive to arry Richard Broersma Jr
2006-09-02  6:10 ` Richard Fish
2006-09-02  6:14   ` Richard Fish
2006-09-02  6:30     ` Richard Broersma Jr
2006-09-02  9:26       ` Richard Fish
2006-09-02 17:19         ` Richard Broersma Jr
2006-09-02 20:50           ` Richard Fish
2006-09-02  6:23   ` Richard Broersma Jr [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060902062358.9479.qmail@web31801.mail.mud.yahoo.com \
    --to=rabroersma@yahoo.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox