Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Re: How to handle Bad Block relocation with LVM?  I actually quite agree.  Here are a few points:  o A PE is typically less than 0.01% of my total disk space.  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.  o In general, I would want to throw away a drive that had so many bad sectors that it's firmware relocation software could no longer handle them.  So, my main purpose in relocating the PE is to recover as much data from it as I can before junking the drive.
@ 2003-02-20 12:36 Dieter Stueken
  0 siblings, 0 replies; only message in thread
From: Dieter Stueken @ 2003-02-20 12:36 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-20 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-20 12:36 [linux-lvm] Re: How to handle Bad Block relocation with LVM? I actually quite agree. Here are a few points: o A PE is typically less than 0.01% of my total disk space. 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. o In general, I would want to throw away a drive that had so many bad sectors that it's firmware relocation software could no longer handle them. So, my main purpose in relocating the PE is to recover as much data from it as I can before junking the drive Dieter Stueken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox