DEBUGREISERFS(8) System Manager's Manual DEBUGREISERFS(8)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)Reiserfsprogs 3.6.4 January 2002 DEBUGREISERFS(8)
Check Out this Related Man Page
DEBUGREISERFS(8) System Manager's Manual DEBUGREISERFS(8)NAME
debugreiserfs - The debugging tool for the ReiserFS filesystem.
SYNOPSIS
debugreiserfs [ -dDJmoqpuSV ] [ -j device ] [ -B file ] [ -1 N ]
device
DESCRIPTION
debugreiserfs sometimes helps to solve problems with reiserfs filesystems. When run without options it prints the super block of the Reis-
erFS filesystem found on the device.
device is the special file corresponding to the device (e.g /dev/hdXX for an IDE disk partition or /dev/sdXX for a SCSI disk partition).
OPTIONS -j device
prints the contents of the journal. The option -p allows it to pack the journal with other metadata into the archive.
-J prints the journal header.
-d prints the formatted nodes of the internal tree of the filesystem.
-D prints the formatted nodes of all used blocks of the filesystem.
-m prints the contents of the bitmap (slightly useful).
-o prints the objectid map (slightly useful).
-B file
takes the list of bad blocks stored in the internal ReiserFS tree and translates it into an ascii list written to the specified
file.
-1 blocknumber
prints the specified block of the filesystem.
-p extracts the filesystem's metadata with debugreiserfs -p /dev/xxx | gzip -c > xxx.gz. None of your data are packed unless a filesys-
tem corruption presents when the whole block having this corruption is packed. You send us the output, and we use it to create a
filesystem with the same strucure as yours using debugreiserfs -u. When the data file is not too large, this usually allows us to
quickly reproduce and debug the problem.
-u builds the ReiserFS filesystem image with gunzip -c xxx.gz | debugreiserfs -u /dev/image of the previously packed metadata with
debugreiserfs -p. The result image is not the same as the original filesystem, because mostly only metadata were packed with debu-
greiserfs -p, but the filesystem structure is completely recreated.
-S When -S is not specified -p deals with blocks marked used in the filesystem bitmap only. With this option set debugreiserfs will
work with the entire device.
-q When -p is in use, suppress showing the speed of progress.
AUTHOR
This version of debugreiserfs has been written by Vitaly Fertman <vitaly@namesys.com>.
BUGS
Please report bugs to the ReiserFS developers <reiserfs-dev@namesys.com>, providing as much information as possible--your hardware, kernel,
patches, settings, all printed messages; check the syslog file for any related information.
SEE ALSO reiserfsck(8), mkreiserfs(8)Reiserfsprogs 3.6.21 January 2009 DEBUGREISERFS(8)