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 Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Setting the
directio
Flag
gfs_tool setflag directio File
gfs_tool setflag directio File
Clearing the
directio
Flag
gfs_tool clearflag directio File
gfs_tool clearflag directio File
File
- Specifies the file where the
directio
flag is assigned.
Example Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
In this example, the command sets the
directio
flag on the file named datafile
in directory /gfs1
.
gfs_tool setflag directio /gfs1/datafile
gfs_tool setflag directio /gfs1/datafile