The fuser -mu displays wrong information for NFS file systems from NetApp qtrees
Issue
The fuser -mu command lists all processes in the whole NetApp volume, not in the mounted qtree only.
Example for /etc/fstab configuration:
<NetApp Filer>:/vol/<dir>/<share 1> /<mount point 1> nfs rw,rsize=65535,wsize=65535,vers=3,bg,hard,intr,proto=tcp 0 0
<NetApp Filer>:/vol/<dir>/<share 2> /<mount point 2> nfs rw,rsize=65535,wsize=65535,vers=3,bg,hard,intr,proto=tcp 0 0
Example of fuser output:
# fuser -mu -v <mount point 1> <mount point 2>
USER PID ACCESS COMMAND
<mount point 1>: root 1627 ..c.. (root)<process> # process from <mount point 2>
root 1636 ..c.. (root)<process> # process from <mount point 1>
<mount point 2>: root 1627 ..c.. (root)<process>
root 1636 ..c.. (root)<process>
Environment
- NFS v3 Server: NetApp FAS8080, Ontap 8.2.4P4 7-Mode
- NFS v3 Cient:
- Red Hat Enterprise Linux (RHEL) 6
- Red Hat Enterprise Linux (RHEL) 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.