Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
whenever I try to shutdown (halt or reboot) my ubuntu, I get this error, to a certain point:
Code:
CIFS VFS: Server not responding
CIFS VFS: no response for cmd 50 mid 30
and I have to force shutdown by pressing the On/Off button on my laptop.
Everything else with Samba works fine; it's just this behaviour when I shutdown or reboot my machine.
I looked for smb.conf, I think it's a problem when Samba somehow "logs off" from the server from where I get access to the files on a Windows machine, but I can't find what to change.
I'm a bit confused. Are you accessing files on a windows machine form your ubuntu box, because in that case, you're not using samba. You're using the kernel cifs or smbfs modules. From the error your getting, it looks like this is the case. What I guess is happening is that when you shutdown, the network is getting disabled before you unmount all the network file systems. So when it gets to the unmounting bit in the shutdown process it fails, and the shutdown hangs.
Not sure how to fix it in Ubuntu (I don't suppose it's supposed to work like this, something must've got messed up somewhere), but and ugly hack way to do it would be to put an 'unmount' script into the /etc/rc.d/rc.6 directory, and have it numbered to run before the network switches off.
Found this on the Ubuntu forums. Looks like your not the only one having this problem. It's the script you'd need to do what I said above.
Last edited by beadyallen; 03-20-2008 at 05:04 AM..
Thank you to netjack for posting the question, and thank you to beadyallen for your response.
I am having the same problem after mounting my new NAS through fstab. Thanks to your help, I was able to find this link [I will post below as this is my first post and the forum does not allow me to] which (hopefully) helped me fix this problem. I don't know yet, I'm going to have to restart first so I'll be crossing my fingers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.