Site icon New Generation Enterprise Linux

Stop hunting for mount point mismatches

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

Stop hunting for mount point mismatches

🧩 The Challenge

Ever stared at an output from df showing a disk is nearly full, but you jump into the directory and can’t find the space being used? It usually means you’ve mounted something over a directory that still has files hidden underneath, which is a massive headache to debug.

💡 The Fix

Use findmnt to verify exactly what is mounted where in your tree. It clears up the confusion of whether you are looking at the filesystem you think you are.

findmnt --real --target /path/to/mountpoint

⚙️ Why It Works

By filtering for real filesystems, you get a clean view of the mount table that ignores all those noisy pseudo-filesystems like tmpfs and sysfs.

🚀 Pro-Tip: Pipe it into column -t if your mount points have long, messy names.

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

0 0 votes
Article Rating
Exit mobile version