We have now reached the point where we can create the volumes; this is because we have the bricks configured and the necessary packages for GlusterFS to work.
Creating the volumes
Creating a dispersed volume
We'll be using a dispersed volume type across three nodes, giving a good balance of high availability and performance. The raw space of all of the nodes combined will be around 1.5 TB; however, the distributed volume will have a usable space of approximately 1 TB.
To create a dispersed volume, use the following code:
gluster volume create gvol1 disperse 3 gfs{1..3}:/bricks/brick1/gvol1
Then, start the volume using the following code:
gluster volume start gvol1
Make sure that it starts correctly by using the following...