[Samba] File corruption with two Samba servers

2009-12-17 Thread Milos Rancic
I have two samba servers. One is "a proxy" for another; i.e. windows clients access to the first via the second. When i copy a file from "proxy" to the destination server via samba, everything is OK. However, when Windows (XP) users copy, let's say a word document, file becomes corrupted (probably,

Re: [Samba] file corruption

2006-03-22 Thread urza
simo wrote: > If you are able to reliably reproduce the problem we can see if t is a > client or samba bug, if you can reproduce it only on a samba server but ok, i think i got the point. Now I've got oplock level one enabled (as default), i try to disable it on samba server and on client side. I

Re: [Samba] file corruption

2006-03-21 Thread urza
simo wrote: > made the corruption. Differences even at the redirector level on how > oplocks are used may well account for shared files corruption. so it could be a samba problem? > not on a windows hosted share, we are really interested in seeing traces > and samba at debug level 10. ok, if the p

Re: [Samba] file corruption

2006-03-21 Thread Markus Korth
HiHo! urza wrote: > Hi to all! > I've been using samba for about six months: I've set up a file server, > replacing a small windows 2000 server. I'm using samba 3.0.21c on a > linux slackware 10.2. It is used to share two spreadsheet programs and > file connected to them... > Everything runs fine,

Re: [Samba] file corruption

2006-03-20 Thread simo
On Mon, 2006-03-20 at 21:39 +0100, urza wrote: > Hi to all! > I've been using samba for about six months: I've set up a file server, > replacing a small windows 2000 server. I'm using samba 3.0.21c on a > linux slackware 10.2. It is used to share two spreadsheet programs and > file connected to the

[Samba] file corruption

2006-03-20 Thread urza
Hi to all! I've been using samba for about six months: I've set up a file server, replacing a small windows 2000 server. I'm using samba 3.0.21c on a linux slackware 10.2. It is used to share two spreadsheet programs and file connected to them... Everything runs fine, except for a file, which is pr

Re: [Samba] file corruption with write cache

2004-07-12 Thread Holger Krull
Can you reproduce this with a different application than coreldraw ? One that ships with Windows maybe ? So far i know none, but i will test. When you save the new file what happens ? Does the app abort with an error report ? No, the app is perfectly happy. How do you know the file is corrupt ? T

Re: [Samba] file corruption with write cache

2004-07-12 Thread Jeremy Allison
On Tue, Jul 13, 2004 at 12:33:44AM +0200, Holger Krull wrote: > > >Can you tell me exactly how you reproduce this ? > > Open a file on the write cached share, in this case a coreldraw file (size > 24K). Save it with a different name, it only happens if a new file gets > created. Sometimes the f

Re: [Samba] file corruption with write cache

2004-07-12 Thread Holger Krull
Can you tell me exactly how you reproduce this ? Open a file on the write cached share, in this case a coreldraw file (size 24K). Save it with a different name, it only happens if a new file gets created. Sometimes the first save succeds without error. After the first one fails, no later write suc

Re: [Samba] file corruption with write cache

2004-07-12 Thread Jeremy Allison
On Mon, Jul 12, 2004 at 10:17:57PM +0200, Holger Krull wrote: > Hello, > FYI, i noticed that using > write cache size = 131072 > on a share, leads to corrupted files from some applications. Only one > client is accessing the file. > In particular with coreldraw this can be reproduced. Can you tel

[Samba] file corruption with write cache

2004-07-12 Thread Holger Krull
Hello, FYI, i noticed that using write cache size = 131072 on a share, leads to corrupted files from some applications. Only one client is accessing the file. In particular with coreldraw this can be reproduced. Setup: Server: samba 3.0.4-SUSE Client: Windows XP Pro [raid1] comment = 1

Re: [Samba] File corruption

2004-06-15 Thread Jeremy Allison
On Tue, Jun 15, 2004 at 08:59:37AM -0400, [EMAIL PROTECTED] wrote: > > Of course, all those things really only help if you can reproduce > the problem to some degree. We had our hopes set high on strace, but after > having experienced a known kernel bug, we could not use it. Since we had > s

