We’re working on moving from an old Netapp to a new Netapp. Before doing so, we need to make sure that no systems have any mount points on the old filer still mounted.
On a regular/unix nfs server, you would login to the box and run “showmount -a” which queries the mount daemon. The netapp systems don’t offer the showmount command though.
I found a mailing list article that explained you can run “showmount -a XYZ” where XYZ is the hostname/ip of your netapp filer.
roadrunner:~ # showmount -a 172.16.2.6
All mount points on 172.16.2.6:
Now I know what hosts I need to check before deprovisioning this Netapp.
Update: From the article, I missed the caveat. NFS is stateless, so some unix hosts could still have the system mounted, but not actively use the mount.
As suggested, I turned the nfs.per_client_stats.enable bit on, and now I’ll just wait and see who is actively using the Netapp.
netapp> options nfs
netapp> options nfs.per_client_stats.enable on
netapp> nfsstat -l
172.16.2.2 <hostname unknown> NFSOPS = 6 ( 0%)
172.16.3.2 mailhost NFSOPS = 8 ( 0%)