My Oracle Support Banner

'du' and 'df' tools report different space utilization (Doc ID 457444.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 4.4 and later
Linux x86-64
Linux x86

Symptoms

The 'du' (/usr/bin/du) and 'df' (/bin/df) command output displays conflicting space utilisation values, for example:

# df -k /
Filesystem    1k-blocks     Used  Available Use% Mounted on
/dev/sda6       9288792  8672768     144120 99% /

# du -xsh /
2.1G /


In the example above, 'df' reports 8.6 Gb to have been used on the root (/) filesystem, whereas 'du' reports only 2.1 Gb to have been used.

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.