vgcfgrestore (8) - Linux Manuals
vgcfgrestore: Restore volume group configuration
NAME
vgcfgrestore - Restore volume group configuration
SYNOPSIS
vgcfgrestore option_args position_args
A back up file can be specified with --file. If no backup file is
specified, the most recent one is used. Use --list for a list of
the available back up and archive files of a VG.
WARNING: When a VG contains thin pools, changes to thin metadata cannot be
reverted, and data loss may occur if thin metadata has changed. The force
option is required to restore in this case.
vgcfgrestore VG
Restore VG metadata from specified file.
vgcfgrestore -f|--file String VG
List all VG metadata backups.
vgcfgrestore -l|--list VG
List one VG metadata backup file.
vgcfgrestore -l|--list -f|--file String
Common options for command:
Common options for lvm:
To replace PVs, vgdisplay --partial --verbose will show the
UUIDs and sizes of any PVs that are no longer present. If a PV in the VG
is lost and you wish to substitute another of the same size, use
pvcreate --restorefile filename --uuid uuid (plus additional
arguments as appropriate) to initialise it with the same UUID as the
missing PV. Repeat for all other missing PVs in the VG. Then use
vgcfgrestore --file filename to restore the VG's metadata.
lvm(8)
lvm.conf(5)
lvmconfig(8)
pvchange(8)
pvck(8)
pvcreate(8)
pvdisplay(8)
pvmove(8)
pvremove(8)
pvresize(8)
pvs(8)
pvscan(8)
vgcfgbackup(8)
vgcfgrestore(8)
vgchange(8)
vgck(8)
vgcreate(8)
vgconvert(8)
vgdisplay(8)
vgexport(8)
vgextend(8)
vgimport(8)
vgimportclone(8)
vgmerge(8)
vgmknodes(8)
vgreduce(8)
vgremove(8)
vgrename(8)
vgs(8)
vgscan(8)
vgsplit(8)
lvcreate(8)
lvchange(8)
lvconvert(8)
lvdisplay(8)
lvextend(8)
lvreduce(8)
lvremove(8)
lvrename(8)
lvresize(8)
lvs(8)
lvscan(8)
lvm-fullreport(8)
lvm-lvpoll(8)
lvm2-activation-generator(8)
blkdeactivate(8)
lvmdump(8)
dmeventd(8)
lvmpolld(8)
lvmlockd(8)
lvmlockctl(8)
cmirrord(8)
lvmdbusd(8)
lvmsystemid(7)
lvmreport(7)
lvmraid(7)
lvmthin(7)
lvmcache(7)
-d|--debug
-f|--file String
-h|--help
-l|--list
-M|--metadatatype lvm2
-q|--quiet
-t|--test
-v|--verbose
-y|--yes
DESCRIPTION
vgcfgrestore restores the metadata of a VG from a text back up file
produced by vgcfgbackup. This writes VG metadata onto the devices
specifed in back up file.
USAGE
Restore VG metadata from last backup.
-
-
-
-
[ --force ]
[ -h|--help ]
[ -q|--quiet ]
[ -t|--test ]
[ -v|--verbose ]
[ -y|--yes ]
[ --commandprofile String ]
[ --config String ]
[ --driverloaded y|n ]
[ --lockopt String ]
[ --longhelp ]
[ --nolocking ]
[ --profile String ]
[ --version ]
OPTIONS
VARIABLES
ENVIRONMENT VARIABLES
See lvm(8) for information about environment variables used by lvm.
For example, LVM_VG_NAME can generally be substituted for a required VG parameter.
NOTES
SEE ALSO