1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00
lvm2/man/vgcfgrestore.8

33 lines
1.1 KiB
Groff
Raw Normal View History

2002-11-18 17:04:08 +03:00
.TH VGCFGRESTORE 8 "LVM TOOLS" "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 ]
2002-11-18 17:04:08 +03:00
.RB [ \-h | \-\-help ]
.RB [ \-M | \-\-Metadatatype 1|2]
.RB [ \-t | \-\-test ]
.RB [ \-v | \-\-verbose ]
.RI VolumeGroupName
2002-11-18 17:04:08 +03:00
.SH DESCRIPTION
.B vgcfgrestore
allows you to restore the metadata
of a volume group from a text backup file produced by \fBvgcfgbackup\fP.
2002-11-18 17:04:08 +03:00
.SH OPTIONS
See \fBlvm\fP for common options.
2002-12-03 16:25:09 +03:00
.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.
2002-11-18 17:04:08 +03:00
.SH SEE ALSO
.BR lvm (8),
.BR vgcreate (8)