Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #688
Difficulty: Medium
The first computer to implement architectures enabling reverse Polish notation (RPN) was the Apple I computer.
True or False?
Linux & Unix Commands - Search Man Pages

vgconvert(8) [bsd man page]

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

NAME
       vgconvert - convert volume group metadata format

SYNOPSIS
       vgconvert  [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--labelsector] [-M|--metadatatypetype] [--pvmetadatacopies#copies] [--meta-
       datasizesize] [--version] VolumeGroupName [VolumeGroupName...]

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

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

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

       vgconvert -M2 vg1

RECOVERY
       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 ar-
       chive file to restore the original metadata.

SEE ALSO
       lvm(8), pvcreate(8), vgcfgrestore(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)					      VGCONVERT(8)

Check Out this Related Man Page

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

NAME
vgconvert - convert volume group metadata format SYNOPSIS
vgconvert [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--labelsector] [-M|--metadatatypetype] [--pvmetadatacopies#copies] [--meta- datasizesize] [--version] VolumeGroupName [VolumeGroupName...] DESCRIPTION
vgconvert converts VolumeGroupName metadata from one format to another provided that the metadata fits into the same space. OPTIONS
See lvm(8) and pvcreate(8) for options. EXAMPLE
Convert volume group vg1 from LVM1 metadata format to the new LVM2 metadata format. vgconvert -M2 vg1 RECOVERY
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 ar- chive file to restore the original metadata. SEE ALSO
lvm(8), pvcreate(8), vgcfgrestore(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGCONVERT(8)

Featured Tech Videos