1DEBUGREISERFS(8) System Manager's Manual DEBUGREISERFS(8)
2
3
4
6 debugreiserfs - The debugging tool for the ReiserFS filesystem.
7
9 debugreiserfs [ -dDJmoqpuSV ] [ -j device ] [ -B file ] [ -1 N ]
10
11 device
12
14 debugreiserfs sometimes helps to solve problems with reiserfs filesys‐
15 tems. When run without options it prints the super block of the Reis‐
16 erFS filesystem found on the device.
17
18 device is the special file corresponding to the device (e.g /dev/hdXX
19 for an IDE disk partition or /dev/sdXX for a SCSI disk parti‐
20 tion).
21
23 -j device
24 prints the contents of the journal. The option -p allows it to
25 pack the journal with other metadata into the archive.
26
27 -J prints the journal header.
28
29 -d prints the formatted nodes of the internal tree of the filesys‐
30 tem.
31
32 -D prints the formatted nodes of all used blocks of the filesystem.
33
34 -m prints the contents of the bitmap (slightly useful).
35
36 -o prints the objectid map (slightly useful).
37
38 -B file
39 takes the list of bad blocks stored in the internal ReiserFS
40 tree and translates it into an ascii list written to the speci‐
41 fied file.
42
43 -1 blocknumber
44 prints the specified block of the filesystem.
45
46 -p extracts the filesystem's metadata with debugreiserfs -p
47 /dev/xxx | gzip -c > xxx.gz. None of your data are packed unless
48 a filesystem corruption presents when the whole block having
49 this corruption is packed. You send us the output, and we use it
50 to create a filesystem with the same strucure as yours using
51 debugreiserfs -u. When the data file is not too large, this
52 usually allows us to quickly reproduce and debug the problem.
53
54 -u builds the ReiserFS filesystem image with gunzip -c xxx.gz |
55 debugreiserfs -u /dev/image of the previously packed metadata
56 with debugreiserfs -p. The result image is not the same as the
57 original filesystem, because mostly only metadata were packed
58 with debugreiserfs -p, but the filesystem structure is com‐
59 pletely recreated.
60
61 -S When -S is not specified -p deals with blocks marked used in the
62 filesystem bitmap only. With this option set debugreiserfs will
63 work with the entire device.
64
65 -q When -p is in use, suppress showing the speed of progress.
66
68 This version of debugreiserfs has been written by Vitaly Fertman
69 <vitaly@namesys.com>.
70
72 Please report bugs to the ReiserFS developers <reiserfs-devel@vger.ker‐
73 nel.org>, providing as much information as possible--your hardware,
74 kernel, patches, settings, all printed messages; check the syslog file
75 for any related information.
76
78 reiserfsck(8), mkreiserfs(8)
79
80
81
82Reiserfsprogs 3.6.27 January 2009 DEBUGREISERFS(8)