FSCK on ACFS With Many Directories Takes A Long Time To Complete (Doc ID 1480186.1)

Last updated on SEPTEMBER 04, 2012

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

 A non-verbose fsck operation on an ACFS file system with 8 million files (2 million directories) will get cancel after running 4 hours.

The verbose fsck operation on the same ACFS file system, runs for days (4 days)

Note:
* An ext4 file system with the same number of files/directories, fsck completes in less than 10 minutes.
* Also the problem seems with the number of directories rather than the number of files in each directory.
  The same problem reproduces with 4 files in each directory.


begin fsck
Thu Feb  2 08:58:22 GMT 2012
fsck 1.39 (29-May-2006)
version                   = 11.2.0.3.0
fsck.acfs: temporary directory '/usr/tmp'
fsck.acfs: current directory '/root'
*****************************
********** Pass: 1 **********
*****************************
fsck.acfs: file system check starting for volume: /dev/asm/acfs_test-57
Oracle ASM Cluster File System (ACFS) On-Disk Structure Version: 39.0
Volume indicates the on-disk version is 39.0
Volume indicates the on-disk version is 39.0
ACFS file system created at: Thu Jan 19 15:04:33 2012
checking primary file system
fsck.acfs: Volume_Log recovery on node 1 not needed
fsck.acfs: Volume_Log recovery on node 2 not needed
file system check has been cancelled
end fsck
Thu Feb  2 08:58:46 GMT 2012

 

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