Find the exact partition mapping before you accidentally nuke a drive

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

Find the exact partition mapping before you accidentally nuke a drive

🧩 The Challenge

You are staring at a cluster of drives and half of them have similar identifiers, making it a guessing game to figure out which mount point belongs to which physical hunk of hardware. I have spent way too much time double-checking device paths before running a format command just because the default output is a mess.

💡 The Fix

Use the tree-view capabilities built into your block device inspector to map everything from the physical disk down to the specific mount point in one clean look. It cuts out the noise of every single loop device clogging up your screen.

lsblk -o NAME,MODEL,SIZE,TYPE,MOUNTPOINT,UUID

⚙️ Why It Works

Adding the specific columns ensures you get the hardware model and UUID alongside your mount hierarchy, which is exactly what you need to avoid picking the wrong disk during a maintenance window.

🚀 Pro-Tip: Stick this into an alias named ‘disks’ and save yourself the headache of retyping the flags every single time.

Linux Tips & Tricks | © ngelinux.com | 11/5/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted