linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Removing a very old physical drive
Date: Mon, 26 Oct 2009 14:17:10 -0700	[thread overview]
Message-ID: <20091026211710.GA29404@us.ibm.com> (raw)
In-Reply-To: <1256589236.27439.2.camel@elm.bottlehall.co.uk>

Nicholas Robinson [npr@bottlehall.co.uk] wrote:
> Help!
> 
> I did the pvremove command and everything seemed fine. I carried on
> working on the first question and tried to do the pvmove
> 
> Immediately the machine hung and when I try to reboot, it finds the boot
> partition and begins the boot, but then hangs with a blank screen and
> top-left cursor. Occasionally, I can stop it with some messages about
> dm-1 and logical block 0 to 8 missing.

Culprit seems to be pvmove. Get a liveCD and try to activate the VG and
see if you can mount the LV. You can read of the LVM metadata from the
disk partitions (PVs). This is really sad and you need lot more LVM
expertise to fix things.
 
> I wonder if the pvremove over-wrote something important on the other
> partition as it had an incorrect view of the size of the sda1?

Even if pvremove tries to write something beyond /dev/sda1's size, the
write would fail. It can't do anything other than writing to /dev/sda1.
In other words, it can't mess with /dev/sda2.

  reply	other threads:[~2009-10-26 21:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26  8:59 [linux-lvm] Removing a very old physical drive Nicholas Robinson
2009-10-26 13:09 ` Matthew Gillen
2009-10-26 16:10 ` malahal
2009-10-26 19:29   ` Nicholas Robinson
2009-10-26 19:54     ` malahal
2009-10-26 20:33   ` Nicholas Robinson
2009-10-26 21:17     ` malahal [this message]
2009-10-26 18:32 ` Ray Morris
     [not found] <7vgn6o$494l6v@smtpout.karoo.kcom.com>
2009-10-27  0:20 ` malahal

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=20091026211710.GA29404@us.ibm.com \
    --to=malahal@us.ibm.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).