Centos and Reiserfs.

2006 Sept 29 at 18:53 » Tagged as :

Lame old Centos doesn't support Reiserfs. When the old server was replaced, the hard drive that contained the data was moved across to the new server. It wasn't until a little while ago that I had need to access that data. It was then that I realized that it has a Reiserfs partition which is not supported by Centos.

There were lots of horror stories all over the web from different people who had tried to compile the kernel on Centos. It's littered with pitfalls for the unwary (and even the wary). Apparently the best thing to do, is to install what is known as the Centos Plus kernel.

It can be installed using yum by the following command:

yum --enablerepo=centosplus install kernel

The tricky bit is to reboot the server. It's never a good idea to install a kernel when you do not have physical access to it. In this case I felt that I have no choice, so I changed grub.conf and did a reboot. Predictably the server failed to come up.