OCFS2: df and du commands display different results

(Doc ID 558824.1)

Last updated on FEBRUARY 09, 2018

Applies to:

Linux Kernel - Version: 1.0
Linux x86-64
Linux x86
Oracle Cluster File System version version 2 (OCFS2) 1.x


In some instances, running the df(1) and du(1) commands against an OCFS2 filesystem may report vastly different values, for example:

# df -k /ocfs2
Filesystem      1K-blocks     Used    Available     Use%   Mounted on
/dev/hda1          205346      11455     195434        6%   /ocfs2

# du -sh /ocfs2
2.0K /ocfs2

This situation begs the following questions:


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 hundreds of Community platforms