[mythtv-users] Rebuild raid array ? [SOLVED]

John Drescher drescherjm at gmail.com
Fri Nov 26 01:47:54 UTC 2010


> Now once again, mdadm shows 4 drives out of 6, and now the evens
> number between all disks do not match..
>
> Luckily doing a reassemble with ---force allowed to put the array
> together, didn't seem to have lost any files in the process..
>
> so in all, md is pretty amazing ... even in the worse case conditions
> it gives you way to recover most of it.. Certainly wouldn't have had
> this flexibility with a hardware RAID for sure..
>

Its probably too late but after/during the reassemble you can do a cat
/sys/block/mdX/md/mismatch_cnt  and see if that is non zero. That
tells you how many blocks were mismatched when rebuilding.

John


More information about the mythtv-users mailing list