Section: Maintenance Commands (8)
Return to Main Contents
gfs_fsck - Offline GFS file system checker
All GFS nodes must have the GFS filesystem unmounted before running
gfs_fsck. Failure to unmount all nodes may result in filesystem corruption.
gfs_fsck will check that the GFS 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
gfs_fsck can do. If important file system structures are destroyed, such that
the checker can not determine what the repairs should be, reparations could
GFS 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 GFS can not
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).
This prints out the proper command line usage syntax.
No to all questions.
By specifying this option, gfs_fsck will only show the changes that
would be made, not make any changes to the filesystem.
Print out the current version name.
Print more information while running.
Yes to all questions.
By specifying this option, gfs_fsck will not prompt before making
linux.jgfs.net manual pages