Master Document for Issues with Differences in Output Between 'du' and 'df'

(Doc ID 1398865.1)

Last updated on AUGUST 25, 2017

Applies to:

Solaris Operating System - Version 8.0 and later
Information in this document applies to any platform.
The outputs between /bin/du and /bin/df in a filesystem may differ sometimes


The output between df and du differs on a given filesystem, i.e.

du shows (9.86 GB)  used space
df shows (23 GB)    used space

% df -kl /
Filesystem          kbytes       used     avail  capacity   Mounted on
/dev/md/dsk/d100  30981094   24436586   6234698        80%    /

% du -skd /


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms