Guided, evidence-based troubleshooting assistant for discrepancies between df -h and du -sh. Collects diagnostic evidence, isolates root causes, prevents destructive mistakes, and builds an investigation report.
$ Runs in your browser. Nothing you enter is sent anywhere.
1
Enter Filesystem and Space Measurements
Does not default to ext4. XFS has no ext4-style reserved block percentage.
Target filesystem path (e.g. / or /var).
lsblk -o MAJ:MIN,MOUNTPOINT
Raw number from the “Used” column of df.
Must be executed with the -x flag to prevent crossing mounts.
Paste `df -hT` or `findmnt` to Auto-Detect Filesystem
2
Discrepancy Analysis
df Used0 B
du Traversed0 B
Calculated Gap0 B
Directiondf > du
Rule: Never name a root cause from the numeric difference alone. Proceed to diagnostic checks below to inspect server evidence.
3
Targeted Diagnostic Commands
Read-only diagnostic checks come first. Copy the commands, run them on your server via SSH, and paste the output into Step 4 below.
4
Evidence Collection and Output Analysis
Paste the exact terminal output from the diagnostic checks below. Pasted text is rendered strictly as plain data and is never transmitted over the network.
Parser ignores memory-backed descriptors (/memfd:*), entries on other devices, and zero-byte files.
Checks if inode allocation is 100% full or IFree is 0.
Detects submounts that could be hiding files on the parent filesystem.
Hypothesis Evaluation Matrix
5
Safe Remediation and Risk Assessment
Pre-remediation safety rule: Never blindly kill processes, delete unknown files, or run filesystem repairs on mounted filesystems. Confirm maintenance windows and verify that no active backup jobs are running.
6
Post-Remediation Validation
After running remediation, re-check filesystem usage and verify that space was reclaimed. The investigation remains OPEN until post-remediation evidence is verified.
7
Investigation Report and Anonymized Export
Privacy redaction: Hostnames, usernames, and IP addresses have been automatically sanitized using generic identifiers (host01, user01, 192.0.2.x). Review the report below before copying or downloading.
Automatic redaction covers prompts, paths, USER columns and IPs. Hostnames or names written in normal sentences are only removed if you list them here. Review the report before sharing.
Need to sanitize larger multi-file logs or full support bundles? Use the HNOrigin Log Sanitizer tool for advanced pattern matching.
How the df vs du check works
df asks the filesystem how much space is in use. du walks the directory tree and adds up the files it can see. When the two numbers disagree, something is using space that du cannot reach, for example a deleted file that a running process still holds open, data hidden under a mount point, or a filesystem that has run out of inodes. This tool only suggests a cause when your pasted output supports it.
HNOrigin is an independent infrastructure troubleshooting resource and is not affiliated with or endorsed by Red Hat or other vendors. Product names are trademarks of their respective owners.