Product SiteDocumentation Site

3.12. Displaying Extended GFS Information and Statistics

You can use the gfs_tool command to gather a variety of details about GFS. This section describes typical use of the gfs_tool command for displaying space usage, statistics, and extended status.
The gfs_tool command provides additional action flags (options) not listed in this section. For more information about other gfs_tool flags, refer to the gfs_tool man page.

3.12.1. Displaying GFS Space Usage

You can use the df flag of the gfs_tool to display a space-usage summary of a given file system. The information is more detailed than a standard df.

Usage

gfs_tool df MountPoint
MountPoint
Specifies the file system to which the action applies.

Example

This example reports extended file system usage about file system /mnt/gfs.
[root@ask-07 ~]# gfs_tool df /mnt/gfs
/gfs:
  SB lock proto = "lock_dlm"
  SB lock table = "ask_cluster:mydata1"
  SB ondisk format = 1309
  SB multihost format = 1401
  Block size = 4096
  Journals = 8
  Resource Groups = 605
  Mounted lock proto = "lock_dlm"
  Mounted lock table = "ask_cluster:mydata1"
  Mounted host data = "jid=0:id=786433:first=1"
  Journal number = 0
  Lock module flags = 0
  Local flocks = FALSE
  Local caching = FALSE
  Oopses OK = FALSE

  Type           Total          Used           Free           use%
  ------------------------------------------------------------------------
  inodes         5              5              0              100%
  metadata       78             15             63             19%
  data           41924125       0              41924125       0%