Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread Les Mikesell
Kemp, Larry wrote:
> Mucho thanks guys...
> 
> 1) We have disabled the antivirus for the entire drive (which is a RAID5 
> diskarray). I will try to have Bacula send it job to this mounted system now 
> and see if CENT OS comes back with any CIFS errors.
> 
> 2) I did try originally editing the /etc/fstab to mount the remote share as 
> SMB in as many different ways that I could find online. But none seemed to 
> work for me. It seemed to be a little bit different across Linux distros and 
> versions, as well as SMB versions. And in the end, I simply got CIFS to work 
> and had just not yet figured out the exact verbiage for SMB to work in 
> /etc/fstab to mount /mnt/remotewinserver automagically at boot. I did read up 
> on SMB as well to see if I was missing something small. If you have a 
> combination that has worked for you Nate, please do share sir, I would be 
> most gracious on my end...believe me. The remote sharer is a Windows 2003 
> Server running 2 64bit processors, but the OS was installed as 32bit for 
> whatever reason.
> 
> 3) Unfortunately Windows claimed the big fat HP Storage server before CENT OS 
> could (sorry for this starting to sound like a Windows whinefest too). Having 
> said that, Win2k3 Server runs the array already backing up all Windows 
> servers using Backup Exec. I am ofcourse trying use CENT OS and Bacula but 
> needed large diskspace. Had we had another array/server I could use CENT OS 
> would have no problem running I am certain. So as a second method I am 
> creating a VM running CENT OS and Bacula on the large S:\drive of the Windows 
> server that has an expandable VMDK drive (VMWare). This way my CENT OS/Bacula 
> VM can grow as big as it needs to and to CENT OS and Bacula the storage 
> device is just natively /storage-array. At least that is one plan anyway. 
>   
> 
> We are also "talking about" just buying the Symantec Linux client for 
> backups. But the original goal was to use CENT OS for this since our 
> production systems are CENT OS.
> 
> Okay that's everything I think. Thanks for the help thus far. 

If your backups are mostly online, have you looked at backuppc as an 
alternative to bacula?  It's file pooling scheme will usually let you 
keep a much longer history on line.  It can use smbclient or rsync to 
back up windows targets (and tar or rsync over ssh for linux) and some 
people have glued VSS support into cygwin rsync to deal with open files 
on windows.  You'll still lose windows acl's, though

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread Toby Bluhm
Kemp, Larry wrote:
> Mucho thanks guys...
> 
> 1) We have disabled the antivirus for the entire drive (which is a RAID5 
> diskarray). I will try to have Bacula send it job to this mounted system now 
> and see if CENT OS comes back with any CIFS errors.
> 
> 2) I did try originally editing the /etc/fstab to mount the remote share as 
> SMB in as many different ways that I could find online. But none seemed to 
> work for me. It seemed to be a little bit different across Linux distros and 
> versions, as well as SMB versions. And in the end, I simply got CIFS to work 
> and had just not yet figured out the exact verbiage for SMB to work in 
> /etc/fstab to mount /mnt/remotewinserver automagically at boot. I did read up 
> on SMB as well to see if I was missing something small. If you have a 
> combination that has worked for you Nate, please do share sir, I would be 
> most gracious on my end...believe me. The remote sharer is a Windows 2003 
> Server running 2 64bit processors, but the OS was installed as 32bit for 
> whatever reason.
> 
> 3) Unfortunately Windows claimed the big fat HP Storage server before CENT OS 
> could (sorry for this starting to sound like a Windows whinefest too). Having 
> said that, Win2k3 Server runs the array already backing up all Windows 
> servers using Backup Exec. I am ofcourse trying use CENT OS and Bacula but 
> needed large diskspace. Had we had another array/server I could use CENT OS 
> would have no problem running I am certain. So as a second method I am 
> creating a VM running CENT OS and Bacula on the large S:\drive of the Windows 
> server that has an expandable VMDK drive (VMWare). This way my CENT OS/Bacula 
> VM can grow as big as it needs to and to CENT OS and Bacula the storage 
> device is just natively /storage-array. At least that is one plan anyway. 
>   
> 
> We are also "talking about" just buying the Symantec Linux client for 
> backups. But the original goal was to use CENT OS for this since our 
> production systems are CENT OS.
> 
> Okay that's everything I think. Thanks for the help thus far. 
> 

How about getting getting them to carve out a chunk of the storage 
server through iscsi for dedicated Centos use. Would bypass most of that 
Windows share crappola.


-- 
tkb
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread JohnS

