mdadm may fail to assemble clean raid5 array with failed drive

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

 



Mdadm may incorrecty fail to assemble a clean raid5 array if the array
had a failed drive with a dirty superblock at the time the array was
last stopped.
While assembling, mdadm will use the superblock of the failed drive
during assembly, if the failed drive is probed first.  If the failed drive's superblock
is active/dirty, mdadm may think that the entire array is dirty-degraded
instead of clean-degraded.  Mdadm will then not try and run the array unless 
a --force is specified.

This patch ensures that mdadm will always use the most recent superblock
before making desicions about running the array.

This bug appears in all recent version of mdadm.

-eivind

Attachment: mdadm.patch
Description: Binary data


[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