Files1 - Commands

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

September 15, 2020 · 1 min · Me

Files2 - Commands

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

September 15, 2020 · 1 min · Me