All of lore.kernel.org
 help / color / mirror / Atom feed
From: "B. Dobalina" <bdobalina@hotmail.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] pvmove problem
Date: Thu Feb  6 17:27:02 2003	[thread overview]
Message-ID: <F1945ldnekJfv5qUWSG000090bf@hotmail.com> (raw)

I am trying to remove an old harddrive from one of my volumes using:
  pvmove -v /dev/hdh3
It was chugging along just find until about half way through when it froze. 
Linux was not "frozen", but I do not think it would allow any io to the 
block devices (logins, ls's, etc would stall). I waited about an hour, at 
which point it was still stuck on the same extent, and had no other option 
but to hard reboot. When the system was booted, the volume to which hdh3 
belonged, would no longer mount:

$ vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "vol1"
vgscan -- only found 2523 of 768 LEs for LV /dev/vol2/software (1)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get 
data of volume group "vol2" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume 
groups


Looks like some lvm metadata has been corrupted. So I ran vgcfgrestore on 
/dev/hdh3: same result. Then I ran it on all the PVs in vol2: same result. 
Does anybody have a solution to get this volume mounted? There is a bunch of 
data on vol2, but not all that much in /dev/hdh3, so a partial restore would 
be ok.

Thanks,
Skip


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

             reply	other threads:[~2003-02-06 17:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-06 17:27 B. Dobalina [this message]
2003-02-07  8:28 ` [linux-lvm] pvmove problem Heinz J . Mauelshagen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-07 11:51 B. Dobalina
2003-02-10  7:57 ` Heinz J . Mauelshagen
2003-02-10 12:29 B. Dobalina
2003-02-11  9:40 ` Heinz J . Mauelshagen
2003-06-04 10:57 Tim Randles
2003-06-05  5:45 ` Heinz J . Mauelshagen
2003-06-12  8:03   ` Tim Randles
2004-08-07 16:21 BK Box
2004-08-07 16:54 ` Alasdair G Kergon
2004-08-08 14:00   ` BK Box
2004-08-17 22:20   ` Alasdair G Kergon

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=F1945ldnekJfv5qUWSG000090bf@hotmail.com \
    --to=bdobalina@hotmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.