vgconvert - Cheap VPS LLC

VGCONVERT


Section: Maintenance Commands (8)
Updated: LVM TOOLS 2.02.100(2)-RHEL6 (2013-10-23)
Index
Return to Main Contents

 

NAME

vgconvert – convert volume group metadata format
 

SYNOPSIS

vgconvert

[-d|--debug]

[-h|--help]

[-t|--test]

[-v|--verbose]

[--labelsector]

[--bootloaderareasize

size]

[-M|--metadatatype

type]

[--pvmetadatacopies

NumberOfCopies]

[--metadatasize

size]

[--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.
 

Examples

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 archive file to restore
the original metadata.
 

SEE ALSO

lvm(8),

pvcreate(8),

vgcfgrestore(8)



 

Index



NAME

SYNOPSIS

DESCRIPTION

OPTIONS

Examples

RECOVERY

SEE ALSO



Back to Top

PayPal Logo┬ęCheap VPS LLC - Leader of affordable VPS Hosting Services