|Linux & Unix Commands - Search Man Pages
debugreiserfs [ -dDJmoqpS ] [ -j device ] [ -B blocknumber ]
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 parti-
tion or /dev/sdXX for SCSI disk partition).
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)
print specified block of the filesystem
-p Makes debugreiserfs to find filesystem metadata This option exists to help reiserf-
sck debugging. If reiserfsck fails - you may extract filesystem metadata with debu-
greiserfs -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
This version of debugreiserfs has been written by Hans Reiser <email@example.com>.
There are probably few of them. Please, report bugs to ReiserFS mail-list <reiserfs-
Reiserfsprogs 3.6.4 January 2002 DEBUGREISERFS(8)
All times are GMT -4. The time now is 11:35 AM.