Re: Building new RAID5 results in removed and failed devices

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

 



On 06/24/2010 11:03 PM, Dan Williams wrote:
This is expected without the --force option:

--force
               Insist that mdadm accept the geometry and layout
specified without question.
               Normally mdadm will not allow creation of an array with
only one device, and
               will  try  to create a RAID5 array with one missing
drive (as this makes the
               initial resync work faster).  With --force, mdadm will
not  try  to  be  so
               clever.


The manpage you quoted says mdadm will not create a raid5 array with only one device. However in my case I have --raid-devices=2 and both /dev/sdd1 and /dev/sdb1. So I should be ok with a raid5 and 2 devices? The reason I am not using raid1 is because a want to add more drives later on.

Best regards,
Markus




mdadm --create --verbose /dev/md1 --chunk=64 --level=5 --raid-devices=2 /dev/sdd1 /dev/sdb1

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