Untrustable Inode Usage with "df -i" on OCFS2 File System (Doc ID 1275440.1)

Last updated on MARCH 08, 2017

Applies to:

Linux OS - Version: 1.2.5-1 to 1.4.7 - Release: OCFS2 to OCFS2
Information in this document applies to any platform.

Symptoms

You may want to check OCFS2 file system's inode usage with df -i and notice that it doesn't correspond to the number of file on that volume.

Say "/dev/mapper/mpath11p1" is an OCFS2 volume mounted at /oracle17, you could see

[svadmin@Linux ~]$ df -i /oracle17
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/mpath11p1
4095947 3474932 621015 85% /oracle17
[svadmin@Linux ~]$ sudo find /oracle17 | wc -l
335
[svadmin@Linux ~]$

Changes

No change is made.

Cause

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