RHEL8: FS-Cache Duplicate cookie detected in system logs

Solution Verified - Updated -

Issue

  • Mounting NFS shares with the same parent dentry triggers FS-Cache: Duplicate cookie detected to be logged.
  • Automounted home directories are causing duplicate cookie entries to be logged.

Environment

  • Red Hat Enterprise Linux 8 (NFS client)

    • mounting multiple exports from the same server that has higher versions of NFSv4 disabled
      OR
    • mounting multiple exports from same server but using explicitly different NFS4 versions (i.e. -o vers=4.1, and vers=4.0)
  • Any NFS server with multiple exports with higher versions of NFS4 disabled

    • Example (Red Hat NFS server)

      # grep vers4 /etc/nfs.conf
      # vers4=y
      vers4.0=y
      vers4.1=n
      vers4.2=n
      
      # cat /proc/fs/nfsd/versions 
      -2 +3 +4 -4.1 -4.2
      

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