Setting up REISER4

eventually grab the latest REISER4 patch

    lynx -dump https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-5.x/README.txt | less

    # dom0
wget https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-5.x/reiser4-for-5.13.patch.gz

    # domU
    wget https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-5.x/reiser4-for-5.2.0.patch.gz

if so, also make sure you’ve installed REISER4PROGS onto your system

    lynx -dump https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/README.txt
    wget https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/libaal-1.0.7.tar.gz
    tar xzf libaal-1.0.7.tar.gz
    cd libaal-1.0.7/
    ./configure
    echo $MAKEFLAGS
    nice make
    nice make install

    lynx -dump https://sourceforge.net/projects/reiser4/files/reiser4-utils/reiser4progs/README.txt
    wget https://sourceforge.net/projects/reiser4/files/reiser4-utils/reiser4progs/reiser4progs-1.2.2.tar.gz
    tar xzf reiser4progs-1.2.2.tar.gz
    cd reiser4progs-1.2.2/
    ./configure
    echo $MAKEFLAGS
    nice make
    nice make install

Usage

# ssd
mkfs.reiser4 -d --yes --force ...

fsck.reiser4 --fix --yes ...

vi /etc/fstab

# ssd and discard
    /dev/xvda1 / reiser4 defaults,noatime,nodiratime,txmod=wa,discard,onerror=remount-ro 0 1

Additional notes

to get the best out of REISER4, one could consider patching the kernel source as usual, and then replace the fs/reiser4/ folder from the GIT repository

git clone https://github.com/edward6/reiser4.git
#mv reiser4/ ...

Resources

edward6 / reiser4 https://github.com/edward6/reiser4/

mkfs.reiser4 segfaults https://bugs.gentoo.org/72385

Re: help wanted add-node41.patch fails to apply to reiser4progs version 1.0.9 https://www.spinics.net/lists/reiserfs-devel/msg04645.html

Reiser4 discard support https://reiser4.wiki.kernel.org/index.php/Reiser4_discard_support

PreciseDiscard https://reiser4.wiki.kernel.org/index.php/PreciseDiscard

Reiser4 https://wiki.archlinux.org/title/Reiser4


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | NU | HTML5
Copyright © 2022 Pierre-Philipp Braun