LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2009, 10:11 AM   #1
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
CIFS mounts hang when pushing data


Ive seen this a hundred times while searching google but I can't seem to get any of the fixes suggested to work for me.

Here are the specs:

Kernel: 2.6.18-53.el5PAE
CIFS Version 1.48aRH
samba-client-3.0.28a-0
samba-common-3.0.28a-0


cat DebugData
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.48aRH
Active VFS Requests: 0
Servers:
1) Name: xxx.xxx.xxx.xxx Domain: DOMAINNAME Mounts: 1 OS: Windows Server 2003 R2 3790 Service Pack 2
NOS: Windows Server 2003 R2 5.2 Capability: 0x1f3fd
SMB session status: 1 TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
MIDs:

Shares:
1) \\hostname.domainname.com\shared Uses: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x700ff
PathComponentMax: 255 Status: 1 type: DISK



fstab line to mount the share:
//hostname.domainname.com/shared /correct/path/to/mount cifs credentials=/path/to/credentialsfile,uid=user,gid=user,file_mode=0740 0 0



cat OplockEnabled
0


I have other servers on the same network with the same software/hardware that never loses its mount to the windows share, and nightly backups are run through those mounts. So why does the mount on this machine fail when we do a push? The only conclusion that I can come to is there is some sort of time out on the windows server that causes this. The other servers that have this same type mount use their share every night, where as the share on this server gets used once or twice a week. Once the mount hangs I can not unmount it, I have to reboot the server. Once the server is rebooted the push works fine. But then the next week when a push is tried it hangs. What else can I check?


UPATE: I've also tried NFS mounts and autofs mounts and they hang as well

Last edited by ncsuapex; 04-03-2009 at 10:16 AM. Reason: .
 
Old 04-04-2009, 03:32 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I had a similar problem once. The connection would hang when I tried to move a lot of data all at once. I could seemingly make an unlimited number of short file transfers, but lengthy transfers would always fail. This occurred with SMB, NFS, scp, and FTP. In my case, the problem was specific to a Linux host being operated as a server running Samba, SSH, NFS, and FTP servers. The problem went away when I replaced the ethernet NIC. I used the same NIC in another host, and never had a problem, but the problem did go away as soon as I replaced the NIC in the troubled server. Might be worth a shot for you.
--- rod.
 
Old 04-06-2009, 02:10 PM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 44
Hmmm I'll keep that in mind. Right now I can't swap out the NIC because its a remote server, but I do have someone going out there tomorrow so i can have them swap it out. Thanks for the info
 
Old 04-13-2009, 10:03 AM   #4
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 44
I ended up switching this mount and purpose over to another machine that has a similar setup and it locked up as well.
 
  


Reply



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
usb disk un-mounts while copuing data - kubuntu 8.04 kde 3.5.9 giesbert Linux - Desktop 1 05-15-2008 09:55 AM
cifs and 426 Sendfile error: Value too large for defined data type punt Linux - Networking 5 04-10-2008 05:59 AM
Can Nautilus add CIFS mounts to filesystem? adma96 Fedora 1 11-29-2006 06:45 AM
Can Nautilus add CIFS mounts to filesystem? adma96 Fedora 1 11-28-2006 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:15 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
Open Source Consulting | Domain Registration