bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31184: tail -f on Network FS not refreshing as soon as the file is c


From: Pádraig Brady
Subject: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.
Date: Tue, 17 Apr 2018 00:29:18 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]