lvm commands
dmsetup -ls
pvdisplay
vgdisplay
lvdisplay
lsblk
pvs
pvcreate /dev/sdb0
pvcreate /dev/sdb
pvremove /dev/sdb0
pvremove /dev/sdb
pvdisplay
vgcreate fileserver /dev/sdb0
vgcreate fileserver /dev/sdb0 /dev/sdc0
vgdisplay
vgrename fileserver data
vgscan
vgremove data
lvcreate --name share --size 40G fileserver
lvdisplay
lvscan
lvrename fileserver share lvshare
lvextend -L1.5G /dev/fileserver/lvshare
lvreduce -L1G /dev/fileserver/lvshare
mkfs.ext3 /dev/fileserver/lvshare
e2fsck -f /dev/fileserver/share
resize2fs /dev/fileserver/share blocks (take bglocks from above command)
lvreduce -L40G /dev/fileserver/share
pvmove /dev/sdb0 /dev/sdf0
vgreduce fileserver /dev/sdb0
pvremove /dev/sdb0
lvremove /dev/fileserver/lvshare
vgremove fileserver
pvremove /dev/sdb0 /dev/sdc0
pvdisplay
vgdisplay
lvdisplay
pvs
vgs
lvs
pvscan
vgscan
lvscan
pvck — check physical volume metadata
pvchange — change attributes of a physical volume
pvmove — move physical extents
pvremove — remove a physical volume
pvresize — resize a disk or partition in use by LVM2
pvs — report information about physical volumes
pvscan — scan all disks for physical volumes
pgcfgbackup — backup volume group descriptor area
vgchange — change attributes of a volume group
vgconvert - convert volume group metadata format
vgdisplay — display attributes of volume groups
vgextend — add physical volumes to a volume group
vgimport — make exported volume groups known to the system
vgimportclone — import and rename duplicated volume group (e.g. a hardware snapshot)
vgmknodes — recreate volume group directory and logical volume special files
vgremove — remove a volume group
vgs — report information about volume groups
vgsplit — split a volume group into two
vgcfgbackup — backup volume group descriptor area
vgcfgrestore — restore volume group descriptor area
vgck — check volume group metadata
vgcreate — create a volume group
vgexport - make volume groups unknown to the system
vgmerge — merge two volume groups
vgreduce — reduce a volume group
vgrename — rename a volume group
vgscan — scan all disks for volume groups and rebuild caches
lvchange (8) - change attributes of a logical volume
lvconvert (8) - change LV type and other utilities
lvcreate (8) - create a logical volume in an existing volume group
lvdisplay (8) - display attributes of a logical volume
lvextend (8) - extend the size of a logical volume
lvm (8) - LVM2 tools
lvm-config (8) - Display LVM configuration
lvm-dumpconfig (8) - Display LVM configuration
lvm-fullreport (8) - (unknown subject)
lvm-lvpoll (8) - Internal command used by lvmpolld to complete some Logical Volume operations.
lvm.conf (5) - Configuration file for LVM2
lvm2-activation-generator (8) - generator for systemd units to activate LVM2 volumes on boot
lvmcache (7) - LVM caching
lvmchange (8) - change attributes of the logical volume manager
lvmconf (8) - LVM configuration modifier
lvmconfig (8) - Display LVM configuration
lvmdiskscan (8) - scan for all devices visible to LVM2
lvmdump (8) - create lvm2 information dumps for diagnostic purposes
lvmetad (8) - LVM metadata cache daemon
lvmpolld (8) - LVM poll daemon
lvmraid (7) - LVM RAID
lvmreport (7) - LVM reporting and related features
lvmsadc (8) - LVM system activity data collector
lvmsar (8) - LVM system activity reporter
lvmsystemid (7) - LVM system ID
lvmthin (7) - LVM thin provisioning
lvreduce (8) - reduce the size of a logical volume
lvremove (8) - remove a logical volume
lvrename (8) - rename a logical volume
lvresize (8) - resize a logical volume
lvs (8) - report information about logical volumes
lvscan (8) - scan (all disks) for Logical Volumes
dmsetup — low level logical volume management
lvm (8) - LVM2 tools
lvm-config (8) - Display LVM configuration
lvm-dumpconfig (8) - Display LVM configuration
lvm-fullreport (8) - (unknown subject)
lvm-lvpoll (8) - Internal command used by lvmpolld to complete some Logical Volume operations.
lvm.conf (5) - Configuration file for LVM2
lvm2-activation-generator (8) - generator for systemd units to activate LVM2 volumes on boot
lvmcache (7) - LVM caching
lvmchange (8) - change attributes of the logical volume manager
lvmconf (8) - LVM configuration modifier
lvmconfig (8) - Display LVM configuration
lvmdiskscan (8) - scan for all devices visible to LVM2
lvmdump (8) - create lvm2 information dumps for diagnostic purposes
lvmetad (8) - LVM metadata cache daemon
lvmpolld (8) - LVM poll daemon
lvmraid (7) - LVM RAID
lvmreport (7) - LVM reporting and related features
lvmsadc (8) - LVM system activity data collector
lvmsar (8) - LVM system activity reporter
lvmsystemid (7) - LVM system ID
lvmthin (7) - LVM thin provisioning
virt-filesystems (1) - List filesystems, partitions, block devices, LVM in a virtual machine or disk image
virt-filesystems [--options] -d domname
virt-filesystems [--options] -a disk.img [-a disk.img ...]