1VGCONVERT(8) System Manager's Manual VGCONVERT(8)
2
3
4
6 vgconvert - convert volume group metadata format
7
9 vgconvert [--commandprofile ProfileName] [-d|--debug] [-h|--help]
10 [-t|--test] [-v|--verbose] [--labelsector] [--bootloaderareasize size]
11 [-M|--metadatatype type] [--pvmetadatacopies NumberOfCopies] [--meta‐
12 datasize size] [--version] VolumeGroupName [VolumeGroupName...]
13
15 vgconvert converts VolumeGroupName metadata from one format to another
16 provided that the metadata fits into the same space.
17
19 See lvm(8) and pvcreate(8) for options.
20
22 Convert volume group vg1 from LVM1 metadata format to the new LVM2
23 metadata format.
24
25 vgconvert -M2 vg1
26
28 Use pvscan(8) to see which PVs lost their metadata. Run pvcreate(8)
29 with the --uuid and --restorefile options on each such PV to reformat
30 it as it was, using the archive file that vgconvert(8) created at the
31 start of the procedure. Finally run vgcfgrestore(8) with that archive
32 file to restore the original metadata.
33
35 lvm(8), pvcreate(8), vgcfgrestore(8)
36
37
38
39Sistina Software UKLVM TOOLS 2.02.143(2)-RHEL6 (2016-12-13) VGCONVERT(8)