RE: [Samba] File corruption

2004-06-15 Thread mbc
>Now, about once every week or so, we get a file corruption, and last week (even after >upgrading some NICs) seemed to be even worse, with 5 or 6 problems. >Because we had no problems before changing servers, I think hardware errors >are probably not to blame, Hi Warren! Unfortunately, I

Re: [Samba] File corruption

2004-06-13 Thread Jeremy Allison
On Sun, Jun 13, 2004 at 10:00:23PM -0500, Warren Odom wrote: > Postscript to my last message: I was hoping you could tell me if there ware > a "Samba exerciser" program that would simulate this sort of file activity, > and would report any errors along with the valuable information of which > work

Re: [Samba] File corruption

2004-06-13 Thread Warren Odom
Postscript to my last message: I was hoping you could tell me if there ware a "Samba exerciser" program that would simulate this sort of file activity, and would report any errors along with the valuable information of which workstation caused the problem. One or two of the archived threads I saw

Re: [Samba] File corruption

2004-06-13 Thread Warren Odom
Thanks for answering my message so quickly. > I don't know of any reproducible data corruption > bugs in the current versions of the code (naturally if I did I'd be working > full time on fixing them immediately :-). Yes, that's the impression I got after perusing old discussion threads, includin

Re: [Samba] File corruption

2004-06-13 Thread Jeremy Allison
On Sun, Jun 13, 2004 at 08:05:02PM -0500, Warren Odom wrote: > > Week before last we had 3 corruptions in 2 days. After the first two, > that's when I finally turned on #3 above, and then within a few hours had > the third corruption. The boss is really getting upset that I have to kick > everyo

[Samba] File corruption

