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

Last updated on NOVEMBER 05, 2013

Applies to:

Linux OS - Version 1 and later
Linux x86-64
Linux x86
***Checked for relevance on 06-Nov-2013***

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:

# rm -rf /ocfs/*
# ls -l /ocfs
total 0
# df -k
Filesystem        1K-blocks     Used Available Use%  Mounted on
/dev/emcpowerd     20971520  1153520  19818000   6%  /ocfs

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