From: Anders Fugmann <afu@fugmann.dhs.org>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-raid@vger.kernel.org
Subject: Re: Upgrading Raid1 array to have 2. disks.
Date: Thu, 08 May 2003 21:11:21 +0200 [thread overview]
Message-ID: <3EBAABD9.3080802@fugmann.dhs.org> (raw)
In-Reply-To: <16056.19633.400369.451156@notabene.cse.unsw.edu.au>
Neil Brown wrote:
> You cannot add a new data drive to a raid1 array.
> If you shut down the array and re-create it you should not loose data.
> The correct command to use would be something like:
> mdadm --create /dev/md0 --level=1 -n 2 /dev/ide/host0/bus0/target0/lun0/part1 missing
>
> Note the word "missing" at the end. This tells mdadm to create a
> 2-drive array with one missing drive (and so only one active drive).
> This will have the same data as the old md0.
> Now "mdadm --add" should do what you want.
Thanks for the replies.
The method above worked like a charm. The data on the array even surived
the operation.
>
> NeilBrown
Regards
Anders Fugmann
next prev parent reply other threads:[~2003-05-08 19:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-06 23:24 Upgrading Raid1 array to have 2. disks Anders Fugmann
2003-05-06 23:46 ` Mads Peter Bach
2003-05-07 0:00 ` Neil Brown
2003-05-08 19:11 ` Anders Fugmann [this message]
2003-05-20 0:33 ` raid5, 2 drives dead at same time,kernel will Oops? 3tcdgwg3
2003-05-21 2:42 ` Neil Brown
2003-05-22 1:04 ` 3tcdgwg3
2003-05-30 20:33 ` 3tcdgwg3
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=3EBAABD9.3080802@fugmann.dhs.org \
--to=afu@fugmann.dhs.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
/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).