Re: RAID-6 mdadm disks out of sync issue (long e-mail)

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

 



On Wed, June 10, 2009 6:52 pm, linux-raid.vger.kernel.org@xxxxxxxxxxx wrote:
>
> Hello Linux-RAID mailing list.
>
> Any help from those with more knowledge than myself would
> be greatly appreciated.

I strongly suspect that you can get all your data back.

The arrays are not currently active (/proc/mdstat shows "inactive")
so nothing is going to write to them.  You can reboot without any
concern on that point.

Your priority has to be to sort out the read errors on those drives.
Whether you have to change cables or controller or whatever, and
reboot as often as you like: just get the drives in a state where
you can reliably read from them.  Don't perform any further mdadm
commands until you have achieved that.

Once you are sure you have the 6 drives with the highest event counts
working, assemble them with
   mdadm --assemble /dev/md13 --force /dev/sd?1

and you will almost certainly have a working (though degraded) array.
Then, if you are confident that the other drives are working, add
them with
   mdadm /dev/md13 --add /dev/sdwhatever

Good luck.

NeilBrown

--
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