FG
💻 Software

Linux filesystem; difference in calculating size using df & du

Fresh7 days ago
Mar 15, 202610966 views
Confidence Score0%
0%

Problem

When I run it shows the root device is full. I looked at the usage and there is pretty much space available for root device But, when I run the command, it shows I have used only out of . It just driving me crazy and interesting too. This is big problem for us since the root disk is full and some o…

Error Output

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.9G  9.4G     0 100% /

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Linux filesystem; difference in calculating size using df & du

Low Risk

When files are deleted in *nix, they continue to live on disk (and take up disk space) for as long as a process has them open. It's fairly common to take advantage of this to "secure" temp files by creating them with a small size, deleting them, and…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment