Re: how to recreate a raid5 array with n-1 drives? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Marc MERLIN wrote:
In the olden days (pre-mdadm), I could bring up the array by giving 5 drives and marking /dev/sde1 as failed-disk instead of read-disk (or somesuch). I could not find a way to do this with mdadm in the man page. How do I give /dev/sde1 on the command line as a failed drive?
Looking at the mdadm man page in the "CREATE MODE" section: "To create a "degraded" array in which some devices are missing, simply give the word "missing" in place of a device name. This will cause mdadm to leave the corresponding slot in the array empty. For a RAID4 or RAID5 array at most one slot can be "missing"; for a RAID6 array atmost two slots. For a RAID1 array, only one real device needs to be given. All of the others can be "missing"."
Regards, Richard -- 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
[Home] [ATA RAID] [Linux] [Managing RAID on Linux] [Linux IDE] [Linux SCSI] [Linux Hams] [Device-Mapper] [Kernel] [Linux Books] [Linux Admin] [Linux Net] [GFS] [RPM] [Photos] [Yosemite Photos] [Yosemite News] [AMD 64] [Linux Nework]
![]() |