mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Ahlberg <aliz@telia.com>
To: linux-lvm@sistina.com, linux-kernel@vger.kernel.org
Subject: Moving LVM data off a bad disk
Date: Mon, 5 Aug 2002 12:49:58 +0200	[thread overview]
Message-ID: <200208051249.58901.aliz@telia.com> (raw)

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


                 reply	other threads:[~2002-08-05 10:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200208051249.58901.aliz@telia.com \
    --to=aliz@telia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®