GNU bug report logs -
#31184
tail -f on Network FS not refreshing as soon as the file is changed.
Previous Next
Full log
View this message in rfc822 format
Yes, it didn't work either.
The closest is this one(below), but still the update is every second only.
# tail --follow=name --max-unchanged-stats=1 --sleep-interval=1 /media/samba/test.file
Thanks,
Jewsco
-----Original Message-----
From: Erik Auerswald [mailto:auerswal <at> unix-ag.uni-kl.de]
Sent: Tuesday, April 17, 2018 11:06 AM
To: Jewsco Pius Jacquez <JewscoPius.Jacquez <at> Amdocs.com>
Cc: Pádraig Brady <P <at> draigBrady.com>; 31184 <at> debbugs.gnu.org
Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.
Hi Jewsco,
did you already try the -F option instead of -f?
Thanks,
Erik
On Tue, Apr 17, 2018 at 03:46:27PM +0000, Jewsco Pius Jacquez wrote:
> Padraig, thanks for your response,
>
> The ---disable-inotify didn't refresh either.
>
> [root <at> cmilsbtest03 ~]# stat -f -c '%t %T' /media/samba/test.file
> ff534d42 cifs
> [root <at> cmilsbtest03 ~]# df -h /media/samba/test.file
> Filesystem Size Used Avail Use% Mounted on
> //10.124.61.52/finance
> 14G 13G 1.6G 89% /media/samba
> [root <at> cmilsbtest03 ~]# grep /media/samba /proc/mounts
> //10.124.61.52/finance/ /media/samba cifs
> rw,relatime,sec=ntlm,cache=loose,unc=\134\13410.124.61.52\134finance,u
> sername=,uid=0,noforceuid,gid=0,noforcegid,addr=10.124.61.52,unix,posi
> xpaths,serverino,acl,rsize=1048576,wsize=65536,echo_interval=60,actime
> o=1 0 0
> [root <at> cmilsbtest03 ~]#
>
>
> Thanks,
> Jewsco
>
>
> -----Original Message-----
> From: Pádraig Brady [mailto:P <at> draigBrady.com]
> Sent: Tuesday, April 17, 2018 2:29 AM
> To: Jewsco Pius Jacquez <JewscoPius.Jacquez <at> Amdocs.com>;
> 31184 <at> debbugs.gnu.org
> Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.
>
> On 16/04/18 10:11, Jewsco Pius Jacquez wrote:
> > Hello,
> >
> > We have a legacy application that is using tail -f command in the application and is running in Redhat 9 under a shared Samba filesystem.
> >
> > We want to migrate the application to RHEL7 and we noticed that the tail -f command here is not refreshing as soon as the file get changed. In Redhat 9, it is working fine, every write on the file got reflected straight away(no waiting interval).
> >
> > Is there a way that we can make the tail -f working as it was in Redhat 9? For this reason, we are not able to migrate our Legacy application.
>
> To get around the issue, the undocumented ---disable-inotify option
> may help (note the three dashes)
>
> If that does help then there is an issue with the misdetection of a known file system as local, when it should be treated as remote.
> Can you show the file system type for the file you're trying to tail, using:
>
> stat -f -c '%t %T' /path/to/your/file
>
> cheers,
> Pádraig
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement,
>
> you may review at https://www.amdocs.com/about/email-disclaimer
> <https://www.amdocs.com/about/email-disclaimer>
>
>
>
>
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer <https://www.amdocs.com/about/email-disclaimer>
This bug report was last modified 6 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.