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