'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
The 'du' (/usr/bin/du) and 'df' (/bin/df) command output displays conflicting space utilisation values, for example:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda6 9288792 8672768 144120 99% /
# du -xsh /
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!