Product SiteDocumentation Site

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