54
Chapter 5. Managing GFS
File
Specifies the file from which to get information.
The
gfs_tool
command provides additional action flags (options) not listed in this sec-
tion. For more information about other
gfs_tool
flags, refer to the
gfs_tool
man page.
5.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
5.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 corrup-
tion may occur. (Journaling cannot be used to recover from storage subsystem failures.)
When that type of corruption occurs, you can recover the GFS file system by using the
gfs_fsck
command.
The
gfs_fsck
command must only be run on a file system that is unmounted from all
nodes.
Note
The
gfs_fsck
command has changed from previous releases of Red Hat GFS in the
following ways:
•
You can no longer set the interactive mode with [Ctrl]-[C]. Pressing [Ctrl]-[C] now can-
cels the
gfs_fsck
command. Do
not
press [Ctrl]-[C] unless you want to cancel the
command.
•
You can increase the level of verbosity by using the
-v
flag. Adding a second
-v
flag
increases the level again.
•
You can decrease the level of verbosity by using the
-q
flag. Adding a second
-q
flag
decreases the level again.
•
The
-n
option opens a file system as read-only and answers
no
to any queries au-
tomatically. The option provides a way of trying the command to reveal errors without
actually allowing the
gfs_fsck
command to take effect.
Содержание GFS 6.1 -
Страница 1: ...Red Hat GFS 6 1 Administrator s Guide ...
Страница 6: ......
Страница 14: ...viii Introduction ...
Страница 24: ...10 Chapter 1 GFS Overview ...
Страница 28: ...14 Chapter 2 System Requirements ...
Страница 40: ...26 Chapter 3 Installing GFS ...
Страница 72: ...58 Chapter 5 Managing GFS ...
Страница 80: ...66 Appendix A Upgrading GFS ...
Страница 84: ......