DOKK / manpages / debian 10 / reiser4progs / measurefs.reiser4.8.en
measurefs.reiser4(8) reiser4progs manual measurefs.reiser4(8)

measurefs.reiser4 - the program for measuring reiser4 filesystem parameters (fragmentation, node packing, etc.).

measurefs.reiser4 [ options ] FILE

measurefs.reiser4 is reiser4 filesystem measure program. You can estimate reiser4 filesystem fragmentation, packingm etc. structures by using it.

prints program version.
-?, -h, --help
prints program help.
assumes an answer 'yes' to all questions.
forces measurefs to use whole disk, not block device or mounted partition.
sets tree cache node number to passed value. This affects very much behavior of libreiser4. It affects speed, tree allocation, etc.

shows different tree statistics (node packing, internal nodes, leaves, etc)
measures total tree fragmentation. The result is fragmentation factor - value from 0.00000 (minimal fragmentation) to 1.00000 (maximal one). Most probably, this factor may affect sequential read performance.
measures average files fragmentation. This means, that fragmentation of each file in filesystem will be measured separately and results will be averaged. The result is fragmentation factor - value from 0.00000 (minimal fragmentation) to 1.00000 (maximal one).

Note, that for the fresh filesystem (created not very long time ago) and even fully filled by data, this value will be pretty small.

measures fragmentation of the specified file. The result is fragmentation factor - value from 0.00000 (minimal fragmentation) to 1.00000 (maximal one). Note, that fragmentation of a small file (depends of used tail policy), which consists of tail items, is not very reliable value. That is because, they is always afoot due to balancing.

Examples:

measurefs.reiser4 -F /usr/bin /dev/hda2
measurefs.reiser4 -F /bin/bash /dev/hda2

show file fragmentation for each file if --data-frag is specified.

prints the plugin profile. This is the set of default plugins used for all parts of a filesystem -- format, nodes, files, directories, hashes, etc. If --override is specified, then prints modified plugins.
prints all plugins libreiser4 know about.
overrides the default plugin of the type "TYPE" by the plugin "PLUGIN" in the plugin profile.

Examples:

measurefs.reiser4 -o nodeptr=nodeptr41,hash=rupasov_hash /dev/hda2

Report bugs to <reiserfs-devel@vger.kernel.org>

debugfs.reiser4(8), mkfs.reiser4(8), fsck.reiser4(8)

This manual page was written by Yury Umanets <umka@namesys.com>

28 Apr, 2003 reiser4progs