vgscan - scan all disks for volume groups and build /etc/lvmtab and /etc/lvmtab.d/* which are the database for all other lvm commands. vgrename - rename a volume group vgremove - remove a volume group vgreduce - reduce a volume group vgmerge - merge two volume groups vgextend - add physical volumes to a volume group vgdisplay - display attributes of volume groups vgcreate - create a volume group vgck - check volume group descriptor area vgchange - change attributes of a volume group vgcfgbackup - backup volume group descriptor area pvscan - scan all disks for physical volumes pvdisplay - display attributes of a physical volume pvcreate - initialize a disk or partition for use by LVM pvchange - change attributes of a physical volume lvscan - scan (all disks) for logical volumes lvrename - rename a logical volume lvremove - remove a logical volume lvreduce - reduce the size of a logical volume lvmchange - change attributes of the logical volume manager lvextend - extend the size of a logical volume lvdisplay - display attributes of a logical volume lvcreate - create a logical volume in an existing volume group lvchange - change attributes of a logical volume ********* Example commands ***************** fdisk /dev/sdb (create partition /dev/sdb1 of type 8e (LVM)) fdisk /dev/sdc (create partition /dev/sdc1 of type 8e (LVM)) pvcreate /dev/sdb1 /dev/sdc1 vgcreate vg01 /dev/sdb1 lvcreate -n public -L500m vg01 mkfs.ext3 /dev/vg01/public mkdir /public; mount /dev/vg01/public /public vgextend vg01 /dev/sdc1 (adding a new PV to the VG) pvchange --allocatable n /dev/scb1 (new space allocation disabled) pvmove /dev/sdb1 (move data out of this PV to anywhere else) vgreduce vg01 /dev/sdb1 (take this PV out of the Volume Group) umount /public e2fsadm -L+200M /dev/vg01/public (make this Logical Volume bigger) mount /dev/vg01/public /public (enjoy your new space)