Rechercher une page de manuel
gfs2_tool
Langue: en
Version: 39865 (fedora - 16/08/07)
Section: 8 (Commandes administrateur)
Sommaire
NAME
gfs2_tool - interface to gfs2 ioctl/sysfs callsSYNOPSIS
gfs2_tool COMMAND [OPTION]...DESCRIPTION
gfs2_tool is an interface to a variety of the GFS2 ioctl/sysfs calls.COMMANDS
- clearflag Flag File1 File2 ...
- Clear an attribute flag on a file. See setflag for available flags.
- counters MountPoint [-c]
- Print out statistics about a filesystem. If -c is used, gfs2_tool continues to run printing out the stats once a second.
- freeze MountPoint
- Freeze (quiesce) a GFS2 cluster.
- getargs MountPoint
- Get the GFS-specific mount arguments used to mount a filesystem.
- gettune MountPoint
- Print out the current values of the tuning parameters in a running filesystem.
- list
- List the currently mounted GFS2 filesystems. Each line represents a filesystem. The columns represent (in order): 1) An identifier that represents the mounted filesystem. 2) The name of the device that holds the filesystem (well, the name as the Linux kernel knows it).
- sb device proto [newvalue]
- View (and possibly replace) the name of the locking protocol in the file system superblock. The file system shouldn't be mounted by any client when you do this.
- sb device table [newvalue]
- View (and possibly replace) the name of the locking table in the file system superblock. The file system shouldn't be mounted by any client when you do this.
- sb device ondisk [newvalue]
- View (and possibly replace) the ondisk format number in the file system superblock. The file system shouldn't be mounted by any client when you do this. No one should have to use this.
- sb device multihost [newvalue]
- View (and possibly replace) the multihost format number in the file system superblock. The file system shouldn't be mounted by any client when you do this. No one should have to use this.
- sb device all
- Print out the superblock.
- setflag Flag File1 File2 ...
- Set an attribute flag on a file. There are eight currently supported flags. They are jdata, directio, immutable, appendonly, noatime, sync, inherit_jdata, and inherit_directio.
The jdata flag causes all the data written to a regular file to be journaled. The jdata flag can only be set (or cleared) if the file is zero length.The directio flag causes all I/O to a regular file to be Direct I/O, even if the O_DIRECT flag isn't used on the open() command.
The immutable flag marks the file immutable. The behavior is similar to the immutable flag in the ext2/3 filesystems. All write access is denied.
The appendonly flag causes all data to be written at the end of the file.
The noatime flag disables updates to the file's access time.
The sync flag causes data written to the file to be sync'ed to stable storage immediately.
The inherit_jdata flag is set on a directory. It causes all new regular files created in that directory automatically inherit the jdata flag. The inherit_jdata is also inherited by any new subdirectories created in that directory.
The inherit_directio flag is set on a directory. It causes all new regular files created in that directory automatically inherit the directio flag. The inherit_directio is also inherited by any new subdirectories created in that directory.
- settune MountPoint parameter newvalue
- Set the value of tuning parameter. Use gettune for a listing of tunable parameters.
- shrink MountPoint
- Causes any unused locks to be thrown out of memory.
- unfreeze MountPoint
- Unfreeze a GFS2 cluster.
- version
- Print out the version of GFS2 that this program goes with.
- withdraw MountPoint
- Cause GFS2 to abnormally shutdown a given filesystem on this node.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre