The volume is now created and can be mounted on the clients; the preferred method for doing this is by using the native glusterfs-fuse client, which allows for automatic failovers in the event that one of the nodes goes down.
To install the gluster-fuse client, use the following code:
yum install -y glusterfs-fuse
Then, let's create a directory under root called gvol1:
mkdir /gvol1
Finally, we can mount the GlusterFS volume on the client as follows:
mount -t glusterfs gfs1:/gvol1 /gvol1
It doesn't matter which node you specify, as the volume can be accessed from any of them. In the event that one of the nodes goes down, the client will automatically redirect I/O requests to the remaining nodes.