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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-03-2009, 10:11 AM
|
#1
|
Member
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770
Rep:
|
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: .
|
|
|
04-04-2009, 03:32 PM
|
#2
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
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.
|
|
|
04-06-2009, 02:10 PM
|
#3
|
Member
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770
Original Poster
Rep:
|
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
|
|
|
04-13-2009, 10:03 AM
|
#4
|
Member
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770
Original Poster
Rep:
|
I ended up switching this mount and purpose over to another machine that has a similar setup and it locked up as well.
|
|
|
All times are GMT -5. The time now is 02:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|