linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Moving LVM data off a bad disk
@ 2002-08-05 10:49 Daniel Ahlberg
  0 siblings, 0 replies; only message in thread
From: Daniel Ahlberg @ 2002-08-05 10:49 UTC (permalink / raw)
  To: linux-lvm, linux-kernel

Hi,

Recently one of my harddisks began to develop bad sectors. I decided to add a 
another disk to replace the disk and run pvmove -i to salvgage as much as 
possible to the spare disk. But, the process takes seems to take ages. For 
every bad sector pvmove encounters it takes 5 seconds for the kernel to 
timeout and move on to the next sector. Some calculation would tell me that 
it would take approx 6 years to go through the rest of the disk.

So, is there any way to speed up this? I was thinking in the ways of reducing 
the 5 second timeout or having the disk driver simply skip the bad sectors.

These are the errors I get:

Aug  4 00:01:31 springbird kernel: hdc: dma_intr: status=0x51 { DriveReady 
SeekComplete Error }
Aug  4 00:01:31 springbird kernel: hdc: dma_intr: error=0x40 { 
UncorrectableError }, LBAsect=34880281, sector=34880218
Aug  4 00:01:31 springbird kernel: end_request: I/O error, dev 16:01 (hdc), 
sector 34880218
Aug  4 00:01:36 springbird kernel: hdc: dma_intr: status=0x51 { DriveReady 
SeekComplete Error }
Aug  4 00:01:36 springbird kernel: hdc: dma_intr: error=0x40 { 
UncorrectableError }, LBAsect=34880283, sector=34880220
Aug  4 00:01:36 springbird kernel: end_request: I/O error, dev 16:01 (hdc), 
sector 34880220


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

only message in thread, other threads:[~2002-08-05 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-05 10:49 Moving LVM data off a bad disk Daniel Ahlberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).