RHEL7.3: nfs4.0 client mount on a NetApp filer unable to remove files - CB_RECALL gets repeated NFS4ERR_BADHANDLE, REMOVE gets NFS4ERR_DELAY

Solution In Progress - Updated -

Issue

  • NFS4 client unable to delete files due to "stuck delegations" on the files in the various folders being removed.
  • When the client sends the delete, we try and recall the delegation from this same client. The client states that it doesn't know anything about the delegation (NFS4ERR_BADHANDLE). The recall failure causes an NFS4ERR_DELAY to be sent. This loop continues for about 85 seconds but eventually the file is deleted.

Environment

  • Red Hat Enterprise Linux Server release 7.3 (NFS4 client)
    • seen on kernel- 3.10.0-514.10.2.el7.
  • NetApp 8.2 7 mode (NFS4 server)
    • nfs-server:/export on /mnt type nfs4 (rw,noatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,acregmin=1800,acregmax=1800,acdirmin=1800,acdirmax=1800,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=10.0.0.1,local_lock=none,addr=10.0.0.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