create failed raid5 disk with mdadm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to determine the syntax to create a raid5 volume with a single
failed disk.
I am converting the root parition of an existing system to raid5.
I need to exclude one disk from the software raid setup.
Then copy the data over.
Then add in the excluded disk.

The synax to perform this operation on a raid 1 volume is:
mdadm --create /dev/md1 --level=1 --raid-disks=2 missing /dev/hdg1

The same syntax to create a raid volume, does not appear to work:
mdadm -v --create /dev/md2 --level=5 --raid-disks=4 -R  missing /dev/hdf2
/dev/hdg2 /dev/hdh2


Is their perhaps another way to perform the operation?

I can't find any additional documentation items on configure it.


I am the author of the debian root software raid doc at:

(Howto Convert system to software raid using mdadm.)
http://rootraiddoc.alioth.debian.org.

-- 
Luke Computer Science System Administrator
Security Administrator,College of Engineering
Montana State University-Bozeman,Montana

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux