Skip to contentSkip to conversation

RAID-6 corruption

DISCUSSION Jim Paris 2 participants 2 messages Jul 29, 2004 – Jul 30, 2004 MD RAID

lore
Share & tools
lore

Jim Paris

author
#0 lore raw

Hello,

(I've posted some messages about this to linux-raid, but haven't gotten much of a response; this time I'm cc'ing to linux-kernel)

I am seeing reproducible corruption with software RAID-6 on an array that has been created with missing disks. The attached script demonstrates this easily through loopback devices, but I see the problem just the same on real drives.

I do not see the problem with full RAID-6 arrays (no missing disks), nor do I see it on RAID-5 arrays on the same system. I haven't seen the corruption when writing directly to the md device, but I haven't tested that very much.

Tested on 2.6.6, 2.6.7, 2.6.8-rc2, with mdadm 1.5.0 and 1.6.0. See attached.

-jim

#1 lore raw
Followup to:  <[email protected]>
By author:    Jim Paris <[email protected]>
In newsgroup: linux.dev.raid
Quoted 6 lines

Hello,

(I've posted some messages about this to linux-raid, but haven't gotten much of a response; this time I'm cc'ing to linux-kernel)

I haven't seen any of those messages, so this is the first case happening.

Quoted 5 lines

I am seeing reproducible corruption with software RAID-6 on an array that has been created with missing disks. The attached script demonstrates this easily through loopback devices, but I see the problem just the same on real drives.

Quoted 7 lines

I do not see the problem with full RAID-6 arrays (no missing disks), nor do I see it on RAID-5 arrays on the same system. I haven't seen the corruption when writing directly to the md device, but I haven't tested that very much.

Tested on 2.6.6, 2.6.7, 2.6.8-rc2, with mdadm 1.5.0 and 1.6.0. See attached.

I will look at it.

-hpa