Recovering an lvm partition
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Howdy List,
An unnamed person was trying to learn LVM and add storage capacity to
my fileserver while I was gone and messed up the partition a bit. Doing
a vgdisplay vg_name would cause it to error out about a missing device.
(The new drive had been repartitioned after being added with
vgextend. :-/)
I managed to fix that part of it, eventually, using vgreduce
- --removemissing vg_name. However, now lvdisplay shows that there is no
logical volume on that vg. Nothing has been done to erase the
filesystem and data, so I am hoping I can recover it. But before I
simply do an lvcreate and try to get the same settings it had
previously, does anyone know of something like vgcfgrestore that would
restore the lv from the /etc/lvm/vg_name00000.log config file?
TIA,
Jacob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGWu7QkpJ43hY3cTURAmxDAKDKiBQzHSNf9JbwSHFd76cx4aqHOgCeLUsH
Bw2ZEc4sZGupJQherjcNVso=
=iBCT
-----END PGP SIGNATURE-----
Reply to: