When using native glusterfs its not clear to me how to configure the types of storage.

As described in the glusterfs docs [1] there are multiple types of volume that can be created (Distributed, Replicated, Distributed Replicated, Striped, Distributed Striped).

In the example ansible inventory file [2] you are suggested to set up the glusterfs_devices variable like this:

[glusterfs]
node0  glusterfs_devices='[ "/dev/vdb", "/dev/vdc", "/dev/vdd" ]'
node1  glusterfs_devices='[ "/dev/vdb", "/dev/vdc", "/dev/vdd" ]'
node2  glusterfs_devices='[ "/dev/vdb", "/dev/vdc", "/dev/vdd" ]'

But how is the way those block devices are utilised to create a particular type of volume?

How would you specify that you wanted multiple types of volume (presumably each with its own storage class)?

Thanks
Tim

[1] https://docs.gluster.org/en/latest/Quick-Start-Guide/Architecture/#types-of-volumes [2] https://github.com/openshift/openshift-ansible/blob/master/inventory/hosts.glusterfs.native.example

_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to