Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-27-2012, 12:29 PM   #1
LQ Newbie
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
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 // /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.
Old 12-27-2012, 12:38 PM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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.
Old 12-27-2012, 01:06 PM   #3
LQ Newbie
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
FC9 Upgrade Woes: mount.cifs hangs after password prompt livnah Linux - Networking 0 06-13-2008 03:24 AM
long remote mount time for samba with cifs command luna6 Linux - Networking 1 04-01-2005 11:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration