1827862 Members
1624 Online
109969 Solutions
New Discussion

An error message

 
Waqar Razi
Regular Advisor

An error message

I was running the find command and found the following error message:

# find / -name dsmerror.log
find: WARNING: Hard link count is wrong for /dev/oracleasm: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.

Can some one please give me some clue.
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: An error message

/dev/oracleasm, /proc and /sys are virtual filesystems.

If you are looking for a log file, it isn't going to be in any of them, so searching through them is just a waste of time.

In this particular case, /dev/oracleasm is an imperfect imitation of a normal filesystem, and the find command has just noticed the imperfection. The "-noleaf" option causes find to be extra careful, which is needed in some special filesystems. Unfortunately, that option is also going to make your search slower.

See "man find"; search for "-noleaf" and read the full description of the option from there.

The problem is in the oracleasm kernel module that creates the oracleasmfs virtual filesystem. Because /dev/oracleasm is essentially just another way to identify the disks controlled by Oracle ASM, the bug is not dangerous, just a nuisance. Maybe Oracle has already released a patch for ASM and/or asmlib that fixes it?

MK
MK