Skip to contentSkip to conversation

recovering volume group metadata - LVM volumes from FC5 disappeared in FC6 install

linux-lvm Patrick bakker 1 participant 1 message Nov 5, 2006

lore
Share & tools
lore
#0 lore raw

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:

Quoted 2 lines

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
Quoted 1 line

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