"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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.