All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Lee <splee@plexio.com>
To: Raid <linux-raid@vger.kernel.org>
Subject: Typo in mdadm man page?
Date: 06 Nov 2002 07:22:55 -0800	[thread overview]
Message-ID: <1036596176.15341.16.camel@ralph.plexio.private> (raw)

Hi,

I was trying to figure out how to add a hot spare to a 3 drive raid5
array and came across the following in the mdadm man page:

MANAGE MODE
       Usage: mdadm device options... devices...

       This usage will allow individual devices in an array to be
       failed,  removed or added.  It is possible to perform mul­
       tiple operations with on command. For example:
         mdadm /dev/md0 -f /dev/hda1 -r /dev/hda1 /a /dev/hda1
       will firstly mark /dev/hda1 as faulty in /dev/md0 and will
       then  remove  it from the array and finally add it back in
       as a spare.  However only one md array can be affected  by
       a single command.

I presume the "/a" in the mdadm command should be "-a"? Would it be
possible to add a few more words to be more explicit about adding hot
spares to an existing active array? For example, it would be more
comforting to know that "mdadm /dev/md0 -a /dev/sdd1" to a fully
operational array (no failed devices) generates a hot spare for /dev/md0
but does not increase the capacity of /dev/md0.

While I have your attention, does adding the hot spare need to be
repeated after a reboot? Would I need to add the command to my rc.local
file?

Thanks!
Stephen


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2002-11-06 15:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1036596176.15341.16.camel@ralph.plexio.private \
    --to=splee@plexio.com \
    --cc=linux-raid@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.