Usage; Examples; Atime Updates - Red Hat GFS 6.0 Administrator's Manual

Hide thumbs Also See for GFS 6.0:
Table of Contents

Advertisement

Chapter 9. Managing GFS
tory (and all its subdirectories). Existing files with zero length can also have data journaling turned on
or off.
Using the
gfs_tool
or on a zero-length file by setting the
file, respectively. The directory and file attribute flags can also be cleared.

9.8.1. Usage

Setting and Clearing the
gfs_tool setflag
gfs_tool clearflag
Setting and Clearing the
gfs_tool setflag
gfs_tool clearflag
Directory
Specifies the directory where the flag is set or cleared.
File
Specifies the zero-length file where the flag is set or cleared.

9.8.2. Examples

This example shows setting the
or any of its subdirectories will have the
files will be journaled.
gfs_tool setflag inherit_jdata /gfs1/data/
This example shows setting the
the file will be journaled.
gfs_tool setflag jdata /gfs1/datafile
9.9. Configuring
Each file inode and directory inode has three time stamps associated with it:
— The last time the inode status was changed
ctime
— The last time the file (or directory) data was modified
mtime
— The last time the file (or directory) data was accessed
atime
command, data journaling is enabled on a directory (and all its subdirectories)
inherit_jdata
inherit_jdata
Directory
inherit_jdata
Directory
inherit_jdata
Flag
jdata
File
jdata
File
jdata
inherit_jdata
flag on a file. The file must be zero size. Any data written to
jdata
Updates
atime
or
jdata
Flag
flag on a directory. All files created in the directory
flag assigned automatically. Any data written to the
jdata
attribute flags to the directory or
105

Advertisement

Table of Contents
loading

Table of Contents