Sunday, May 18, 2008

Ubuntu CIFS Errors On Shutdown

Since my Hardy upgrade, I've had an issue when trying to reboot or shutdown my home machine.

Basically, the system would stall for a bit on shutdown, giving a CIFS error.

The error line indicates that CIFS VFS is not responding for CMD 50...

Turns out the problem was that the network manager would shutdown before my mounted samba shares could dismount.

I found this blog that had the fix:

sudo ln -s /etc/init.d/ /etc/rc0.d/
sudo ln -s /etc/init.d/ /etc/rc6.d/

Entering these lines will cause your system to change the order of events during shutdown, and samba shares will be dismounted before network manager goes off-line, resolving the issue.


skidmarks said...

Cheers! This cleanly fixed my problem, although I used K21, since I wanted to be sure some other things shutdown first...

James D. Bausch said...


happy to help. And BTW, best name ever.