![Red Hat GLOBAL FILE SYSTEM 5.2 Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/red-hat/global-file-system-5-2/global-file-system-5-2_manual_1427542043.webp)
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
10. Configuring
atime
Updates
Examples
33
Содержание GLOBAL FILE SYSTEM 5.2
Страница 4: ...Global File System...
Страница 6: ...vi...