My Oracle Support Banner

OCFS2: Disk Space is not Released After Deleting Many Files (Doc ID 468923.1)

Last updated on JANUARY 30, 2022

Applies to:

Linux OS - Version 1 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64

Symptoms

Having deleted a large number of files and/or directories from an OCFS2 filesystem,  disk utilisation tools (df, du) still report unexpectedly high filesystem/disk space utilisation, for example:

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. Run the stat_sysdir.sh script
 2. Review stat_sysdir.sh output for orphaned files
 3. Identify cluster node and application associated with orphan_dir
 4. Releasing disk space associated with OCFS2 orphan directories
References

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