RE: [Samba] tail -f the missing data:2.2.5, 2.2.19-6.2.16,

2002-10-16 Thread Sean Cullen

Yes - RH7.2 + default 2.4 Kernels seem to solve 
the problem. So looks like I'll have to reinstall 
a bunch of machines.

Out of curiosity, if you knew what was causing this
in the 2.2 Kernel, I'd be interested.

Thanks,

Sean.

-Original Message-
From: Urban Widmark [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 21:12
To: Sean Cullen
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] tail -f  the missing data:2.2.5, 2.2.19-6.2.16,


On Wed, 9 Oct 2002, Sean Cullen wrote:

 [Background]
 Redhat 6.2 2.2.19-6.2.16

Any chance of testing this on a 2.4.19 kernel?

/Urban
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] tail -f the missing data:2.2.5, 2.2.19-6.2.16,

2002-10-16 Thread Urban Widmark

On Wed, 16 Oct 2002, Sean Cullen wrote:

 Yes - RH7.2 + default 2.4 Kernels seem to solve 
 the problem. So looks like I'll have to reinstall 
 a bunch of machines.
 
 Out of curiosity, if you knew what was causing this
 in the 2.2 Kernel, I'd be interested.

Most likely smb_revalidate_inode and friends. The client doesn't see the
size change (I believe tail -f looks for a size change ...) so it doesn't
read anything. But when opening for editing the data is checked again and
the changes appear.

It would be possible to compare the code between kernels and fix it in 2.2
also.

/Urban

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] tail -f the missing data:2.2.5, 2.2.19-6.2.16,

2002-10-11 Thread Urban Widmark

On Wed, 9 Oct 2002, Sean Cullen wrote:

 [Background]
 Redhat 6.2 2.2.19-6.2.16

Any chance of testing this on a 2.4.19 kernel?

/Urban

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] tail -f the missing data:2.2.5, 2.2.19-6.2.16,

2002-10-09 Thread Sean Cullen

Hi,

I have a strange problem viewing data in real
time. I wonder can anyone help?

I run tail -f on a file which is served by
a windows 2000 machine. I start a simple
program running on windows 2000 which writes
numbered lines of text to this file. I
notice that tail -f is missing some of
the lines. If I edit the file afterwards
the data is there it's just that tail
seems to miss bits of it when viewing it 
in real time.


[Background]
Redhat 6.2 2.2.19-6.2.16
Samba 2.2.5
Windows 2000

[reproduce by]
cd /share/mount/point
touch sean.txt
tail -f sean.txt | tee /tmp/sean-tail.txt

start program on windows 2000

I stop the Windows 2000 process.

I compare sean.txt and /tmp/sean-tail.txt
and they are different.

[already tried]
upgrading to latest RH kernel and samba stable.
handwritten tool to ensure tail was not acting crazy.

Can anyone help me with this?

I noticed some other reports of problems
with tail -f in the archive, but they
appear to be a different problem.

Thanks,

Sean.


different-content.zip
Description: Zip compressed data