DEBUGREISERFS

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR
BUGS
SEE ALSO

NAME

debugreiserfs

SYNOPSIS

debugreiserfs [ -dDJmoqpS ] [ -j device ] [ -B blocknumber ]
device

DESCRIPTION

It helps sometimes to solve problems with reiserfs filesystems. Being called w/o options it prints super block of reiserfs filesystem found on the device.
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

-j device
print contents of journal. Also with the option -p it allows to pack journal into archive with other metadata
-J
print journal header.
-d
print formatted nodes of the internal tree of the filesystem
-D
print formatted nodes of all used blocks of the filesystem
-m
print contents of bitmap (not very useful)
-o
print objectid map (not very useful)
-1 blocknumber
print specified block of the filesystem
-p
Makes debugreiserfs to find filesystem metadata This option exists to help reiserfsck debugging. If reiserfsck fails - you may extract filesystem metadata with debugreiserfs -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.
-S
When -S is not specified -p deals with blocks marked used in the filesystem bitmap. With this option set they will work with whole device.
-q
Suppress showing speed of progress when -p is in use

AUTHOR

This version of debugreiserfs has been written by Hans Reiser <reiser@idiom.com>.

BUGS

There are probably few of them. Please, report bugs to ReiserFS mail-list <reiserfs-list@namesys.com>.

SEE ALSO

reiserfsck(8), mkreiserfs(8)