linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@btconnect.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] pvmove with Bad bocks
Date: Sun Oct 21 09:55:02 2001	[thread overview]
Message-ID: <20011021155622.A9367@btconnect.com> (raw)
In-Reply-To: <20011021140746.B15468@vestdata.no>; from lvm@ragnark.vestdata.no on Sun, Oct 21, 2001 at 02:07:46PM +0200

On Sun, Oct 21, 2001 at 02:07:46PM +0200, Ragnar Kjxrstad wrote:
> On Sat, Oct 20, 2001 at 03:51:24PM +0200, Stonki wrote:
> > Hello list, Hello Heinz,
> > 
> > on Tuesday you explained me the function of moving data from one
> > hard disc to another.
> > Well, regarding to Murphies Law... pvmove complains about read errors
> > and stops before moving all data.
> > 
> > Error reading input physical volume /dev/hdf1 still 393216 bytes to
> > read).
> 
> If you browse the archive for the last month you will find a couple of
> threads on the subject.
> 
> I've posted a cruel patch to make pvmove ignore read-errors, and update
> the meta-data even if the sector is bad. (The extent will be moved to
> the other disk, but contain garbage). With this patch the behaviour is
> undefined when moving more than one PE. Other than that, I think it
> should work.
> 
> Others posted suggestions and possible some patches too - allthough
> there was no complete perfect solution, I think you should be able to
> make it work from the different tips submitted in the thread.

The first thing I would try is shrinking the filesystem and pv by one
extent.  If this works the pv move should now work ok.

- Joe

  reply	other threads:[~2001-10-21  9:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-20  8:52 [linux-lvm] pvmove with Bad bocks Stonki
2001-10-21  7:06 ` Ragnar Kjørstad
2001-10-21  9:55   ` Joe Thornber [this message]
2001-10-21 10:45     ` Re[2]: " Stonki
2001-10-21 11:42       ` [linux-lvm] shrink lvm without harddisk ? FEJF
2001-10-22  2:44         ` Heinz J . Mauelshagen
2001-10-21 12:34     ` Re[2]: [linux-lvm] pvmove with Bad bocks Stonki
2001-10-21 14:53       ` Joe Thornber
2001-10-21 15:42       ` Re[2]: " Ragnar Kjørstad
2001-10-21 15:50         ` Re[4]: " Stonki
2001-10-21 18:20           ` Ragnar Kjørstad

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=20011021155622.A9367@btconnect.com \
    --to=thornber@btconnect.com \
    --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;
as well as URLs for NNTP newsgroup(s).