Re: Disk I/O error while rebuilding an md raid-5 array

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

 



On Mon, 8 Feb 2010, Dawning Sky wrote:

Thanks for the good advice.  ddrescue on sdb returned an error of 4kB.
I do still have my old sde.  But one thing I did, which was stupid,
was trying to rebuild the raid-5 when it was mounted.  So I don't know
the old sde is still consistent with the rest 3 disks, since some
files would have been modified between the times when I took the old
sde offline and when the rebuild failed.

Please see the threads I have initiated the past 2-3 weeks, I had the exact same problem.

What you should do is just put in your new cloned drive, make sure it runs fine with 3 drives, and then start the rebuild with the drive that you were resyncing to. I've done this numerous times, and my experience says you will only have lost those 4 kilobytes of data that ddrescue couldn't read.

I'm now happily at RAID6 after doing a re-shape from 6 drive raid5-> 8 drive raid6, change of SATA cables and a new marvell 8channel controller... No more read timeouts anyway, and I should be better protected from single read errors like you are having.

--
Mikael Abrahamsson    email: swmike@xxxxxxxxx
--
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