Red Hat GLOBAL FILE SYSTEM 5.2 Manual page 53

Table of Contents

Advertisement

other command options.
Usage
gfs_fsck -y BlockDevice
-y
The
flag causes all questions to be answered with
-y
command does not prompt you for an answer before making changes.
gfs_fsck
BlockDevice
Specifies the block device where the GFS file system resides.
Example
In this example, the GFS file system residing on block device
queries to repair are automatically answered with
(verbose) option, the sample output is extensive and repetitive lines have been elided.
[root@tng3-1]# gfs_fsck -v -y /dev/gfsvg/gfslv
Initializing fsck
Initializing lists...
Initializing special inodes...
Validating Resource Group index.
Level 1 check.
92 resource groups found.
(passed)
Setting block ranges...
Creating a block list of size 9175040...
Clearing journals (this may take a while)Clearing journal 0
Clearing journal 1
Clearing journal 2
...
Clearing journal 10
Journals cleared.
Starting pass1
Checking metadata in Resource Group 0
Checking metadata in Resource Group 1
...
Checking metadata in Resource Group 91
Pass1 complete
Starting pass1b
Looking for duplicate blocks...
No duplicate blocks found
Pass1b complete
. With the
yes
-y
/dev/gfsvg/gfslv
. Because this example uses the
yes
Usage
flag specified, the
is repaired. All
-v
43

Advertisement

Table of Contents
loading

Table of Contents