Get your mount points sorted without staring at a wall of text

Disk & Filesystem Management (Du/Df/Lsblk/Fstrim)

Get your mount points sorted without staring at a wall of text

🧩 The Challenge

Dealing with a server that has twenty-odd disks and multiple mount points usually means staring at the absolute mess that is the standard df output. It’s a headache trying to figure out which physical drive maps to which application path when everything is a jumble of UUIDs and truncated names.

💡 The Fix

Start using lsblk to actually visualize the hardware hierarchy instead of squinting at df. You’ll see exactly what is mounted where and how the partitions nest together in a clean tree structure.

lsblk -o NAME,SIZE,TYPE,MOUNTPOINT,FSTYPE

⚙️ Why It Works

Adding the -o flag lets you strip away the junk columns you don’t care about so you can actually read the output. It turns a chaotic wall of text into a simple tree that maps your physical storage directly to the filesystem logic.

🚀 Pro-Tip: Stick -p in there if you need to see the full path of the block devices, which helps immensely when you are dealing with symlinks or multipath devices.

Linux Tips & Tricks | © ngelinux.com | 9/3/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted