]>
Commit | Line | Data |
---|---|---|
5951ef33 | 1 | .TH VGCFGRESTORE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*- |
5a52dca9 AK |
2 | .SH NAME |
3 | vgcfgrestore \- restore volume group descriptor area | |
4 | .SH SYNOPSIS | |
5 | .B vgcfgrestore | |
6 | .RB [ \-d | \-\-debug ] | |
c63b155d ZK |
7 | .RB [ \-f | \-\-file |
8 | .RI < filename >] | |
9 | .RB [ \-l [ l ]| \-\-list ] | |
5a52dca9 | 10 | .RB [ \-h | \-\-help ] |
c63b155d ZK |
11 | .RB [ \-M | \-\-metadatatype |
12 | .IR 1 | 2 ] | |
5a52dca9 AK |
13 | .RB [ \-t | \-\-test ] |
14 | .RB [ \-v | \-\-verbose ] | |
1471bc87 | 15 | .RI \fIVolumeGroupName\fP |
5a52dca9 | 16 | .SH DESCRIPTION |
c63b155d ZK |
17 | vgcfgrestore allows you to restore the metadata of \fIVolumeGroupName\fP |
18 | from a text backup file produced by \fBvgcfgbackup\fP. | |
19 | You can specify a backup file with \fB\-\-file\fP. | |
20 | If no backup file is specified, the most recent | |
21 | one is used. Use \fB\-\-list\fP for a list of the available | |
817afaad | 22 | backup and archive files of \fIVolumeGroupName\fP. |
5a52dca9 | 23 | .SH OPTIONS |
c63b155d | 24 | See \fBlvm\fP(8) for common options. |
1471bc87 | 25 | .TP |
c63b155d ZK |
26 | .BR \-l ", " \-\-list\fP |
27 | List files pertaining to \fIVolumeGroupName\fP | |
1471bc87 | 28 | List metadata backup and archive files pertaining to \fIVolumeGroupName\fP. |
c63b155d | 29 | May be used with the \fB\-f\fP option. Does not restore \fIVolumeGroupName\fP. |
1471bc87 | 30 | .TP |
c63b155d ZK |
31 | .BR \-f ", " \-\-file " " \fIfilename |
32 | Name of LVM metadata backup file | |
1471bc87 DW |
33 | Specifies a metadata backup or archive file to be used for restoring |
34 | VolumeGroupName. Often this file has been created with \fBvgcfgbackup\fP. | |
eeae3378 | 35 | .SH REPLACING PHYSICAL VOLUMES |
c63b155d | 36 | \fBvgdisplay \-\-partial \-\-verbose\fP will show you the UUIDs and sizes of |
eeae3378 AK |
37 | any PVs that are no longer present. |
38 | If a PV in the VG is lost and you wish to substitute | |
39 | another of the same size, use | |
c63b155d | 40 | \fBpvcreate \-\-restorefile filename \-\-uuid uuid\fP (plus additional |
eeae3378 AK |
41 | arguments as appropriate) to initialise it with the same UUID as |
42 | the missing PV. Repeat for all other missing PVs in the VG. | |
c63b155d | 43 | Then use \fBvgcfgrestore \-\-file filename\fP to restore the volume |
eeae3378 | 44 | group's metadata. |
5a52dca9 AK |
45 | .SH SEE ALSO |
46 | .BR lvm (8), | |
47 | .BR vgcreate (8) |