"mtime" attribute for the file in gfs2 filesystem is not getting updated after appending the file using ">>"

Solution Unverified - Updated -

Issue

  • After appending the contents to a file created in GFS2 filesystem, the mtime attribute associated with the file is not getting updated.

    [root@machine1]# ls -l
    total 8
    -rw-r--r-- 1 root root 4 Mar 28 19:16 test_file
    [root@machine1]# date
    Wed Mar 28 19:20:08 IST 2012
    [root@machine1]# echo "12345" >> test_file
    [root@machine1]# ls -l
    total 8
    -rw-r--r-- 1 root root 6 Mar 28 19:16 test_file
    [root@machine1]#
    

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Cluster Suite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content