[linux-lvm] LVM2: vgcfgrestore lvm behavior

Bryn M. Reeves breeves at redhat.com
Mon Nov 27 20:17:47 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerry Reno wrote:
> Is there some undocumented syntax change for vgcfgrestore under LVM2?
> 
> According to the man page it should work the way I am using it.
> 
> ??:(
> 
> 

Hi Gerry,

Under LVM2, the --file option is only used when you are actually
restoring metadata. For example:

vgcfgrestore --file /tmp/vg0_backup.vg vg0

Would restore the vg0 volume group's metadata from /tmp/vg0_backup.vg.

Currently, -l and -ll will only look at the backups in the
/etc/lvm/archive directory.

Regards,
Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFa0fq6YSQoMYUY94RAsPhAJ9xRBkcU5Z59zBBp7Vlk4F+9D/7KgCfb+0p
5VIEC7yyu5pglNZJQBWip/w=
=9L+j
-----END PGP SIGNATURE-----




More information about the linux-lvm mailing list