On Thu, 2009-06-18 at 11:46 -0400, Kemp, Larry wrote:
> Mucho thanks guys...
> 
> 1) We have disabled the antivirus for the entire drive (which is a RAID5 
> diskarray). I will try to have Bacula send it job to this mounted system now 
> and see if CENT OS comes back with any CIFS errors.
> 
> 2) I did try originally editing the /etc/fstab to mount the remote share as 
> SMB in as many different ways that I could find online. But none seemed to 
> work for me. It seemed to be a little bit different across Linux distros and 
> versions, as well as SMB versions. And in the end, I simply got CIFS to work 
> and had just not yet figured out the exact verbiage for SMB to work in 
> /etc/fstab to mount /mnt/remotewinserver automagically at boot. I did read up 
> on SMB as well to see if I was missing something small. If you have a 
> combination that has worked for you Nate, please do share sir, I would be 
> most gracious on my end...believe me. The remote sharer is a Windows 2003 
> Server running 2 64bit processors, but the OS was installed as 32bit for 
> whatever reason.
> 
> 3) Unfortunately Windows claimed the big fat HP Storage server before CENT OS 
> could (sorry for this starting to sound like a Windows whinefest too). Having 
> said that, Win2k3 Server runs the array already backing up all Windows 
> servers using Backup Exec. I am ofcourse trying use CENT OS and Bacula but 
> needed large diskspace. Had we had another array/server I could use CENT OS 
> would have no problem running I am certain. So as a second method I am 
> creating a VM running CENT OS and Bacula on the large S:\drive of the Windows 
> server that has an expandable VMDK drive (VMWare). This way my CENT OS/Bacula 
> VM can grow as big as it needs to and to CENT OS and Bacula the storage 
> device is just natively /storage-array. At least that is one plan anyway. 
>   
> 
> We are also "talking about" just buying the Symantec Linux client for 
> backups. But the original goal was to use CENT OS for this since our 
> production systems are CENT OS.
> 
> Okay that's everything I think. Thanks for the help thus far. 

What it comes down to is you don not have enough A** in your hardware to
do scanning in real time. I had the problem with Samba and the clamav
module for samba untill I upgraded the hardware. Very CPU Intensive and
memory. The right hardware you can saturate a GigE conection. That is
logging all transfers file open and close.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread Kemp, Larry

Mucho thanks guys...

1) We have disabled the antivirus for the entire drive (which is a RAID5 
diskarray). I will try to have Bacula send it job to this mounted system now 
and see if CENT OS comes back with any CIFS errors.

2) I did try originally editing the /etc/fstab to mount the remote share as SMB 
in as many different ways that I could find online. But none seemed to work for 
me. It seemed to be a little bit different across Linux distros and versions, 
as well as SMB versions. And in the end, I simply got CIFS to work and had just 
not yet figured out the exact verbiage for SMB to work in /etc/fstab to mount 
/mnt/remotewinserver automagically at boot. I did read up on SMB as well to see 
if I was missing something small. If you have a combination that has worked for 
you Nate, please do share sir, I would be most gracious on my end...believe me. 
The remote sharer is a Windows 2003 Server running 2 64bit processors, but the 
OS was installed as 32bit for whatever reason.

3) Unfortunately Windows claimed the big fat HP Storage server before CENT OS 
could (sorry for this starting to sound like a Windows whinefest too). Having 
said that, Win2k3 Server runs the array already backing up all Windows servers 
using Backup Exec. I am ofcourse trying use CENT OS and Bacula but needed large 
diskspace. Had we had another array/server I could use CENT OS would have no 
problem running I am certain. So as a second method I am creating a VM running 
CENT OS and Bacula on the large S:\drive of the Windows server that has an 
expandable VMDK drive (VMWare). This way my CENT OS/Bacula VM can grow as big 
as it needs to and to CENT OS and Bacula the storage device is just natively 
/storage-array. At least that is one plan anyway.   

We are also "talking about" just buying the Symantec Linux client for backups. 
But the original goal was to use CENT OS for this since our production systems 
are CENT OS.

Okay that's everything I think. Thanks for the help thus far. 

LK
larry.k...@usmetrotel.com

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
nate
Sent: Thursday, June 18, 2009 10:59 AM
To: centos@centos.org
Subject: Re: [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 a

If 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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread nate
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 a

If 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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread Les Mikesell
Kemp, Larry wrote:
> Les,
> 
> Brilliant. Yes, the Windows 2003 Server contains;
> 
> Symantec Antivirus
> Version: 10.1.5.5000 
> Scan Engine: 81.3.0.13
> Realtime Protection: Enabled
> Exclusions: None
> 
> Should I exclude the drive (S:\) on the Windows box in the AV; have you ran 
> into this and did doing this solve it for you? 
> 

I haven't had this problem personally but have seen it mentioned as an 
issue on the backuppc list and other places.  I'd try disabling the 
realtime on-access scan while you do a copy to see if that really is the 
problem, then decide what to do about it.  I don't know if there is any 
way to tune the cifs timeouts to tolerate it or not.

-- 
Les Mikesell
 lesmikes...@gmail.com


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread Kemp, Larry
Les,

Brilliant. Yes, the Windows 2003 Server contains;

Symantec Antivirus
Version: 10.1.5.5000 
Scan Engine: 81.3.0.13
Realtime Protection: Enabled
Exclusions: None

Should I exclude the drive (S:\) on the Windows box in the AV; have you ran 
into this and did doing this solve it for you? 

Thanks,

LK

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Les Mikesell
Sent: Thursday, June 18, 2009 9:46 AM
To: CentOS mailing list
Subject: Re: [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
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread Les Mikesell
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
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CIFS Issue When Copying Large/Many Files From CentOS To Remote Windows 2003 Server Share

2009-06-18 Thread Kemp, Larry
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



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos