My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

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

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
  Changes
  Cause
  Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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