1VGCONVERT(8)                System Manager's Manual               VGCONVERT(8)
2
3
4

NAME

6       vgconvert - convert volume group metadata format
7

SYNOPSIS

9       vgconvert [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--label‐
10       sector]  [-M|--metadatatypetype]  [--pvmetadatacopies#copies]  [--meta‐
11       datasizesize] [--version] VolumeGroupName [VolumeGroupName...]
12

DESCRIPTION

14       vgconvert  converts VolumeGroupName metadata from one format to another
15       provided that the metadata fits into the same space.
16

OPTIONS

18       See lvm(8) and pvcreate(8) for options.
19

EXAMPLE

21       Convert volume group vg1 from LVM1 metadata  format  to  the  new  LVM2
22       metadata format.
23
24       vgconvert -M2 vg1
25

RECOVERY

27       Use  pvscan(8)  to  see which PVs lost their metadata.  Run pvcreate(8)
28       with the --uuid and --restorefile options on each such PV  to  reformat
29       it  as  it was, using the archive file that vgconvert(8) created at the
30       start of the procedure.  Finally run vgcfgrestore(8) with that  archive
31       file to restore the original metadata.
32

SEE ALSO

34       lvm(8), pvcreate(8), vgcfgrestore(8)
35
36
37
38Sistina Software UK    LVM TOOLS 2.02.84(2) (2011-02-09)          VGCONVERT(8)
Impressum