1VGCFGRESTORE(8) System Manager's Manual VGCFGRESTORE(8)
2
3
4
6 vgcfgrestore - restore volume group descriptor area
7
9 vgcfgrestore [-d|--debug] [-f|--file filename] [-l[l]|--list]
10 [-h|--help] [-M|--Metadatatype1|2] [-t|--test] [-v|--verbose] Vol‐
11 umeGroupName
12
14 vgcfgrestore allows you to restore the metadata of VolumeGroupName from
15 a text backup file produced by vgcfgbackup. You can specify a backup
16 file with --file. If no backup file is specified, the most recent one
17 is used. Use --list for a list of the available backup and archive
18 files of VolumeGroupName.
19
21 -l | --list — List files pertaining to VolumeGroupName
22 List metadata backup and archive files pertaining to Vol‐
23 umeGroupName. May be used with the -f option. Does not restore
24 VolumeGroupName.
25
26 -f | --file filename — Name of LVM metadata backup file
27 Specifies a metadata backup or archive file to be used for
28 restoring VolumeGroupName. Often this file has been created
29 with vgcfgbackup.
30
31 See lvm for common options.
32
34 vgdisplay --partial --verbose will show you the UUIDs and sizes of any
35 PVs that are no longer present. If a PV in the VG is lost and you wish
36 to substitute another of the same size, use pvcreate --restorefile
37 filename --uuid uuid (plus additional arguments as appropriate) to ini‐
38 tialise it with the same UUID as the missing PV. Repeat for all other
39 missing PVs in the VG. Then use vgcfgrestore --file filename to
40 restore the volume group's metadata.
41
43 lvm(8), vgcreate(8)
44
45
46
47Sistina Software UK LVM TOOLS 2.02.84(2) (2011-02-09) VGCFGRESTORE(8)