I just wanted to know how to remove the not active mount points showing in the showmount -a command.
The scenario is, in my linux workstation i mounted on our netapp filer:/vol/vol0 using the mount command to upload some firmware then I turned off the linux workstation without unmount the volume filer:/vol/vol0 in the workstation. when i logged in i issue the df command and the filer:/vol/vol0 is no logger showing but when i issue the showmount -a filer it shows that my pc is still mounted on the filer, example output:
linux@linux1 ~/Desktop $ showmount -a filer2 All mount points on filer2: linux1:/vol/vol0
So my question is how can i clear or flush the mount point with out mounting again to the filer and do the umount command.
The showmount commands shows the contents of the rmtab file. In theory, when something is unmounted, the entry should be removed, but it isn't guaranteed and you end up having the stale entries. I don't think there is a way to clean that up - except likely by rebooting or restarting the NFS service. You might be able to manually remove the entries from the file, depending on the version of data ontap, but there would be a concern that the NFS service may get a bit messed up if things were removed that shouldn't have been.
We're running into the same issue, a ton of stale entries in the rmtab that is causing current clients issues. We've confirmed that some of the entries would have been stale before the last reboot, so that did not clear them up. Does anyone know if we can simply empty the rmtab file of all entries, and will this affect any currently mounts?