3.12.1. Displaying GFS Space Usage

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%

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.