GNU/Linux |
CentOS 2.1AS(Slurm) |
|
![]() |
debugreiserfs(8) |
![]() |
debugreiserfs
debugreiserfs [ -jdcmos ] [ -b blocknumber ] [ -p filename.bmp ] [ -P filename.bmp ] device
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). |
-j |
print contents of journal | ||
-d |
print formatted nodes of the filesystem | ||
-c |
print contents of direct items | ||
-m |
print contents of bitmap (not very useful) | ||
-o |
print objectid map (not very useful) | ||
-s |
scans the partition and prints a line when any kind of reiserfs formatted nodes found |
-b blocknumber
print specified block of the filesystem
-p filename
-P filename
Makes debugreiserfs to find filesystem metadata These exist to help reiserfsck debugging. If reiserfsck fails - you may extract filesystem metadata with debugreiserfs -p filename /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. -P will cause debugreiserfs to find and pack metadata from all the device whereas with -p it will only go through blocks marked used in filesystem bitmaps
This version of debugreiserfs has been written by Hans Reiser <reiser@idiom.com>.
There are probably few of them. Please, report bugs to Hans Reiser <reiser@idiom.com>.
reiserfsck(8), mkreiserfs(8)
![]() |
debugreiserfs(8) | ![]() |