LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount.cifs command just hangs (https://www.linuxquestions.org/questions/linux-newbie-8/mount-cifs-command-just-hangs-4175443145/)

fgcoppola 12-27-2012 12:29 PM

mount.cifs command just hangs
 
Red hat 2.6.32-279.14.1.el6.x86_64

I have successfully mounted 3 different cifs mounts.

One of the windows boxes crashed. If I tried to cd to the direcory it would just hang. I tried to umount and got a device busy error so I used following command.

umount -a -t cifs -l

the share unmounted I then tried to remount using
mount.cifs //192.168.142.148/nfs /dnfs1 -o noperm,user=megasys,pass=xxxxxxxx

This is the same command that worked previously. The windows box is up and another computer running OpenVMS can connect.

I do not know why the mount command just sits there I can not even kill the process.

Any help would be appreciated.

Kustom42 12-27-2012 12:38 PM

If you're running the cifs mounts through Samba, restart your smb service. Had this happen to me when using samba and I'm pretty sure it has to do with something samba is caching, was never able to figure out exactly what the root cause was. If you're not running samba for your cifs shares, then I'm not sure just thought I'd throw it out there.

fgcoppola 12-27-2012 01:06 PM

I installed Samba but when I check SMB in the service list it is disabled so I am not sure how mount.cifs gets accomplished. As I mentioned this share was mounted and working and so are two others on different boxes. I do not know why it just hangs the process state is 'D' which is waiting for I/O response yet the windows box s running and I can remote into it.


All times are GMT -5. The time now is 01:58 AM.