[linux-lvm] recovering volume group metadata - LVM volumes from FC5 disappeared in FC6 install
Patrick bakker
patrickbakker at gmail.com
Sun Nov 5 01:45:08 UTC 2006
Hi,
I originally posted a message to fedora-devel
(https://www.redhat.com/archives/fedora-devel-list/2006-October/msg00822.html)
detailing how I lost my LVM volume groups from FC5 (or earlier) while
installing FC6. The short version is I now have FC6 installed on
plain-old ext3 partitions and the volume groups from FC5 are untouched
since anaconda messed them up. Since /etc with the LVM backups was
part of the volume groups ... its no longer available. If I fdisk
/dev/hda I can still see the LVM partition:
> fdisk /dev/hda
> p
Device Boot Start End Blocks Id System
/dev/hda1 1 3648 29302528+ 5 Extended
/dev/hda2 3649 24792 169839180 8e Linux LVM
/dev/hda5 1 608 4883697 83 Linux
/dev/hda6 609 1216 4883728+ 83 Linux
/dev/hda7 1217 1824 4883728+ 83 Linux
/dev/hda8 1825 2432 4883728+ 83 Linux
/dev/hda9 2433 3040 4883728+ 83 Linux
/dev/hda10 * 3041 3053 104391 83 Linux
> pvscan -vvv
Finds nothing.
Is it possible to recreate the volume groups by hand somehow or search
through the partition for sectors that look like they belong to LVM
and fix things that way?
Patrick Bakker
More information about the linux-lvm
mailing list