Storage
How to organize data
Basic commands
Current storage state lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINT | grep -E 'sd[a-z]|nvme' echo "---" df -h --output=source,size,used,avail,pcent,target | grep -E 'sd[a-z]|nvme|/dev' lsblk lists all disks and partitions, their size, file system and mount points df -h shows used / available space...
Logical Volume Management (LVM)
Current LVM state Scan all available block devices and identify those that can be used as LVM physical volumes sudo lvmdiskscan /dev/nvme0n1p1 [ <1.05 GiB] /dev/nvme0n1p2 [ 2.00 GiB] /dev/nvme0n1p3 [ <1.82 TiB] LVM physical volume 0 disks 2 partitions 0 LVM physica...