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
发布了235 篇原创文章 · 获赞 120 · 访问量 82万+

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 程序猿惹谁了 设计师: 上身试试

分享到微信朋友圈

×

扫一扫,手机浏览