Re: Content Of Files May Be Changed After One Disk Is Failed In RAID5

clplayer
2012-09-07T06:30:58Z

> --assume-clean is not safe with RAID5 unless the array actually is clean.
> It is safe with RAID1 and RAID6 due to details of the specific implementation.
> So I suspect that is the cause of the corruption.
>
> NeilBrown
>

Thank you for the information.

I have removed --assume-clean in the script and executed the stress
after that raid5 completed resync.

The files are all consistent in the rest tests.

I am now wondering, what's different between the implementation of
raid5 algorithm and of raid6 algorithm?

Would you please suggest some hints in the implementation?

Thank you,
Peng.