You are not logged in.
I face a problem with cifs shares. If the remote server does not respond (for example because I have powered off the remote Windows machine), any access to the share hangs and the umount command hang too. I have not found a solution to force unmounting the share. There is well a "-f" option to the umount command but it is documented to work for nfs, it does not seem to have an effect on cifs. Even the "lazy unmount" option ("-l") does not seem to work.
The problem is so weird that even if I try to reboot or power off te machine, it hangs. The only "solution" I have found is to do an unclean hard reset of the system...
Last edited by olive (2016-11-21 14:08:40)
Offline
There is well a "-f" option to the umount command but it is documented to work for nfs, it does not seem to have an effect on cifs.
That sounds funny. I frequently used -f to unmount CIFS in precisely the manner you describe. I supplied username, password, gid, and uid options when mounting. I no longer have access to the CIFS, so I cannot test.
Offline