diff options
author | Alasdair Kergon <agk@redhat.com> | 2008-10-08 12:50:13 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2008-10-08 12:50:13 +0000 |
commit | 5951ef331af40743f368401afc091467513e3a07 (patch) | |
tree | 99cf242f24fb629e50ecca8551ed10f9aaef18dd /man/vgcfgrestore.8.in | |
parent | 68f2de6d4ae2bccc596a97b020c253186110ed36 (diff) | |
download | lvm2-5951ef331af40743f368401afc091467513e3a07.tar.gz lvm2-5951ef331af40743f368401afc091467513e3a07.tar.xz lvm2-5951ef331af40743f368401afc091467513e3a07.zip |
Generate man pages from templates and include version. (romster)
Diffstat (limited to 'man/vgcfgrestore.8.in')
-rw-r--r-- | man/vgcfgrestore.8.in | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/man/vgcfgrestore.8.in b/man/vgcfgrestore.8.in new file mode 100644 index 00000000..c62c8133 --- /dev/null +++ b/man/vgcfgrestore.8.in @@ -0,0 +1,44 @@ +.TH VGCFGRESTORE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*- +.SH NAME +vgcfgrestore \- restore volume group descriptor area +.SH SYNOPSIS +.B vgcfgrestore +.RB [ \-d | \-\-debug ] +.RB [ \-f | \-\-file " filename" ] +.RB [ \-l[l] | \-\-list ] +.RB [ \-h | \-\-help ] +.RB [ \-M | \-\-Metadatatype 1|2] +.RB [ \-t | \-\-test ] +.RB [ \-v | \-\-verbose ] +.RI \fIVolumeGroupName\fP +.SH DESCRIPTION +.B vgcfgrestore +allows you to restore the metadata of \fIVolumeGroupName\fP from a text +backup file produced by \fBvgcfgbackup\fP. You can specify a backup file +with \fP--file\fP. If no backup file is specified, the most recent +one is used. Use \fB--list\fP for a list of the available +backup and archive files of \fIVolumeGroupName\fP. +.SH OPTIONS +.TP +\fB-l | --list\fP \(em List files pertaining to \fIVolumeGroupName\fP +List metadata backup and archive files pertaining to \fIVolumeGroupName\fP. +May be used with the \fB-f\fP option. Does not restore \fIVolumeGroupName\fP. +.TP +\fB-f | --file\fP filename \(em Name of LVM metadata backup file +Specifies a metadata backup or archive file to be used for restoring +VolumeGroupName. Often this file has been created with \fBvgcfgbackup\fP. +.TP +See \fBlvm\fP for common options. +.SH REPLACING PHYSICAL VOLUMES +\fBvgdisplay --partial --verbose\fP will show you 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 +\fBpvcreate --restorefile filename --uuid uuid\fP (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 \fBvgcfgrestore --file filename\fP to restore the volume +group's metadata. +.SH SEE ALSO +.BR lvm (8), +.BR vgcreate (8) |