Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

debugreiserfs(8) [suse 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)

Check Out this Related Man Page

MKREISERFS(8)						      System Manager's Manual						     MKREISERFS(8)

NAME
mkreiserfs - create a Linux ReiserFS file system SYNOPSIS
mkreiserfs [ -dfV ] [ -b | --block-size N ] [ -h | --hash HASH ] [ -u | --uuid UUID ] [ -l | --label LABEL ] [ --format FORMAT ] [ -j | --journal-device FILE ] [ -s | --journal-size N ] [ -o | --journal-offset N ] [ -t | --transaction-max-size N ] device [ filesystem-size ] DESCRIPTION
It creates a Linux ReiserFS file system on a device (usually a disk partition). device is the special file corresponding to the device (e.g /dev/hdXX for IDE disk partition or /dev/sdXX for SCSI disk partition). filesystem-size size of filesystem in blocks. If omitted, it will be determined by mkreiserfs automatically. OPTIONS
-b | --block-size N N is block size in bytes. 4096 only for now. -h | --hash HASH HASH specifies the name of hash function file names in directories will be sorted with. Choose one of r5, rupasov, tea. r5 is default --format FORMAT FORMAT specifies a format new filsystem has to be of. Choose one of 3.5 and 3.6. If none is specified mkreiserfs will create format 3.6 if running kernel is 2.4, 3.5 if 2.2 is running, and will refuse creation under other kernels. -u | --uuid UUID Set the universally unique identifier ( UUID ) of the filesystem to UUID (see also uuidgen(8)). The format of the UUID is a series of hex digits separated by hypthens, like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". If the option skipped, mkreiserfs generates a new one. -l | --label LABEL Set the volume label of the filesystem. LABEL can be at most 16 characters long; if it is longer than 16 characters, mkreiserfs will truncate it. -j | --journal-device FILE FILE is name of block device where the file system is to have journal on. -o | --journal-offset N N is an offset where journal starts when it is to be on a separate device. Default is 0. Makes no effect when journal is to be on a host device -s | --journal-size N N is size of journal in blocks. When journal is to be on a separate device - its size defaults to number of blocks that device has. When journal is to be on a host device - its size defaults 8193 and maximal possible value is 32749 (for blocksize 4k). Minimun is 513 for both cases. -t | --transaction-max-size N N is the maximum transaction size parameter for the journal. The default, and max possible, value is 1024 blocks. It should be less than half the size of the journal. If specifed incorrectly, it will be adjusted. -f This forces mkreiserfs to continue even if device is either whole disk, or looks mounted or is not a block device. Specified more than once allows to avoid asking for confirmation. -d This makes mkreiserfs to print debugging information during mkreiserfs. -V This prints version and exits. AUTHOR
This version of mkreiserfs has been written by Edward Shishkin <edward@namesys.com>. BUGS
No other blocksizes but 4k are available. Please, report about other bugs to the ReiserFS mail-list <reiserfs-list@namesys.com> SEE ALSO
reiserfsck(8), debugreiserfs(8), reiserfstune(8) Reiserfsprogs-3.6.4 January 2002 MKREISERFS(8)
Man Page