
Note: the backup is written in plain text and are by default located in /etc/lvm/backup # Backup to specific location all volume groups (notice the %s) Vgcfgbackup -f /var/backup/VolData00_bkup VolData00 # Backup to default location (/etc/lvm/backup) # to see if a volume has already been export use "vgs" and look at the third attribute should be a x Note: you must unmount any fielsystems and deactivate the vg that is being merged "vgchange -a n ", then you can activiate it again afterwards "vgchange -a y ", then perform a vgscan, dont forget to backup the configuration # the old volumes group will be merged into the new volume group Note: vgconvert allows you to convert from one type of metadata format to another for example from LVM1 to LVM2, LVM2 offers bigger capacity, clustering and mirroring Note: the volume group must not have any active logical volumes x resizable yes or no (see VG status in vxdisplay) a control availability of volumes within the group f force the removal of any logical volumes Vgcreate VolData00 /dev/sdb1 /dev/sdb2 /dev/sdb3 allocation policy - (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere, (i)nherited However you cannot use this on mirrored volumes, you must convert back to non-mirror using "lvconvert -m 0"ĥ. Note: moves any used extents from this volume to another volume, in readiness to remove that volume. # do not allow allocation of extents on this drive, however the partition must be in a vg otherwise you get an error


Note: check the consistency of the LVM metadata # Create physical volume with specific UUID, used to recover volume groups (see miscellaneous section)Ĭommon Attributes that you may want to use:

Note: scans for disks for non-LVM and LVM disks Pvs -segments (see the disk segments used)
