[linux-lvm] Partitiontable destroyed with gentoo installer

Thomas Scheller thomas.scheller at email.de
Thu Sep 7 19:24:45 UTC 2006


if someone is interested in the solution of this issue, have a look at:

Best regards

> -----Ursprüngliche Nachricht-----
> Von: LVM general discussion and development <linux-lvm at redhat.com>
> Gesendet: 02.09.06 23:27:59
> An: linux-lvm at redhat.com
> Betreff: [linux-lvm] Partitiontable destroyed with gentoo installer

> Hi,
> I have a 250GB harddisk. I used the whole disk as a PV.
> # pvcreate /dev/hdb
> and did create a volume group
> vgcreate vg_250GB /dev/hdb
> and 2 logical volumes
> lv_old_system with 50GB
> and
> lv_storage with the rest of the disk
> then I did copy all the data from the old harddisk to lv_old_system.
> With the Gentoo live CD I did then install gentoo linux to the old harddrive.
> The gentoo installer did delete the partitiontable on all connected harddrives :-(
> So my logicalvolumes are not available anymore.
> But vgchange shows that lv_old_system is somehow still available. Can you help me please, to recover that volume?
> As I did create the logical volume with the old SuSE 8 installation, which I did overwrite with the gentoo installation, I do not have the metadata backup in /etc :-(
> thinkpad ~ # vgchange -v -ay vg_250GB
>     Using volume group(s) on command line
>     Finding volume group "vg_250GB"
>   Logical volume (lv_old_system) contains an incomplete mapping table.
>     Wiping cache of LVM-capable devices
>   Logical volume (lv_old_system) contains an incomplete mapping table.
>   Volume group "vg_250GB" not found
> thinkpad ~ # 
> Thank you in advance
>     Thomas
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

More information about the linux-lvm mailing list