delete on close problem
scott at bridgewater.edu
Tue Nov 13 15:29:01 GMT 2001
We setup a test scenario as you requested using a copy of W2K server. The
w2k->w2k file save worked fine using the same client that fails for
current Samba CVS with oplocks on. In both the w2k->w2k and
w2k->no_oplock_samba, I see a transact2 call and a file delete immediately
following the close which allows the succeeding open to happen.
Effectively w2k->w2k works but w2k->samba_with_oplocks fails. Since the
problem might be related to something outside of the immediate sequence
we've been browsing, I've stuck a gzipped tar on the web with three log
files for your review. At
http://www.bridgewater.edu/~scott/tmp_files.tar.gz you'll find the samba
debug files and the text output of netmon for w2k->w2k. Specifically, the
tar file includes
I hope that this gives you a clue as to what's wrong.
On Tue, 13 Nov 2001, Jeremy Allison wrote:
> On Tue, Nov 13, 2001 at 02:09:31PM -0500, Scott Moomaw wrote:
> > > So it isn't the bug I thought it was. Now, can you get a
> > > NetMon trace between W2K client -> W2K server doing exactly
> > > the same thing ? Is so, can you send me the .cap file so I
> > > can take a look and try and match it with the Samba log ?
> > > (Or also do a Netmon cap of W2K to Samba and send both).
> > I'll see what we can get for you. We don't have a W2K server here so I
> > can't get that part.
> > > Of course, what I'd really like is a method of reproducing
> > > this problem here ? Can you tell me how to do this ? As I
> > > recall, you did try but it was not reproducible here. There
> > > must be something missing in the instructions given, as I'm usually
> > > able to reproduce problems like the 4gb write etc. once people
> > > give *explicit* instructions (with the 4gb problem it was
> > > to do a copy filea+fileb dest, not just a copy bigfile dest :-).
> > It's easy to reproduce this on our systems just by attempting to create a
> > new document using Frontpage 2000 or Word 2000. I think that you haven't
> > been able to reproduce it because of the strange circumstance under which
> > this began. We use Command Antivirus for Windows 2000 on our desktops.
> > After we upgraded to version 4.62.0 of the antivirus software, we began to
> > experience this regularly as long as oplocks are on. With oplocks off, I
> > see an unlink request after the second open which allows things to
> > succeed. Reproducing the problem seems to involve using the specific
> > antivirus package on the client.
> It's possible this is a generic bug with the antivirus
> software, which would happen against a Windows server also...
> If you have w2k clients you should be able to use on of
> them as a test server for 5 clients or so in order to
> test if the problem still occurs w2k -> w2k.
Scott Moomaw, Network Administrator Scott at Bridgewater.edu
Bridgewater College, IT Center
Bridgewater, VA 22812
Phone (540) 828 - 8000 x5437 FAX: (540) 828 - 5493
More information about the samba-technical