Configuring Updates - Red Hat GLOBAL FILE SYSTEM 5.2 Manual

Table of Contents

Advertisement

gfs_tool setflag inherit_jdata Directory
gfs_tool clearflag inherit_jdata Directory
Setting and Clearing the
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
directory or any of its subdirectories will have the
written to the files will be journaled. This example also shows the
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
set this flag. Any data written to the file will be journaled. This example also shows the
command you can use to verify what flags are set for a file; the output has been
gfs_tool stat
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
10. Configuring
Flag
jdata
inherit_jdata
flag on a file. The file must have a size of zero when you
jdata
Updates
atime
flag on a directory. All files created in the
flag assigned automatically. Any data
jdata
gfs_tool stat
Examples
command you
33

Advertisement

Table of Contents
loading

Table of Contents