Hi,
Markus Gehring wrote:
I have a reproducable problem with corrupted data read from a RAID1-array.
Setup: HW: 2 S-ATA-Disks (160GB each) -> /dev/md4 RAID1 Promise S150 TX4 - Controller AMD Sempron 2200+
SW: Fedora Core 3 Kernel 2.6.10 unpatched Samba (for read/write-accesses) SW-Raid
Everything works fine with only one drive in the array. If the second is synced up read accesses return corrupted data.
Interesting: If you remove again the second disk. The same files will be read correctly again (no matter if written while only one disk is in the array or two are synced!)!
This makes it sound like bad data is getting written to the second disk during resync. Could you give more details about your test procedure (a script or list of steps that reproduces the problem would be great)?
I don't think samba is the culprit, but just to be sure, is there any chance you could reproduce the problem without samba in the equation? (From what you say above, I assume all reads and writes are coming from a samba client of some sort?)
Thanks, Paul - 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