command explanation more info df information about disk free / usage man fdisk manipulate disk partition table man gdisk Interactive GUID partition table (GPT) manipulator man blkid command-line utility to locate/print block device attributes man mkfs build a Linux file system man lsblk list block devices man fsck check and repair a Linux file system man
Creating LVM – Initialize Physical Volumes (PV) to be managed by LVM
$ pvcreate /dev/vdb1
– Create a Logical Volume Group (VG) and attach PVs
$ vgcreate myVG /dev/vdb1 /dev/vdc1 …
– Create Logical Volume on VG
$ lvcreate -L 1G -n myLV myVG
– Format and mount
– Resize (extend/reduce) a logical volume
$ lvextend –resizefs -L 800M /dev/myVG/myLV
$ lvreduce –resizefs -L 100M /dev/myVG/myLV
– Create snapshot
$ lvcreate –size 50M –snapshot –name myLVSnpsht /dev/myVG/myLV...