Show Table of Contents
5.3.13. Backing Up Volume Group Metadata
Metadata backups and archives are automatically created on every volume group and logical volume configuration change unless disabled in the
lvm.conffile. By default, the metadata backup is stored in the
/etc/lvm/backupfile and the metadata archives are stored in the
/etc/lvm/archivesfile. You can manually back up the metadata to the
/etc/lvm/backupfile with the
vgcfrestorecommand restores the metadata of a volume group from the archive to all the physical volumes in the volume groups.
For an example of using the
vgcfgrestorecommand to recover physical volume metadata, see Section 7.4, “Recovering Physical Volume Metadata”.