DEBUGREISERFS(8)				 DEBUGREISERFS(8)


NAME
       debugreiserfs

SYNOPSIS
       debugreiserfs  [	 -jdcmos  ] [ -b blocknumber ] [ -p file-
       name.bmp ] [ -P filename.bmp ] 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     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  reis-
	      erfsck  fails - you may extract filesystem metadata
	      with  debugreiserfs -p filename /dev/xxx |gzip -c >
	      xxx.gz. We download that data and make the filesys-
	      tem 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


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



Reiserfsprogs 3.x.0j	    March 2001				1





DEBUGREISERFS(8)				 DEBUGREISERFS(8)


BUGS
       There are probably few of them.	Please,	 report	 bugs  to
       Hans Reiser <reiser@idiom.com>.

SEE ALSO
       reiserfsck(8), mkreiserfs(8)

Reiserfsprogs 3.x.0j	    March 2001				2


