SooHow Cheng
asked on
How to unmount those nfs shares when these shares won't available from the NetAPP storage
This is using SuSE SLES 12. This is a database server with 20+ remote nfs share mapping. The mapping is reliable and work without any problem. However, one fine day, few of these nfs shares were removed from the NetAPP. This is because these shares are not more needed for the server.
Now, the problem came as on our monitoring console, these mappings still persist and show error.0107_Capture.JPG
How to unmount all these unwanted nfs shares so as these shares disappear permanently?
thanks in advance.
Now, the problem came as on our monitoring console, these mappings still persist and show error.0107_Capture.JPG
How to unmount all these unwanted nfs shares so as these shares disappear permanently?
thanks in advance.
How did you setup the mounts in the first place? If they are in your /etc/fstab file, just edit that file & remove those entries you no longer need. You can also delete the according mount points. A reboot & everything should be fine.
Besides /etc/fstab also check if automount is active possibly it needs an adjustment as well.
To unmount the nfs shares for the current session only, as root:
umount "MountPoint"
umount "MountPoint"
ASKER
Hi everyone,
Ran this command - umount -l </mountpoint> and lazy unmount those mountpoint.
No settings in /etc/fstab
Ran this command - umount -l </mountpoint> and lazy unmount those mountpoint.
No settings in /etc/fstab
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Hi noci,
Thanks for the explanation on "-l". This method works for us.
Thanks for the explanation on "-l". This method works for us.