You are not logged in.

#1 2012-06-08 15:52:43

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Shutdown hang if a mounted cifs filesystem is not responding

I sometimes mount a filesystem over CIFS (quite often a virtual machine). Sometimes I shutdown the virtual (or physical) machine forgetting to unmount the cifs folder. In this situation if I try to shutdown the linux machine, it hangs trying to unmount filesystem, forcing me to do an unclean shutdown (via hardware of the Ctr-Alt-Syst-O key). I suppose the same behaviour will happen if for whatever reason the CIFS server is not responding, so the ability to cleanly shutdfown the machine depends on the fact of having a reliable internet connection and the remote server responding properly. Is there not a possibility to force unmounting an unresponding cifs server? If yes, should it not be a good idea to include it in the archlinux shutdown script.

Last edited by olive (2012-06-08 15:53:50)

Offline

#2 2012-06-08 16:07:34

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Shutdown hang if a mounted cifs filesystem is not responding

We already do this in the netfs rc.d script.

Offline

Board footer

Powered by FluxBB