NAME | SYNOPSIS | DESCRIPTION | OPTIONS | Examples | RECOVERY | SEE ALSO | COLOPHON

VGCONVERT(8)               System Manager's Manual              VGCONVERT(8)

NAME         top

       vgconvert - convert volume group metadata format

SYNOPSIS         top

       vgconvert [--commandprofile ProfileName] [-d|--debug] [-h|--help]
       [-t|--test] [-v|--verbose] [--labelsector] [--bootloaderareasize
       size] [-M|--metadatatype type] [--pvmetadatacopies NumberOfCopies]
       [--metadatasize size] [--reportformat {basic|json}] [--version]
       VolumeGroupName [VolumeGroupName...]

DESCRIPTION         top

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

OPTIONS         top

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

Examples         top

       Convert volume group vg1 from LVM1 metadata format to the new LVM2
       metadata format.

       vgconvert -M2 vg1

RECOVERY         top

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

SEE ALSO         top

       lvm(8), pvcreate(8), vgcfgrestore(8)

COLOPHON         top

       This page is part of the lvm2 (Logical Volume Manager 2) project.
       Information about the project can be found at 
       ⟨http://www.sourceware.org/lvm2/⟩.  If you have a bug report for this
       manual page, send it to linux-lvm@redhat.com.  This page was obtained
       from the project's upstream Git repository 
       ⟨https://git.fedorahosted.org/git/lvm2.git⟩ on 2017-03-13.  If you
       discover any rendering problems in this HTML version of the page, or
       you believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a mail
       to man-pages@man7.org

Sistina Software UKLVM TOOLS 2.02.169(2)-git (2016-11-30)       VGCONVERT(8)