fsck.gfs2

Langue: en

Version: 175217 (fedora - 06/07/09)

Section: 8 (Commandes administrateur)

NAME

fsck.gfs2 - Offline GFS2 file system checker

SYNOPSIS

fsck.gfs2 [OPTION]... DEVICE

WARNING

All GFS2 nodes must have the GFS2 filesystem unmounted before running fsck.gfs2. Failure to unmount all nodes may result in filesystem corruption.

DESCRIPTION

fsck.gfs2 will check that the GFS2 file system on a device is structurally valid. It should not be run on a mounted file system. If file system corruption is detected, it will attempt to repair the file system. There is a limit to what fsck.gfs2 can do. If important file system structures are destroyed, such that the checker cannot determine what the repairs should be, reparations could fail.

GFS2 is a journaled file system, and as such should be able to repair damages to the file system on its own. However, faulty hardware has the ability to write incomplete blocks to a file system thereby causing corruption that GFS2 cannot fix. The first step to ensuring a healthy file system is the selection of reliable hardware (i.e. storage systems that will write complete blocks - even in the event of power failure).

OPTIONS

-h
Help.

This prints out the proper command line usage syntax.

-q
Quiet.
-n
No to all questions.

By specifying this option, fsck.gfs2 will only show the changes that would be made, but not make any changes to the filesystem.

-V
Version.

Print out the program version information.

-v
Verbose operation.

Print more information while running.

-y
Yes to all questions.

By specifying this option, fsck.gfs2 will not prompt before making changes.