Mount reiserfs partitions on CentOS

CentOS use ext3 file system, and it do not support reiserfs. Therefore if you try to mount a drive with reiserfs partition, it give error

It’s possible to see what filesystems are supported by running this command:

On my fairly default install CentOS 4 machine, the output of the above command was this:

So clearly reiserfs was not available for mounting a filesyetem. To enable it, you need to edit the /etc/yum.repos.d/CentOS-Base.repo file and then install a special CentOS Plus kernel which includes reiserfs support. Using your favourite text editor (nano in the example below), run the following command to edit the file, running it either as the root user or using sudo:

Look for the [centosplus] section and change the enabled flag from 0 to 1 and add the includepkgs line as shown below:

Then add the following to the [base] and [updates] sections:

Now run

Reboot server using reboot command

After rebooting, cat /proc/filesystems will now show this:

Note that reiserfs is now listed at the bottom, and you will be able to now successfully mount the filesystem formatted with reiserfs.

Please follow and like us:
About shk

shk is a DevOps engineer with more than 12 years of experience in different organizations. He enthusiastic about learning new technologies and shares his knowledge through his blogs.

Trackbacks

  1. […] อ้างอิงจาก http://www.myliteraturetechlife.com/mount-reiserfs-partitions-on-centos/ window.fbAsyncInit = function() { FB.init({appId: "113258878730622", status: true, cookie: […]

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.

*

*

Previous Post:
Next Post: