[linux-lvm] One PV destroyed - now the whole VG isn't working anymore

Sebastian Beneke sebastian at beneke-it.de
Sat Nov 1 07:27:02 UTC 2003


Hi there,

i've got a really big problem. My VG "storage" consists of two PVs:
/dev/hdc (120GB full) and /dev/hde (160GB, 40 GB free). Now /dev/hde
was destroyed by"dd if=/dev/zero of=/dev/diskname bs=1k count=1"

I did these steps until now:

1.) copy back my old files: /etc/lvmconf/ /etc/lvmtab
/etc/lvmtab.d/

2.) take a new hdd (same type and size as my old /dev/hde)

3.) pvcreate /dev/hde

4.) vgcfgrestore -f /etc/lvmconf/storage.conf -n storage /dev/hde

===> This gave me following error: vgcfgrestore -- ERROR
"vg_cfgrestore(): pv_check_consistency" restoring volume group
"storage"

So just replacing the old disk doesn't work for me. I gave it up. But
there are still 120GB of data on /dev/hdc, is there any way I can
rescue this data? It hurts enough to lose 100GB, but I couldn't take
it to lose another 120GB!

I hope anybody can help me out here!


Best Regards
Sebastian




More information about the linux-lvm mailing list