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

你可能感兴趣的:(ovirt)