Examples; Repairing A File System; Usage - Red Hat GFS 6.0 Administrator's Manual

Hide thumbs Also See for GFS 6.0:
Table of Contents

Advertisement

Chapter 9. Managing GFS
File
Specifies the file from which to get information.
The
command provides additional action flags (options) not listed in this section. For more
gfs_tool
information about other

9.11.2. Examples

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

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
The
command must only be run on a file system that is unmounted from all nodes.
gfs_fsck
Note
On nodes running Red Hat GFS 6.0 for Red Hat Enterprise Linux 3 Update 5 and later, the
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 cancels the
command. Do not press [Ctr]-[C] unless you want to cancel the command.
gfs_fsck
You can increase the level of verbosity by using the
level again.
You can decrease the level of verbosity by using the
the level again.
The
option opens a file system as read-only and answers no to any queries automatically.
-n
The option provides a way of trying the command to reveal errors without actually allowing the
command to take effect.
gfs_fsck
Refer to the
gfs_fsck
options.

9.12.1. Usage

gfs_fsck
BlockDevice
-y
action flags, refer to the
gfs_tool
man page,
gfs_fsck(8)
gfs_tool
/gfs
.
/gfs/datafile
command.
gfs_fsck
flag. Adding a second
-v
flag. Adding a second
-q
, for additional information about other command
man page.
.
gfs_fsck
flag increases the
-v
flag decreases
-q
109

Advertisement

Table of Contents
loading

Table of Contents