1
2gfs2_fsck(8)                System Manager's Manual               gfs2_fsck(8)
3
4
5

NAME

7       gfs2_fsck - Offline GFS2 file system checker
8
9

SYNOPSIS

11       gfs2_fsck [OPTION]... DEVICE
12
13

WARNING

15       All  GFS2  nodes must have the GFS2 filesystem unmounted before running
16       gfs2_fsck.  Failure to unmount all nodes may result in filesystem  cor‐
17       ruption.
18
19

DESCRIPTION

21       gfs2_fsck  will  check  that the GFS2 file system on a device is struc‐
22       turally valid.  It should not be run on a mounted file system.  If file
23       system  corruption is detected, it will attempt to repair the file sys‐
24       tem.  There is a limit to what gfs2_fsck can  do.   If  important  file
25       system structures are destroyed, such that the checker cannot determine
26       what the repairs should be, reparations could fail.
27
28       GFS2 is a journaled file system, and as such should be able  to  repair
29       damages  to  the  file system on its own.  However, faulty hardware has
30       the ability to write incomplete blocks to a file system thereby causing
31       corruption  that GFS2 cannot fix.  The first step to ensuring a healthy
32       file system is the selection of reliable hardware (i.e. storage systems
33       that will write complete blocks - even in the event of power failure).
34
35

OPTIONS

37       -h     Help.
38
39              This prints out the proper command line usage syntax.
40
41       -q     Quiet.
42
43       -n     No to all questions.
44
45              By  specifying this option, gfs2_fsck will only show the changes
46              that would be made, but not make any changes to the filesystem.
47
48       -V     Version.
49
50              Print out the program version information.
51
52       -v     Verbose operation.
53
54              Print more information while running.
55
56       -y     Yes to all questions.
57
58              By specifying this option, gfs2_fsck will not prompt before mak‐
59              ing changes.
60
61
62
63                                                                  gfs2_fsck(8)
Impressum