Re: time limited error recovery and md raid

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

 



Justin Piszcz wrote:

when tler is on, why does linux not attempt to remap the sector?
See my earlier posts on this question from last week. It would need a metadata section on each HDD to keep track of the bad sectors before it writes to the drives, a 3ware card will do this for you-- however, typically, (having run md/linux) for a number of years is not super-necessary if you run checks on your disks once a week *AND* you have good drives that don't have problems.


From what I know, md does attempt to repair read errors (but not other ones though) with rewrite, and only if it fails, it will kick the drive out of the array. In case of 1.x superblocks, the count of repaired (+ ones not causing drive to be kicked off) sectors will be preserved across reboots as well (check Documentation/md.txt). Peeking over the code seems to confirm it as well.

It was on Neil's todo list, and it got implemented a while ago, afaik. There was a short discussion on smartmon mailing list recently:

http://sourceforge.net/mailarchive/forum.php?thread_name=VA.00003465.16ed4a93%40news.conactive.com&forum_name=smartmontools-support

There was no 100% answer there either though.

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