[linux-lvm] Big question ...
Bryn M. Reeves
breeves at redhat.com
Wed Nov 22 23:10:04 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martial Paupe wrote:
> Hello Bryn,
>
> On Wednesday 22 November 2006 23:29, Bryn M. Reeves wrote:
> I think that you speak about LVM2. I use RHES 3.5 and the version of lvm are
> lvm-1.0.8-14.
>
Yes, I was referring to LVM2. LVM1 doesn't have the --removemissing flag
to vgreduce.
By default LVM1 should make a backup of the volume group metadata before
the vgextend command adds a new PV- it's worth checking /etc/lvmconf to
see if you can restore the old metadata.
Use vgcfgrestore -f <file> -n <vgname> -ll to see the physical & logical
volumes in the backups and restore from the last good one (only the
metadata is restored - data in the LVs remains unchanged).
See the man page for vgcfgbackup/vgcfgrestore for more details.
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFFZNjM6YSQoMYUY94RAl+BAJ9Uk4x6vBPyd3t/yNRn5dsKF1+DSQCg1n4r
LV8bL4p55bumwzSbmQXunok=
=RPre
-----END PGP SIGNATURE-----
More information about the linux-lvm
mailing list