2004-06-13 Thread Warren Odom
We have moved our 3rd-party multiuser billing system database files from Novell NetWare to Samba (first 2.2.8a, and now, just last Friday evening, upgraded to 3.0.2a) on Mandrake Linux 9.2 (kernel version 2.4). Now, about once every week or so, we get a file corruption, and last week (even after u

Re: [Samba] File Corruption

2003-08-03 Thread John H Terpstra
On Sun, 3 Aug 2003, Jeremy Allison wrote: > On Sat, Aug 02, 2003 at 09:56:31PM -0400, Scott Sipe wrote: > > > > Ok, I added the auditing module to my main share. As a test I > > redownloaded the mozilla installer and put it in it's own directory on > > the samba share. I took a md5 immediately a

Re: [Samba] File Corruption

2003-08-03 Thread Jeremy Allison
On Sat, Aug 02, 2003 at 09:56:31PM -0400, Scott Sipe wrote: > > Ok, I added the auditing module to my main share. As a test I > redownloaded the mozilla installer and put it in it's own directory on > the samba share. I took a md5 immediately after downloading it. I then > tried installing to

Re: [Samba] File Corruption

2003-08-02 Thread Scott Sipe
Not only .exe files, also .CAB file for MS Office (the cab file is definitely changing). I agree with you that it definitely seems like a virus--I do regular scans on the samba share from FreeBSD with the McAfee scanner, "uvscan" and it never turns anything up more than the occasional, mostly b

Re: [Samba] File Corruption

2003-08-02 Thread Scott Sipe
Jeremy Allison wrote: On Fri, Aug 01, 2003 at 11:27:44PM -0400, Scott Sipe wrote: As another example, I had a mozilla installer sitting in a directory on the share--no one but me would have touched it. Last used ~1 month ago. Tried it today and it was corrupt. [snip] Does anyone have a c

Re: [Samba] File Corruption

2003-08-02 Thread Rashkae
You've only seen corruption on files of .exe type, while you have data files regularly being copied back and forth? My first guess would be to check and double check for a virus on any pc that has access to that share. There is an older Dos virus I've seen around that will mess up installers and

Re: [Samba] File Corruption

2003-08-02 Thread Jeremy Allison
On Fri, Aug 01, 2003 at 11:27:44PM -0400, Scott Sipe wrote: > > As another example, I had a mozilla installer sitting in a directory on > the share--no one but me would have touched it. Last used ~1 month ago. > Tried it today and it was corrupt. > > I personally have only seen corruptio

[Samba] File Corruption

2003-08-01 Thread Scott Sipe
Running FreeBSD 4.8 (and in the past have run versions of FreeBSD on this current server going back to 4.3 iirc) Samba 2.2.8a (in the past have run previous versions) Computer is a Athlon, with a highpoint raid controller, with 2 WD harddrives RAID: ar0 Master: ad4 ATA/ATAPI rev 5 Master: ad

Re: [Samba] file corruption problem - smb log informationwrittento files on shares

2003-03-15 Thread Andrew Bartlett
On Sun, 2003-03-16 at 01:37, Arva Clarke wrote: > Hi > > I am having a really strange problem with my samba server I am currently > running samba-2.2.1a-4 on a Redhat 7.2 box (dual PII processors, IDE raid > promise, I GB RAM). Its being operating more or less smoothly for the last 6 > months. Sud

[Samba] file corruption problem - smb log informationwritten to files on shares

2003-03-15 Thread Arva Clarke
Hi I am having a really strange problem with my samba server I am currently running samba-2.2.1a-4 on a Redhat 7.2 box (dual PII processors, IDE raid promise, I GB RAM). Its being operating more or less smoothly for the last 6 months. Suddenly users started to complain about corrupted files on sha

RE: [Samba] file corruption problem, HELP

2002-12-05 Thread Jacob Smith
upgrading to 2.2.6 or above takes care of this problem. Have not upgraded yet so I am still no sure -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Sent: Thursday, December 05, 2002 12:23 AM To: [EMAIL PROTECTED] Subject: [Samba] file corrupti

[Samba] file corruption problem, HELP

2002-12-05 Thread Kevin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am running Samba 2.2.2 with winbind authenticating to an NT 4.0 PDC. All of my clients are Windows XP Pro. This box has been running fine for several months. In fact my uptime was 185 days as of last night. However, for various reasons i upgraded

Re: [Samba] File corruption with write cache enabled - patch included

2002-11-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 11 Nov 2002, Bo Jacobsen wrote: > > Damn good call ! Very good bugfix. I've committed it to all > > Samba branches. Thanks a *lot* for this fix ! > > > > Jeremy. > > -- > > Is this patch included in 2.2.6. Yes > > >Perhaps you should warn

Re: [Samba] File corruption with write cache enabled - patch included

2002-11-11 Thread Bo Jacobsen
> On Thu, Oct 03, 2002 at 12:52:10PM +0200, Rasmus Borup Hansen wrote: > > I recently found out that write caching in samba sometimes leads to > > file corruption (the setup program for Sophos Antivirus generates > > corrupted files when making a "central installation" on a Samba > > share). > > >

Re: [Samba] File corruption with write cache enabled - patch included

2002-10-03 Thread jra
On Thu, Oct 03, 2002 at 12:52:10PM +0200, Rasmus Borup Hansen wrote: > I recently found out that write caching in samba sometimes leads to > file corruption (the setup program for Sophos Antivirus generates > corrupted files when making a "central installation" on a Samba > share). > > This morni

[Samba] File corruption with write cache enabled - patch included

2002-10-03 Thread Rasmus Borup Hansen
I recently found out that write caching in samba sometimes leads to file corruption (the setup program for Sophos Antivirus generates corrupted files when making a "central installation" on a Samba share). This morning I tracked down the place in the Samba code that leads to corruption. Here is w

[Samba] File corruption using samba

2002-09-27 Thread Irfan . Syed
Hello everyone, I am running Compaq/Dec Unix 4.0e with samba 2.0.0-beta1. The shares are being used for Lotus Domino 5.0, and every now and then we are getting file I/O errors and the mail files are getting corrupted. Has anyone seen this before or knows where I can go to get some informat