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 code:
gluster volume status gvol1
The volume should show up now as follows: