RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 809828 - tail -f does not work with GPFS file systems
Summary: tail -f does not work with GPFS file systems
Keywords:
Status: CLOSED DUPLICATE of bug 769874
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: coreutils
Version: 6.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-04 13:26 UTC by Joe Pope
Modified: 2012-04-04 13:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-04 13:45:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joe Pope 2012-04-04 13:26:09 UTC
Description of problem: tail -f does not work on GPFS file systems.


Version-Release number of selected component (if applicable):
coreutils-8.4-16.el6.x86_64

How reproducible: Write to a file on hostA within a GPFS file system and try to run "tail -f filename" on hostB. The "tail -f" command on hostB will not produce any output although the file is being updated. The "tail -f" command does work correctly on hostA.


Steps to Reproduce:
1.write to a file within a GPFS file system on hostA
2.tail -f that file on hostB
3.the tail -f command will not produce output on hostB
  
Actual results: The "tail -f" command on hostB will not produce any output although the file is being updated.

Expected results: The tail -f command should work the same on hostA and hostB


Additional info: Searches concerning this issue point to a missing or incorrect magic number in the tail code for GPFS

Comment 1 Jim Meyering 2012-04-04 13:37:04 UTC
Thanks for the report.
For reference, this was fixed in upstream coreutils-8.15.
Here's the corresponding NEWS entry:

  * Noteworthy changes in release 8.15 (2012-01-06) [stable]
    ...
    tail -f no longer tries to use inotify on GPFS or FhGFS file systems
    [you might say this was introduced in coreutils-7.5, along with inotify
     support, but the new magic numbers weren't in the usual places then.]

Here's the commit:

  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=d191bfe8a688d40

Comment 3 Ondrej Vasik 2012-04-04 13:45:58 UTC
Already tracked and planned for fix in RHEL-6 ... closing DUPLICATE.

*** This bug has been marked as a duplicate of bug 769874 ***


Note You need to log in before you can comment on or make changes to this bug.