GlusterFS 3: mount client to raid

How to setup replication of GlusterFS (raid-1) you can read in my previous article.

Next step is mounting client to this cluster.

Copy content of your volume ( for me it's /var/lib/glusterd/vols/AO/AO-fuse.vol ) to the client machine in the /etc/glusterfs/AO.vol and mount it to mountpoint:

glusterfs -f /etc/glusterfs/AO.vol /mnt/glusterfs/

edit fstab:

/etc/glusterfs/AO.vol /mnt/glusterfs/ glusterfs defaults 0 0

Now you can stop one of the master servers and check that your connection is fine !