This example reports extended file system usage about file system
gfs_tool df /gfs
This example reports extended file status about file
gfs_tool stat /gfs/datafile
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. (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
command.
The
command must only be run on a file system that is unmounted from all nodes.
gfs_fsck
Note
The
gfs_fsck
the following ways:
• You can no longer set the interactive mode with Ctrl-C. Pressing Ctrl-C now
cancels the
cancel the command.
• You can increase the level of verbosity by using the
flag increases the level again.
-v
• You can decrease the level of verbosity by using the
flag decreases the level again.
-q
• The
-n
automatically. The option provides a way of trying the command to reveal
errors without actually allowing the
Refer to the
other command options.
Usage
command has changed from previous releases of Red Hat GFS in
command. Do not press Ctrl-C unless you want to
gfs_fsck
option opens a file system as read-only and answers
man page,
gfs_fsck
Repairing a File System
/gfs
.
/gfs/datafile
-v
-q
command to take effect.
gfs_fsck
, for additional information about
gfs_fsck(8)
.
gfs_fsck
flag. Adding a second
flag. Adding a second
to any queries
no
39
Need help?
Do you have a question about the GLOBAL FILE SYSTEM 5.0 and is the answer not in the manual?
Questions and answers