linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-raid@vger.kernel.org
Subject: Re: Adding a mirror to a RAID1 Device
Date: 21 Dec 2003 00:23:21 -0800	[thread overview]
Message-ID: <bs3l9p$8c1$1@cesium.transmeta.com> (raw)
In-Reply-To: 16323.732.390200.935640@notabene.cse.unsw.edu.au

Followup to:  <16323.732.390200.935640@notabene.cse.unsw.edu.au>
By author:    Neil Brown <neilb@cse.unsw.edu.au>
In newsgroup: linux.dev.raid
> 
> What you should have done is make a raid1 with 2 drives, one of which
> was missing/failed.  With mdadm, the command would be:
> 
>   mdadm -C /dev/md0 --level=raid1 --disks=2 /dev/hda3 missing
> 
> then you can hot-add the extra drive when it arrives.
> 
> What you have to do now is recreate the raid1 with two drives.  You
> will have to have the filesystem unmounted and the raid stopped, but
> you will not lose any data.
> 

For the case of RAID-1 in particular, it would be nice to be able to
hotadd drives "ad infinitum"... after all they're all the same.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
If you send me mail in HTML format I will assume it's spam.
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64

      parent reply	other threads:[~2003-12-21  8:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S262074AbTKYGHX/20031125060723Z+10693@vger.kernel.org>
2003-11-25  6:19 ` Adding a mirror to a RAID1 Device Caleb Crome
2003-11-25  7:21   ` Neil Brown
2003-11-25 21:03     ` jlewis
2003-11-25 22:01       ` Neil Brown
2003-11-25 22:06         ` Dan Egli
2003-11-25 22:45           ` Luca Berra
2003-11-25 22:56             ` Dan Egli
2003-11-25 23:27               ` Luca Berra
2003-11-25 22:58           ` jlewis
2003-11-26 23:09         ` jlewis
2003-12-21  8:23     ` H. Peter Anvin [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='bs3l9p$8c1$1@cesium.transmeta.com' \
    --to=hpa@zytor.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).