[linux-lvm] Recovering LVM partition after OS reinstallation

hanocri hanocri at gmail.com
Fri Sep 12 09:48:14 UTC 2008

After root filesystem failure my "/" was all messed up so i had to
install system from scratch (Debian Unstable). /home is on separate
LVM partition and (i hope so) intact. However pvscan and vgscan gives
no result. According to fdisk partition is marked as "8e  Linux LVM".
I have LVM metadata backup which you can find here:
At line 23 there is: 'device = "/dev/dm-7"    # Hint only ', but there
is no such device as /dev/dm-7. I think it should be rather /dev/dm-6
(I'm using dmraid), again according to fdisk - the size and type is
Should I change dm-7 into dm-6 or simply ignore it and do
vgcfgrestore? And what does ' #Hint only' mean? Or maybe there is
other way to recover LVM config?

Thanks for any help.

Regards, Grzegorz R.

More information about the linux-lvm mailing list