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
cancels 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
automatically. The option provides a way of trying the command to reveal
errors without actually allowing the
gfs_fsck
command to take effect.
Refer to the
gfs_fsck
man page,
gfs_fsck(8)
, for additional information about
other command options.
Usage
gfs_fsck -y BlockDevice
-y
The
-y
flag causes all questions to be answered with
yes
. With the
-y
flag specified, the
gfs_fsck
command does not prompt you for an answer before making changes.
BlockDevice
Specifies the block device where the GFS file system resides.
Example
In this example, the GFS file system residing on block device
/dev/vg01/lvol0
is repaired. All
queries to repair are automatically answered with
yes
.
gfs_fsck -y /dev/vg01/lvol0
Chapter 4. Managing GFS
40
Содержание GLOBAL FILE SYSTEM 4.5
Страница 1: ...Global File System 4 5 Red Hat Global File System ISBN N A Publication date ...
Страница 4: ...Global File System ...
Страница 11: ...Table 1 Recommended References Table Recommended References xi ...
Страница 12: ...xii ...
Страница 24: ...12 ...
Страница 55: ...fileC Example 43 ...
Страница 56: ...44 ...
Страница 60: ...48 ...