reiserfsck - check a Linux Reiserfs file system
SYNOPSIS
reiserfsck [ -arvixoV ] [ -l logfilename ] [ --rebuild-
tree ] [ --check ] [ --rebuild-sb ] [ --interactive ] [
--logfile logfilename ] [ --fix-fixable ] device
DESCRIPTION
It looks for reiserfs filesystem on a device, replays
transactions which are to be replayed and either check or
repair the filesystem
device is the special file corresponding to the device
(e.g /dev/hdXX for IDE disk partition or /dev/sdXX
for SCSI disk partition).
OPTIONS
--check
This checks filesystem consistency. This is a
default action. It may be used on a filesystem
mounted read-only
--rebuild-tree
This rebuilds filesystem tree using leaf nodes
found on the device. Normally, you do not need
this, but if you have to rebuild tree - please
backup whole partition first or at least the most
important data if you can mount the partition.
--rebuild-sb
--interactive, -i
This makes reiserfsck to stop after each pass com
pleted.
--quiet, -q
have reiserfsck to not reflect its progress
--nolog, -n
have reiserfsck to not log anything
--logfile filename, -l filename
have reiserfsck to put info about found corruptions
in logfile rather than on stderr
--fix-fixable, -x
have reiserfsck to recover corruptions which can be
fixed w/o --rebuild-tree when it is runnig in check
mode. Corruptions which can be fixed so far: bad
pointers to data blocks, wrong directory's st_size
and st_blocks, directories entries pointing to
nowhere can be deleted
have reiserfsck to fix: file sizes when they are
bigger than real file size, set file mode to regu
lar file when mode looks wrong and to try to
recover "objectid sharing" problem
-a When it is set - reiserfsck assumes that it is
called by fsck -A and just returns even if filesys
tem seems not umounted cleanly
-r ignored
-V Prints version and exits
AUTHOR
This version of reiserfsck has been written by Hans Reiser
<reiser@idiom.com>.
BUGS
There are probably few of them. Please, report bugs to
Hans Reiser <reiser@idiom.com>.
TODO
Faster recovering, signal handling, i/o error handling,
etc.
SEE ALSO
mkreiserfs(8), debugreiserfs(8)
Man(1) output converted with
man2html