CentOS 6.4 + ReiserFS

Karachun came to old Maxtor on the old server with Gentoo and the prehistoric date of the last launch of emerge -uDpv world. Gentoo somehow did not want to install-compile again. It burned out in due time. I wanted stability, reliability, speed of installation of updates (the server is far from the first freshness) and the absence of problems with dependencies. In general, laziness is an optimization engine.

At first I wanted to stick FreeBSD and not take a steam bath, because I stuck it, it works, I forgot where the server is. But the server is not simple, but for developers, more precisely, various Linux binaries are run around on it (there are no source codes), and the architecture is -32bit. Hence the limitations - Linux distribution, 32 bits, with broad support for old hardware, availability of old libraries, new technologies, graphics disappear, ReiserFs out of the box, because Separately, there is a screw with the / home partition and thereby ReiserFS (3.6, by the way). Of the services - Samba, DNS, DHCP, TFTP.

How it was

New-fashioned trends suggest a wide selection of Linux distributions on the role of the server OS, and the first of them was tested by Ubuntu Server 12.04. Installation - excellent, quick, updates installed. The partition with / home, after writing the necessary line in / etc / fstab and rebooting, did not take off ... It ran through the logs on the screen that there was no such partition on your disk (it is there alone). On the second disk (also 1 partition with ReiserFS) - is, and successfully mounted it. And on where / home - no. Yes, the drives are naturally tested by MHDD and fsck.reiserfs. And fdisk -l also shows that there is no partition, but if you open the disk through fdisk, then there is a partition, I record the partition table (w command), the output is everything, the partition is visible and mounted. I reboot - there is no partition, fdisk, there is a partition ... Yes, I’m in shock. Ubuntu Server does not fit.

So, returning to the topic of the story, CentOS was chosen because of the experience of administering the servers under its control and the experience of resolving the jambs under its control.
After installing a fresh CentOS 6.4 image (I omit the details), it turned out that ReiserFS was a stranger to it by default. Good Google carefully issued several links to English-language resources on this topic, which, in turn, contained links to other English-language resources on this topic ...

A short course of a young fighter list of actions to achieve the goal:

We need to install another kernel - centOS-plus kernel and a set of utilities reiserfs-utils.
But first, the core. We include the CentOS-Plus repository. Information on this in bulk, so in short:
Edit /etc/yum.repos.d/CentOS-Base.repo, block:

[centosplus]
......
enabled=1
........
includepkgs=kernel* jfsutils reiserfs-utils


Updating the kernel:

yum install kernel


It should write something like:

…..
kernel-2.6.32-358.6.1.el6.centos.plus.i686
…...


Yeah, the right core. You can just in case check in grub.conf (menu.lst) whether it was registered as default at boot time.

Reiserfs-utils utilities - in standard repositories by command:

yum search reiser


missing:
….
Error: Nothing to do
#


As it turned out, the necessary reiserfs-utils utilities are in the ELRepo repository . We connect it.
Import the public key:

rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org


And the repository itself:

rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm


Now:

yum search reiser


produces what you need:

….
===== N/S Matched: reiser =====
kmod-reiserfs.i686 : reiserfs kernel module(s)
reiserfs-utils.i686 : Tools for creating, repairing and debugging ReiserFS filesystems.
#


We put:

yum install reiserfs-utils


I rule / etc / fstab to my needs, I reboot:

# df
…...
/dev/sda1               495844     68866    401378  15% /boot
/dev/sdc1             78145768  64386968  13758800  83% /home
#


I am satisfied.

ps Errors - please in PM, correct. Inaccuracies, comments, questions - in the comments I will accept / answer with pleasure.

Also popular now: