undo vgremove

From: Ben K. (ben9coder@gmail.com)
Date: Mon Sep 18 2006 - 16:49:48 EDT


Dear managers,

This is about lvm.

I had a disk, say /dev/sdb on lvm. Did pvcreate, vgcreate and lvcreate to
get something like /dev/VolGroup01/LogVol10.
lvdisplay had:
  LV Name /dev/VolGroup01/LogVol10
  VG Name VolGroup01

Later unmounted it, and removed the lv using
    lvremove VolGroup01/LogVol10
Then I did vgremove, which removed the volgroup and physical volume.

Now, somehow it became important to get the data back, so I did pvcreate on
the disk again thinking it might reconnect the disk to the old lv. But
apparently this was very stupid. I'm afraid I just emptied the partition
table.

I'm not familiar with this lvm, so wanted to get help. Is it possible to get
the data back? The disk was not used since it was removed, except that
pvcreate was run on it.

When I looked at it using fdisk, expert mode, the partition table seemed
all 0. Probably the partition table is completely gone, but I'm hoping the
data is there.

I would really appreciate any help.

Thanks.
Ben
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:49 EDT