]> sourceware.org Git - lvm2.git/blob - man/vgconvert.8.in
spacing
[lvm2.git] / man / vgconvert.8.in
1 .TH VGCONVERT 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2 .SH NAME
3 vgconvert \- convert volume group metadata format
4 .SH SYNOPSIS
5 .B vgconvert
6 .RB [ \-d | \-\-debug ]
7 .RB [ \-h | \-\-help ]
8 .RB [ \-t | \-\-test ]
9 .RB [ \-v | \-\-verbose ]
10 .RB [ \-\-labelsector ]
11 .RB [ \-M | \-\-metadatatype
12 .IR type ]
13 .RB [ \-\-pvmetadatacopies
14 .IR NumberOfCopies ]
15 .RB [ \-\-metadatasize
16 .IR size ]
17 .RB [ \-\-version ]
18 .I VolumeGroupName
19 .RI [ VolumeGroupName ...]
20 .SH DESCRIPTION
21 vgconvert converts
22 .I VolumeGroupName
23 metadata from one format to another provided that the metadata
24 fits into the same space.
25 .SH OPTIONS
26 See \fBlvm\fP(8) and \fBpvcreate\fP(8) for options.
27 .SH Examples
28 Convert volume group vg1 from LVM1 metadata format to the new LVM2
29 metadata format.
30 .sp
31 .B vgconvert \-M2 vg1
32 .SH RECOVERY
33 Use \fBpvscan\fP(8) to see which PVs lost their metadata.
34 Run \fBpvcreate\fP(8) with the \fB\-\-uuid\fP and \fB\-\-restorefile\fP
35 options on each such PV to reformat it as it was, using the archive
36 file that \fBvgconvert\fP(8) created at the start of the procedure.
37 Finally run \fBvgcfgrestore\fP(8) with that archive file to restore
38 the original metadata.
39 .SH SEE ALSO
40 .BR lvm (8),
41 .BR pvcreate (8),
42 .BR vgcfgrestore (8)
This page took 0.036877 seconds and 5 git commands to generate.