FG

Difference between df -k and du -sh

Fresh3 days ago
Mar 15, 20264248 views
Confidence Score0%
0%

Problem

versus The 3.4G is correct because we have removed all non essential file but free space reported by df is not consistent with the actual free space that should be there. Why is this so?

Error Output

df -k
/dev/sda6             25396228  21249088   2836240  89% /export
21G used

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Difference between df -k and du -sh

Low Risk

The files you removed are probably still opened by a process. Check: I think this is because: checks blocks available (superblocks) totals up the space of each file.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment