Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




4.7.3. GFS Directory Attribute

The gfs_tool command can be used to assign (set) a direct I/O attribute flag, inherit_directio, to a GFS directory. Enabling the inherit_directio flag on a directory causes all newly created regular files in that directory to automatically inherit the directio flag. Also, the inherit_directio flag is inherited by any new subdirectories created in the directory. The inherit_directio flag can also be cleared.


Setting the inherit_directio flag

gfs_tool setflag inherit_directio Directory

Clearing the inherit_directio flag

gfs_tool clearflag inherit_directio Directory

Specifies the directory where the inherit_directio flag is set.


In this example, the command sets the inherit_directio flag on the directory named /gfs1/data/.

gfs_tool setflag inherit_directio /gfs1/data/

  Published under the terms of the Open Publication License Design by Interspire