mke2fs with discard option breaks RAID5 array

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

 



I just had the following weird effect under OpenSUSE 12.3, kernel
3.7.10-1.16. I am wondering if it's a known problem.

Creating a RAID5 array (format doesn't seem to matter) either with the
openSUSE native mdadm 3.2.6 or mdadm 3.3, and running mke2fs on it,
fails. The RAID array is broken after that, all disks faulty, any IO fails.

Further examination shows that the problem is related to mke2fs trying
to discard blocks. Running "-E nodiscard" or setting "discard=no" in
mke2fs.conf fixes the problem. Unfortnately, "discard" seems to be the
default.

Details under https://bugzilla.novell.com/show_bug.cgi?id=840413

Has anyone seen this before?
Martin
--
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