ReiserFs


Table of Contents

Using ReiserFS 
Basic Info 
Help 
Version 3.6.17 
Creating a Reiser file system as a loop-mount file. 
Racing to ReiserFS on Red Hat 
Why Journaling? 
Using ReiserFS 
Using the New Linux ReiserFS Filesystem 
Journaling 
Strengths and Weaknesses 
Precautions 
Utilities 
fs level undeletable for reiserfs 
fs level undeletable for reiserfs 
fs level undeletable for reiserfs 
An In-Depth Look at Reiserfs 
Included in the Linux kernel 
How Filesystems Become Corrupted 
Enter the Journaled Filesystem 
Reiserfs 
Installation — Aye, There's the Rub! 
Practical Considerations for Reiserfs 
Into the Kernel It Goes! 
ReiserFS under Windows 
Use 
Downloads 
The Secret World of ReiserFS 
Performance Perks 
Ext2, ReiserFS and XFS Benchmarks (77750 lectures) 
Conclusions 
Journaling-Filesystem Fragmentation Project 
Introduction 

Using ReiserFS 

Basic Info 

Usage 

To create a reiserfs disk partition:

mkreiserfs -l dlCache1 /dev/hdb12

To create a reiserfs disk label:

reiserfstune -l dlCache1 /dev/hdb12

Help 

Quick Help 

mkreiserfs 

$ mkreiserfs -h mkreiserfs: option requires an argument — h Usage: mkreiserfs [options] device [block-count]

Options:

-b | --block-size N              size of file-system block, in bytes
-j | --journal-device FILE       path to separate device to hold journal
-s | --journal-size N            size of the journal in blocks
-o | --journal-offset N          offset of the journal from the start of
                                 the separate device, in blocks
-t | --transaction-max-size N    maximal size of transaction, in blocks
-B | --badblocks file            store all bad blocks given in file on the fs
-h | --hash rupasov|tea|r5       hash function to use by default
-u | --uuid UUID                 store UUID in the superblock
-l | --label LABEL               store LABEL in the superblock
--format 3.5|3.6                 old 3.5 format or newer 3.6
-f | --force                     specified once, make mkreiserfs the whole
                                 disk, not block device or mounted partition;
                                 specified twice, do not ask for confirmation
-q | --quiet                     quiet work without messages, progress and
                                 questions. Useful if run in a script. For use
                                 by end users only.
-d | --debug                     print debugging information during mkreiser
-V                               print version and exit

Version 3.6.17 

Working History 

$ df | grep dlCache1
/dev/hdb12            74706268     32828  70878488   1% /lfs/dlCache1
% mkreiserfs -l dlCache1 /dev/hdb12
Guessing about desired format.. Kernel 2.4.25-1-386 is running.
Format 3.6 with standard journal
Count of blocks on the device: 18974752
Number of blocks consumed by mkreiserfs formatting process: 8791
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 1ce0e8d9-ad89-436b-b35f-40f0a9265fa9
LABEL: dlCache1
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
        ALL DATA WILL BE LOST ON '/dev/hdb12'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
ReiserFS is successfully created on /dev/hdb12.
mount /dev/hdb12 /lfs/dlCache1
$ mount | grep dlCache1
/dev/hdb12 on /lfs/dlCache1 type reiserfs (rw)
$ df | grep dlCache1
/dev/hdb12            75896684     32840  75863844   1% /lfs/dlCache1