GlusterFS

GlusterFS is a cluster file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is based on a stackable user space design without compromising performance. For a list of features, see GlusterFS Features.

FUSE support (prerequisites)
Filesystems in Userspace (aka FUSE) is required in order to be able to mount GlusterFS in a local directory. If this functionality is desired, be sure to have fuse enabled in your kernel and sys-fs/fuse installed for the required userland tools, as well as the "fuse" USE-flag set on sys-cluster/glusterfs.

Installing Gluster
Just unmask (if necessesary) and emerge glusterfs:

Running a simple Gluster setup
The first thing to do is to get the init script for glusterd working. You will need a simple configuration file for glusterd, like the following:

Run the init script and make sure it did not display any errors: With glusterd running, you can now use the "gluster" command to create, activate and configure volumes. First, run to see the basics of what this tool can do. Then, run the following command with  replaced with your actual hostname: Activate the volume with Create a new folder to mount the gluster filesystem in: Mount your gluster volume: Then check or. If one of these does not list your glusterfs, then something went wrong, and you should check the log file specified in the mount command that you just used. Also try restarting glusterd.

If they do list the mounted glusterfs, then everything should be all right, and you should now be able use your local one-machine "cluster" file-system through the directory it is mounted on. Now (optionally) grab some coffee, and then refer to the in order to configure an actual production volume, glusterfsd, add more machines to the cluster, and so on.