Kemp, Larry
2009-Jun-18 13:35 UTC
[CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share
My first post to the list, hope the community can help me, I am having a problem with CIFS:VFS. I am trying to write large files (and a lot of files) from my Cent OS 5.3 server to a remote Windows 2003 Server share. It appears there might be some incompatibilities between how the two OS's individually implement CIFS, maybe. I automount the remote share via /etc/fstab and have the /mnt/remotewinservershare built. Everything is setup and seems to work properly but during the large file transfer (at intermittent times) the Linux Kernel seems to panic and the CIFS connection seems to fail as a result since CIFS happens at the Kernel level, returning errors. Although when I cd the /mnt/remotewinservershare dir, or ls /mnt the mount is there is I can manually cp to it with absolutely no problems. My /etc/fstab line is: //10.100.101.205/share /mnt/remotewinservershare cifs username=MYUSER,pass=MYPASSWD 0 0 The CIFS errors returned are: WARNING: Kernel Errors Present CIFS VFS: Error -4 sending data ...: 103 Time(s) CIFS VFS: Unexpected lookup error -112 ...: 2 Time(s) CIFS VFS: Error -4 sending data ...: 380 Time(s) I have seen in various online forums people have run into this since 2004 and posts in 2007 have gone unanswered. Seems to be isolated to Cent OS trying to CIFS to a Windows 2003 Server when transferring large or many files (and does so intermittently). Has anyone has hit this before and been able to fix this please share how you worked around it or fixed it. It is important for me to be able to have a stable CIFS connection to this remote Windows Server 2003 server, and we know we are not getting a look at the Windows kernel. Big Thanks LK -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090618/ce2fb447/attachment-0001.html>
Les Mikesell
2009-Jun-18 13:45 UTC
[CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share
Kemp, Larry wrote:> My first post to the list, hope the community can help me, I am having a > problem with CIFS:VFS. > > > > I am trying to write large files (and a lot of files) from my Cent OS > 5.3 server to a remote Windows 2003 Server share. It appears there might > be some incompatibilities between how the two OS?s individually > implement CIFS, maybe. > > > > I automount the remote share via /etc/fstab and have the > /mnt/remotewinservershare built. Everything is setup and seems to work > properly but during the large file transfer (at intermittent times) the > Linux Kernel seems to panic and the CIFS connection seems to fail as a > result since CIFS happens at the Kernel level, returning errors. > Although when I cd the /mnt/remotewinservershare dir, or ls /mnt the > mount is there is I can manually cp to it with absolutely no problems. > > > > My /etc/fstab line is: > > //10.100.101.205/share /mnt/remotewinservershare cifs > username=MYUSER,pass=MYPASSWD 0 0 > > > > The CIFS errors returned are: > > WARNING: Kernel Errors Present > > CIFS VFS: Error -4 sending data ...: 103 Time(s) > > CIFS VFS: Unexpected lookup error -112 ...: 2 Time(s) > > CIFS VFS: Error -4 sending data ...: 380 Time(s) > > > > I have seen in various online forums people have run into this since > 2004 and posts in 2007 have gone unanswered. Seems to be isolated to > Cent OS trying to CIFS to a Windows 2003 Server when transferring large > or many files (and does so intermittently). > > > > Has anyone has hit this before and been able to fix this please share > how you worked around it or fixed it. It is important for me to be able > to have a stable CIFS connection to this remote Windows Server 2003 > server, and we know we are not getting a look at the Windows kernel. >Is there a virus scanner on the windows box? It might be taking too long to scan the large file you are trying to write and causing the timeout. -- Les Mikesell lesmikesell at gmail.com
nate
2009-Jun-18 14:58 UTC
[CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share
Kemp, Larry wrote:> I automount the remote share via /etc/fstab and have the > /mnt/remotewinservershare built. Everything is setup and seems to work > properly but during the large file transfer (at intermittent times) the > Linux Kernel seems to panic and the CIFS connection seems to fail as aIf the antivirus trick doesn't work I'd suggest trying to do the file transfers through smbclient and not through the cifs kernel module, and see if you get similar types of issues. nate
Possibly Parallel Threads
- CentOS 4.5 - mounting remote windows fileserver using smb or cifs
- CIFS mount intermittently unavailable: cifs_mount failed w/return code = -5
- windows server 2003 shares (smbmount & signing or cifs & kerberos)
- Bug when copying files from a Samba directory mounted by cifs
- 2.6.31-rc8: CIFS with 5 seconds hiccups