find: WARNING: Hard link count is wrong for /path/xxx/:

Solution Verified - Updated -

Issue

  • The find command returned the following message:

    $ find /path/xxx/* \( \( -name "*_access.log.*" -or -name "_error.log.*" \) -type f 
    
    find: WARNING: Hard link count is wrong for /path/xxx/: 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.
    
  • What does this message mean?

  • Why is this message output?
  • Is there anything to check?

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content