4.7.2. GFS File Attribute

4.7.2. GFS File Attribute

4.7.2. GFS File Attribute

The gfs_tool command can be used to assign (set) a direct I/O attribute flag, directio, to a GFS file. The directio flag can also be cleared.

Usage

Setting the directio Flag

gfs_tool setflag directio File

Clearing the directio Flag

gfs_tool clearflag directio File
File

Specifies the file where the directio flag is assigned.

Example

In this example, the command sets the directio flag on the file named datafile in directory /gfs1.

gfs_tool setflag directio /gfs1/datafile