Eric M. Hopper wrote: >I actually quite agree. Here are a few points: > >o A PE is typically less than 0.01% of my total disk space. I just have the same problem on a 300GB volume and some bad sectors. The relative amount of a lost PE might be small, but it is still 64Mb, which are 131072 lost sectors for each (512byte) bad one :(- Up to now, I could solve the problem by running the IBM-DFT tool to replace bad sectors.(http://www.hgst.com/hdd/support/download.htm) If this succeed, the secor was blank, but readable. After running an fsck I even may verify if any file content was damaged by asking debugfs. Unfortunately the "sector-repair" failed this time :-( What I need instead would be a hack that simply turns a bad sector into an empty sector. This could best be implemented at lowest level when reading single sectors, before buildings blocks (=> 4K == 8 sectors affected). This could be something like a hdparm option. But still reporting such events to syslog could be helpful. >o Corruption on a drive tends to spread, especially if sectors near the >corruption are accessed frequently, so it's best to avoid a whole >section of a drive around a bad spot. Therefore it would be good, if the system will not retry to read a broken sector again and again and again, as done by now 8 times for each 4k block plus n times by all the read-ahed attempts. Dieter. -- Dieter Stüken, con terra GmbH, Münster stueken@conterra.de http://www.conterra.de/ (0)251-7474-501 _______________________________________________ linux-lvm mailing list linux-lvm@sistina.com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/