My Oracle Support Banner

Oracle Linux: 'du' and 'df' Commands Report Significantly Different Space Utilisation (Doc ID 457444.1)

Last updated on MAY 29, 2023

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86
Linux ARM 64-bit

Symptoms

When running df(1) and du(1) commands on an Oracle Linux (OL) system, command output displays significantly inconsistent space utilisation e.g.:

Above, df(1) reports the root filesystem (/) to have used 24Gb, whereas du(1) reports 7.8Gb 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!


In this Document
Symptoms
Cause
Solution
 1.Identify open deleted files and associated processes
 2. Shutdown processes holding file descriptors for open deleted files

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