I have recently started using Linux and would love to know how to interpret the output from the lsblk -f command.
More specifically, I would like to know the different partitions and sizes.
- For instance, I understand that ext4 and xfs are different file systems in unix. But the entire picture has a tree structure. So I was wondering if the total number of partitions is 4, i.e.,sda1, sda2, sda3 and sdb.
- If so, then what are the sub-partitions (root, swap, home and var)?
- Also, is lvm2_member a filesystem too?
- Where do I get the size of each of these partitions?
NAME FSTYPE LABEL MOUNTPOINT SIZE
sda 1.1T
├─sda1 2M
├─sda2 xfs /boot 2G
└─sda3 LVM2_member 1.1T
├─centos-root ext4 / 200G
├─centos-swap swap [SWAP] 128G
├─centos-var ext4 /var 10G
└─centos-home ext4 /home 777G
sdb ext4 data /data 81.9T
loop1 squashfs 487.5M
