linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* create a partial raid5
@ 2006-02-09 11:40 stephan sperber
  2006-02-09 15:46 ` Troels Bang Jensen
  0 siblings, 1 reply; 2+ messages in thread
From: stephan sperber @ 2006-02-09 11:40 UTC (permalink / raw)
  To: linux-raid

Hello!

Is it possible to create a Radi5 with only 2 disks? (I know that Raid5 
needs 3 to be really redundant)

With a Raid1 I can do things like:
mdadm -C /dev/md0 --force --raid-devices=1 /dev/hdb2
mkreiserfs /dev/md0

copy files from an older drive to the raid, get the old drive out and put 
the new disk for the raid in.
then
mdadm -G /dev/md0 --raid-disks=2
mdadm -a /dev/md0 /dev/hdc2

and the raid1 is now a real raid1 (after sync)

It would be great to have something similar for raid5:
mdadm -C /dev/md0 --force --raid-devices=2 /dev/hdb2 /dev/hdc2
mdadm -G /dev/md0 --raid-disks=3
mdadm -a /dev/md0 /dev/hda2

or
mdadm -C /dev/md0 --force --fail=/dev/hda2 --raid-devices=3 /dev/hdb2 /
dev/hdc2
mdadm -a /dev/md0 /dev/hda2

i know that this is possible with raidtools and /etc/raidtab.

is this possible with the recent version of mdadm or is it a planned 
feature (or not planned)?

thanks in advance
stephan



-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-09 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 11:40 create a partial raid5 stephan sperber
2006-02-09 15:46 ` Troels Bang Jensen

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).