作者:吳業亮
博客:wuyeliang.blog.csdn.net
1、創建glusterfs卷vol_bcache作爲vol_bcache存儲域
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、設置參數和權限
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、啓動卷
gluster volume start vol_bcache
4、查看卷狀態
# gluster volume status vol_bcache
Status of volume: vol_bcache