List disk, partition, and LVM parent-child relationships together with FSTYPE, LABEL, UUID, and mount points.
Which command is appropriate?
lsblk -f displays the block-device tree and filesystem attributes such as type, label, UUID, availability, and mount points.
Detailed explanation
du -sh /Incorrect. du summarizes directory usage.
df -hIncorrect. df shows usage of mounted filesystems, not the device hierarchy.
lsblk -fCorrect. lsblk -f combines device relationships and filesystem attributes.
find /dev -type bIncorrect. find can list block nodes but does not map UUIDs or mounts.
Try it yourself
An example you can run in a temporary verification environment.
lsblk -fExpected result
NAME、FSTYPE、LABEL、UUID、FSAVAIL、FSUSE%、MOUNTPOINTS等Key points
- lsblk shows block hierarchy
- -f adds filesystem fields
- It is a read-only overview
Notes
- Environment: util-linux lsblk / 読み取り操作
- Prefer help or version output and a disposable device when testing storage commands.
- Formatting, repair, and mount changes can affect data or availability.
Foundation review
Place the operation
Block topology, filesystem capacity, directory usage, and memory statistics answer different questions.
Check the side effect
Use explicit output columns in scripts when a stable format is required.