CentOS supports the setting method of ReiserFS

Time:2022-1-17

CentOS does not support ReiserFS by default, but it supports ReiserFS by using CentOS plus kernel. The method is as follows:
1: Update kernel:
vi /etc/yum.repos.d/CentOS-Base.repo
In the [centosplus] section of the file
enabled=0
Change to
enabled=1
Then execute Yum update and restart the computer.
Check whether the ReiserFS kernel is loaded:
modprobe -l | grep reiserFS
If you see something like B / modules / 2.6.18-53.1.14 el5. centos. plus/kernel/fs/reiserFS/reiserFS. Ko indicates that the system supports ReiserFS.
Otherwise, you can manually execute modprobe ReiserFS.
Another alternative to updating the system kernel is to execute Yum update – enablerepo = centosplus.

2: ReiserFS management tool under CentOS:
#tar xzvf reiserfsprogs-3.x.0j.tar.gz
# cd reiserfsprogs-3.x.0j
# ./configure
# make
# make install

3: Create any new partitions as needed and restart your system.

4: After reboot, you can create ReiserFS file system on an empty partition, as shown below:
# mkreiserfs /dev/hdxy
# mount /dev/hdxy /mnt/reiser

5: Moreover, if you want to add a ReiserFS file system to your / etc / fstab file, just set the “freq” and “passno” fields to “0”, as shown below:
/dev/hdc1 /home reiserfs defaults 0 0