1VGCONVERT(8) System Manager's Manual VGCONVERT(8)
2
3
4
6 vgconvert - convert volume group metadata format
7
9 vgconvert [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--label‐
10 sector] [-M|--metadatatypetype] [--metadatacopies#copies] [--metadata‐
11 sizesize] [--version] VolumeGroupName [VolumeGroupName...]
12
14 vgconvert converts VolumeGroupName metadata from one format to another
15 provided that the metadata fits into the same space.
16
18 See lvm(8) and pvcreate(8) for options.
19
21 Convert volume group vg1 from LVM1 metadata format to the new LVM2
22 metadata format.
23
24 vgconvert -M2 vg1
25
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
34 lvm(8), pvcreate(8), vgcfgrestore(8)
35
36
37
38Sistina Software UK LVM TOOLS VGCONVERT(8)