Am Donnerstag 24 November 2005 23:50 schrieb Josef Whiter: > Matthias Meyer wrote: > >And now I'm not sure how to gain access again. > > > >Should I try to restore metadata with vgcfgrestore? > >Is it possible that I lost my data if I try vgcfgrestore? > > > >Or should I create a new Volume group and include the device /dev/hdd1 > > to this VG? If I do this, what the way to delete volume group LVM2? > > > >Thanks in advance > >Matthias > > Hello, > > I'm not sure what the best way to go about fixing this problem is, but a > vgcfgrestore shouldn't harm your data, it basically just writes over a > section of your disk that was already being used by the LVM data > anyway. Hope that helps. > > Josef vdr:~# vgcfgrestore -n LVM2 /dev/hdd1 -b 2 vdr:~# vgchange -ay vgchange -- volume group "LVM" already active vgchange -- volume group "LVM2" successfully activated vdr:~# mount /dev/LVM2/Media /Media and my logical volume is online again. Thanks for making me courage ;-) -- Don't Panic _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/