ovirt導入glusterfs存儲權限設置

作者:吳業亮

博客: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
發佈了236 篇原創文章 · 獲贊 121 · 訪問量 83萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章