[linux-lvm] Unusable VG after a failed pvmove
Jure Simsic
jure.simsic at literal.si
Wed Jan 29 07:15:02 UTC 2003
Hi all,
Last time I had some warnings about IDE error which indicated that one of
my disks is starting to fail. So i bought a new one and tried to *pvmove*
the stuff from that disk to a new one.After pvmoving for a while, I got:
pvmove -- ERROR reading input physical volume "/dev/hda2" (still 786432
bytes to readpvmove -- ERROR "pv_move_pe(): read input PV" pv_move_pe
pvmove -- ERROR "pv_move_pe(): read input PV" moving physical extends
and the thing stopped. After a couple of minutes, my computer froze
completely (no kbd, no network) - something one knows more from M$ world -
so there was nothing else to do than to power off/on..
When it started, all went ok, untill the LVM part. Then I got this:
vgscan -- found inactive volume group "vg0"
vgscan -- only found 1033 of 1070 LEs for LV /dev/vg0/usr (0)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
data of volume group "vg0" from physical volume(s)vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
"/etc/lvmtab" and "/etc/lvmtab.d"
vgchange -- no volume groups found
So I'm stuck with / only, my /usr and /home are gone.
If it maters at all, I used to run reiserfs on /usr and /home...
Is there any way I can try to recover from this?
Thanks for any help
Jure
vgscan --
More information about the linux-lvm
mailing list