2. Install glusterfs package(glusterfs-xxx.el6rhs)
brew:https://brewweb.devel.redhat.com/packageinfo?packageID=14351
Please pick up the package with "rhs"
glusterfs-3.4.0.59rhs-1.el7.x86_64
glusterfs-libs-3.4.0.59rhs-1.el7.x86_64
glusterfs-api-3.4.0.59rhs-1.el7.x86_64
3. Create brick
#mkdir -p /home/brick1
4. Start service
/bin/systemctl start glusterd.service
5. Create volume
#gluster volume create volume_name node01.mydomain.net:/home/brick1
eg:# gluster volume create qxy 10.66.8.139:/home/brick1
6. Start volume
# gluster volume start qxy
7Create image by gluster protocol on gluster client.
(gluster-client)#qemu-img create -f qcow2 gluster://$host/$volume/$image.qcow2 30G
(gluster-client)#qemu-img create -f raw gluster://$host/$volume/$image.raw 30G
eg:# qemu-img create -f qcow2 gluster://10.66.8.139/qxy/yaya.qcow2 10G
9. Boot vm with gluster:
-drive file=gluster://$host/$volume/$image.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads \