Configuring Atime Updates - Red Hat ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM:
Table of Contents

Advertisement

Chapter 3. Managing GFS
Usage
Setting and Clearing the inherit_jdata Flag
gfs_tool setflag inherit_jdata Directory
gfs_tool clearflag inherit_jdata Directory
Setting and Clearing the jdata Flag
gfs_tool setflag jdata File
gfs_tool clearflag jdata File
Directory
Specifies the directory where the flag is set or cleared.
File
Specifies the zero-length file where the flag is set or cleared.
Examples
This example shows setting the inherit_jdata flag on a directory. All files created in the directory
or any of its subdirectories will have the jdata flag assigned automatically. Any data written to the
files will be journaled. This example also shows the gfs_tool stat command you can use to verify
what flags are set for a directory; the output has been elided to show only the relevant information.
[root@tng3-1]# gfs_tool setflag inherit_jdata /mnt/gfs/data
[root@tng3-1]# gfs_tool stat /mnt/gfs/data
...
Flags:
inherit_jdata
This example shows setting the jdata flag on a file. The file must have a size of zero when you set
this flag. Any data written to the file will be journaled. This example also shows the gfs_tool stat
command you can use to verify what flags are set for a file; the output has been elided to show only
the relevant information.
[root@tng3-1]# gfs_tool setflag jdata /mnt/gfs/datafile
[root@tng3-1]# gfs_tool stat /mnt/gfs/datafile
...
Flags:
jdata

3.11. Configuring atime Updates

Each file inode and directory inode has three time stamps associated with it:
• ctime — The last time the inode status was changed
• mtime — The last time the file (or directory) data was modified
• atime — The last time the file (or directory) data was accessed
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Global file system

Table of Contents