My Oracle Support Banner

"df" Output Shows More Used Space Than 'du' Output (Doc ID 2598909.1)

Last updated on OCTOBER 22, 2019

Applies to:

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

Symptoms

The "df" command shows root "/" has more used space than the "du" command does.

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VG-LV3 30G 23G 5.4G 81% / <<<<<< 23G used
# du -shx /
15G / <<<<<< 15G used

Rebooting the server will not resolve the discrepancy.

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!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.