Linux Administrator

How To Install And Mount XtreemFS In Linux

What IS XtreemFS?

XtreemFS is a fault-tolerant distributed file system. It is an open-source file-system that is distributed with support for client and servers from any location and connected together using the internet. It is characterized by it’s:

1. Versatility :- XtreemFS is a general purpose storage system and covers most storage needs in a single deployment. It is an open-source technology that do not require any special hardware or kernel modules and it can be mounted on Linux, Windows and OS X machine.

2. Reliability :- XtreemFS is the only fault-tolerant file system that automatically handles all failure modes, including network splits. Fault-tolerant replication keeps your data safe and gives you peace of mind.

3. Scalability :- XtreemFS is scalable you can scales it according to your needs within a minutes, simply by adding new standard hardware. You can start with a single server, growing to a cluster and across datacenters.

XtreemFS Installation

On Ubunt/Debian System

To add XtreemFS repository edit the /etc/apt/sources.list file on Debian or Ubuntu system like below:

# deb ./

Replace URL of the repository for your distribution. In my example the packet source is used for the “Ubuntu 16.04”. Appending ./ to the URL is must.

Now add the package signing key of your repository to your system.

# wget -q -O - | sudo apt-key add -

Update the package lists.

# apt-get update

Now install the client or server packages:

# apt-get install xtreemfs-client
# apt-get install xtreemfs-server

On CentOS/RHEL/Fedora System

For CentOS/RHEL/Fedora system you have to download the XtreemsFS repository into /etc/yum.repos.d/ location on the system.

For example add the XtreemFS repository On CentOS 6 as follows:

# cd /ect/yum.repos.d/
# wget ""

Now install the client or server packages:

# yum install xtreemfs-client
# yum install xtreemfs-server

XtreemFS Service And Modules

XtreemFS is based on three services and kernel module called fuse:

Dir – Directory Service : It is used by the MRC, OSD and client to find other servers, resolve UUID mapping and volume names.

MRC – Metadata and Repica Catalog : It stores the volumes with their directory tree and all metadata for files in the volumes.

OSD – Object Storage Device : It is not a special device it is regular server, these servers store the file content and implement the replication.

FUSE – File-system in Userspace : It is a kernel module that simplifies the development of new file systems.

Mounting XtreemFS

To mounting XtreemFS fist start the directory service typing below command:

# /etc/init.d/xtreemfs-dir start

Start Metadata server:

# /etc/init.d/xtreemfs-mrc start

Start the OSD:

# /etc/init.d/xtreemfs-osd start

Load the Fuse kernel module if not loaded.

# modprobe fuse

Create a new volume with it default setting:

# mkfs.xtreemfs localhost/Volume

Create a mount point:

# mkdir ~/xtreemfs

Mount XtreemFS on your system:

# mount.xtreemfs localhost/Volume ~/xtreemfs

That’s it now you can use your volume.

Unmounting XtreemFS

Type the below command to unmount the XtreemFS:

# umount.xtreemfs ~/xtreemfs


Thank you! for visiting LookLinux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author


Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment