Query: vgconvert
OS: opensolaris
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VGCONVERT(8) System Manager's Manual VGCONVERT(8)NAMEvgconvert - convert volume group metadata formatSYNOPSISvgconvert [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--labelsector] [-M|--metadatatypetype] [--pvmetadatacopies#copies] [--meta- datasizesize] [--version] VolumeGroupName [VolumeGroupName...]DESCRIPTIONvgconvert converts VolumeGroupName metadata from one format to another provided that the metadata fits into the same space.OPTIONSSee lvm(8) and pvcreate(8) for options.EXAMPLEConvert volume group vg1 from LVM1 metadata format to the new LVM2 metadata format. vgconvert -M2 vg1RECOVERYUse 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 ar- chive file to restore the original metadata.SEE ALSOlvm(8), pvcreate(8), vgcfgrestore(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGCONVERT(8)