LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-27-2012, 01:29 PM   #1
fgcoppola
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 //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.
 
Old 12-27-2012, 01:38 PM   #2
Kustom42
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, 02:06 PM   #3
fgcoppola
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.
 
  


Reply


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 03:48 PM
FC9 Upgrade Woes: mount.cifs hangs after password prompt livnah Linux - Networking 0 06-13-2008 04:24 AM
long remote mount time for samba with cifs command luna6 Linux - Networking 1 04-01-2005 12:43 PM


All times are GMT -5. The time now is 12:10 AM.

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