90 lines
2.3 KiB
Plaintext
90 lines
2.3 KiB
Plaintext
.\" -*- nroff -*-
|
|
.\" Copyright 1996-2004 Hans Reiser.
|
|
.\"
|
|
.TH DEBUGREISERFS 8 "February 2004" "Reiserfsprogs 3.6.13"
|
|
.SH NAME
|
|
debugreiserfs \- debugging tool for the ReiserFS filesystem
|
|
.SH SYNOPSIS
|
|
.B debugreiserfs
|
|
[
|
|
.B -dDJmoqpS
|
|
] [
|
|
.B -j \fIdevice
|
|
] [
|
|
.B -B \fIfile
|
|
] [
|
|
.B -1 \fIN
|
|
]
|
|
|
|
.\" ] [
|
|
.\" .B -s
|
|
.\" ] [
|
|
.I device
|
|
.SH DESCRIPTION
|
|
It helps sometimes to solve problems with reiserfs filesystems. Being
|
|
called without options it prints super block of reiserfs filesystem found
|
|
on the \fIdevice\fR.
|
|
.TP
|
|
.I device
|
|
is the special file corresponding to the device (e.g /dev/hdXX for
|
|
IDE disk partition or /dev/sdXX for SCSI disk partition).
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB-j\fR \fIdevice\fR
|
|
print contents of journal. Also with the option -p it allows to pack
|
|
journal into archive with other metadata
|
|
.TP
|
|
\fB-J\fR
|
|
print journal header.
|
|
.TP
|
|
.B -d
|
|
print formatted nodes of the internal tree of the filesystem
|
|
.TP
|
|
.B -D
|
|
print formatted nodes of all used blocks of the filesystem
|
|
.TP
|
|
.B -m
|
|
print contents of bitmap (not very useful)
|
|
.TP
|
|
.B -o
|
|
print objectid map (not very useful)
|
|
.TP
|
|
\fB-B\fR \fIfile\fR
|
|
extract the filesystem list of bad blocks to the specified file.
|
|
.TP
|
|
\fB-1\fR \fIblocknumber\fR
|
|
print specified block of the filesystem
|
|
.TP
|
|
.\" \fB-s
|
|
.\" scans the partition and prints a line when any kind of reiserfs
|
|
.\" formatted nodes found. Can be used to find specific key in the filesystem.
|
|
.\" .TP
|
|
.B -p
|
|
Makes \fBdebugreiserfs\fR to find filesystem metadata This option
|
|
exists to help reiserfsck debugging. If reiserfsck fails - you may
|
|
extract filesystem metadata with \fBdebugreiserfs\fR -p
|
|
/dev/xxx |gzip -c > xxx.gz. We download that data and make the
|
|
filesystem similar to your with gunzip -c xxx.gz | unpack /dev/xxx
|
|
(unpack is included into reiserfsprogs package). This usually allows
|
|
to reproduce and debug the problem quickly. When data file is not too
|
|
large.
|
|
.TP
|
|
.B -S
|
|
When -S is not specified -p
|
|
.\" and -s
|
|
deals with blocks marked used in the
|
|
filesystem bitmap. With this option set they will work with whole
|
|
device.
|
|
.TP
|
|
.B -q
|
|
Suppress showing speed of progress when
|
|
.\" -s or
|
|
-p is in use
|
|
.SH AUTHOR
|
|
This version of \fBdebugreiserfs\fR has been written by Hans Reiser <reiser@namesys.com>.
|
|
.SH BUGS
|
|
There are probably few of them. Please, report bugs to ReiserFS mail-list <reiserfs-list@namesys.com>.
|
|
.SH SEE ALSO
|
|
.BR reiserfsck (8),
|
|
.BR mkreiserfs (8)
|