3.12.3. Displaying Extended Status

3.12.3. Displaying Extended Status

You can use the stat flag of the gfs_tool to display extended status information about a GFS file.

Note

The information that the gfs_tool stat command displays reflects internal file system information. This information is intended for development purposes only.

Usage

gfs_tool stat File
File

Specifies the file from which to get information.

Example

This example reports extended file status about file /gfs/datafile.

[root@tng3-1 gfs]# gfs_tool stat /gfs/datafile
  mh_magic = 0x01161970
  mh_type = 4
  mh_generation = 3
  mh_format = 400
  mh_incarn = 1
  no_formal_ino = 66
  no_addr = 66
  di_mode = 0600
  di_uid = 0
  di_gid = 0
  di_nlink = 1
  di_size = 503156
  di_blocks = 124
  di_atime = 1207672023
  di_mtime = 1207672023
  di_ctime = 1207672023
  di_major = 0
  di_minor = 0
  di_rgrp = 17
  di_goal_rgrp = 17
  di_goal_dblk = 371
  di_goal_mblk = 44
  di_flags = 0x00000000
  di_payload_format = 0
  di_type = 1
  di_height = 1
  di_incarn = 0
  di_pad = 0
  di_depth = 0
  di_entries = 0
  no_formal_ino = 0
  no_addr = 0
  di_eattr = 0
  di_reserved =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00

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.