Author: Wu Liang industry
Blog: wuyeliang.blog.csdn.net
1. Create glusterfs volume vol_bcache as vol_bcache storage area
gluster volume create vol_bcache replica 3 192.168.184.11:/opt/vol_bcache 192.168.184.13:/opt/vol_bcache 192.168.184.14:/opt/vol_bcache
2, set the parameters and permissions
gluster volume set vol_bcache cluster.quorum-type auto
gluster volume set vol_bcache network.ping-timeout 10
gluster volume set vol_bcache auth.allow \*
gluster volume set vol_bcache group virt
gluster volume set vol_bcache storage.owner-uid 36
gluster volume set vol_bcache storage.owner-gid 36
gluster volume set vol_bcache server.allow-insecure on
3, boot volume
gluster volume start vol_bcache
4, see the volume status
# gluster volume status vol_bcache
Status of volume: vol_bcache