From: "Stuart D. Gathman" <stuart@bmsi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Pvmove Cannot Be Aborted
Date: Thu, 5 Jul 2007 12:41:13 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0707051234061.8628-100000@bmsred.bmsi.com> (raw)
In-Reply-To: <20070704140438.8BE0177702@mail.futurelabusa.com>
On Wed, 4 Jul 2007, Jim Schatzman wrote:
> I made the mistake of trying to use pvmove to move any good data from a bad
> disk to a new identical good disk in an LV. Unfortunately, the Pvmove failed
> in midoperation. It cannot now be aborted, presumably because of the bad
> disk.
I've noticed that LVM has big problems handling partially failed drives.
I think this is largely due to the difficulty of testing. It is simple
enough to simulate completely failed drives. I've tested this by disconnecting
the power from a drive while the system is running (I'm sure there are
safer ways.) However, a partially failed drive (lots of bad sectors) is
another matter.
I wish there was a SMART command to a drive that would tell it to pretend a
range of sectors is bad until further notice (without actually remapping said
sectors). This would be a great help is debugging the error handling of things
like LVM. In fact, maybe there already is such a feature in SMART, and
it just isn't widely known.
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
next prev parent reply other threads:[~2007-07-05 16:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-04 14:05 [linux-lvm] Pvmove Cannot Be Aborted Jim Schatzman
2007-07-05 16:41 ` Stuart D. Gathman [this message]
2007-07-05 16:47 ` [linux-lvm] Debugging partial drive failure Stuart D. Gathman
2007-07-07 11:05 ` Nix
2007-07-05 16:53 ` [linux-lvm] Pvmove Cannot Be Aborted Richard van den Berg
2007-07-06 0:12 ` Jim Schatzman
2007-07-06 4:55 ` [linux-lvm] lv with cmirror Michael Eisenkölbl / FIS
2007-07-10 14:51 ` Jonathan Brassow
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=Pine.LNX.4.44.0707051234061.8628-100000@bmsred.bmsi.com \
--to=stuart@bmsi.com \
--cc=linux-lvm@redhat.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).