]> sourceware.org Git - lvm2.git/blame - man/vgcfgrestore.8.in
Refer to details of snapshot of raid problem.
[lvm2.git] / man / vgcfgrestore.8.in
CommitLineData
5951ef33 1.TH VGCFGRESTORE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
5a52dca9
AK
2.SH NAME
3vgcfgrestore \- 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
17vgcfgrestore allows you to restore the metadata of \fIVolumeGroupName\fP
18from a text backup file produced by \fBvgcfgbackup\fP.
19You can specify a backup file with \fB\-\-file\fP.
20If no backup file is specified, the most recent
21one is used. Use \fB\-\-list\fP for a list of the available
817afaad 22backup and archive files of \fIVolumeGroupName\fP.
5a52dca9 23.SH OPTIONS
c63b155d 24See \fBlvm\fP(8) for common options.
1471bc87 25.TP
c63b155d
ZK
26.BR \-l ", " \-\-list\fP
27List files pertaining to \fIVolumeGroupName\fP
1471bc87 28List metadata backup and archive files pertaining to \fIVolumeGroupName\fP.
c63b155d 29May be used with the \fB\-f\fP option. Does not restore \fIVolumeGroupName\fP.
1471bc87 30.TP
c63b155d
ZK
31.BR \-f ", " \-\-file " " \fIfilename
32Name of LVM metadata backup file
1471bc87
DW
33Specifies a metadata backup or archive file to be used for restoring
34VolumeGroupName. 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
37any PVs that are no longer present.
38If a PV in the VG is lost and you wish to substitute
39another of the same size, use
c63b155d 40\fBpvcreate \-\-restorefile filename \-\-uuid uuid\fP (plus additional
eeae3378
AK
41arguments as appropriate) to initialise it with the same UUID as
42the missing PV. Repeat for all other missing PVs in the VG.
c63b155d 43Then use \fBvgcfgrestore \-\-file filename\fP to restore the volume
eeae3378 44group's metadata.
5a52dca9
AK
45.SH SEE ALSO
46.BR lvm (8),
47.BR vgcreate (8)
This page took 0.077317 seconds and 5 git commands to generate.