Disk & Filesystem Management (Du/Df/Lsblk/Fstrim)
Stop wasting time hunting down block device ghosts
đź§© The Challenge
You’ve just plugged in a drive or expanded a LUN, but lsblk looks like a jumbled mess and you can’t tell which partition belongs to which physical disk. I’ve wasted so many minutes squinting at output trying to map dependencies that I eventually stopped trusting my own eyes.
đź’ˇ The Fix
Use the list options to force a clean, columnar view that actually shows the relationship between your disks, partitions, and filesystems without the visual noise. It keeps your terminal sane when you’re managing complex storage layouts.
lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINT,UUID,MODEL
⚙️ Why It Works
Adding the model column gives you that immediate physical verification you need, and restricting the output fields clears away the metadata junk that makes standard lsblk output unreadable.
🚀 Pro-Tip: Alias this to lsblk-fast in your .bashrc and stop fighting the default view forever.
Linux Tips & Tricks | © ngelinux.com | 7/16/2026
