The filesystem Usage Measured by "df" and "du" Commands Could Differ
(Doc ID 1984597.1)
Last updated on AUGUST 04, 2018
Applies to:Linux OS - Version Oracle Linux 5.5 and later
In normal situation, the total size of the files under root filesystem, used by "du" command, should be approximately equal or close to the usage of the same filesystem observed by "df" command.
However, in some situation, the amount of filesystem usage seen by "df" command shows much larger than the total file size measured by "du" command.
Here's the example. "df" command shows that the root filesystem on block device (/dev/mapper/VGExadb-LVDbSys1) occupies 27GB of disk space, while "du" command shows total file sizes are only 7.5GB:
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
|For "Possible Cause #1"|
|For "Possible Cause #2"|