102
Chapter 9. Managing GFS
9.11. Displaying Extended GFS Information and Statistics
A variety of details can be gathered about GFS using the
gfs_tool
command. Typical usage of the
gfs_tool
command is described here.
9.11.1. Usage
Displaying Statistics
gfs_tool
counters
MountPoint
The
counters
action flag displays statistics about a file system. If
-c
is used, the
gfs_tool
com-
mand continues to run, displaying statistics once per second.
Displaying Space Usage
gfs_tool
df
MountPoint
The
df
action flag displays a space-usage summary of a given file system. The information is more
detailed than a standard
df
.
Displaying Extended Status
gfs_tool
stat
File
The
stat
action flag displays extended status information about a file.
MountPoint
Specifies the file system to which the action applies.
File
Specifies the file from which to get information.
The
gfs_tool
command provides additional action flags (options) not listed in this section. For more
information about other
gfs_tool
action flags, refer to the
gfs_tool
man page.
9.11.2. Examples
This example reports extended file system usage about file system
/gfs
.
gfs_tool df /gfs
This example reports extended file status about file
/gfs/datafile
.
gfs_tool stat /gfs/datafile
9.12. Repairing a File System
When nodes fail with the file system mounted, file system journaling allows fast recovery. However, if
a storage device loses power or is physically disconnected, file system corruption may occur. (Journal-
ing cannot be used to recover from storage subsystem failures.) When that type of corruption occurs,
the GFS file system can be recovered by using the
gfs_fsck
command.
The
gfs_fsck
command must only be run on a file system that is unmounted from all nodes.
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...