首页 > 其他 > 详细

GlusterFS强制锁

时间:2016-10-06 01:04:30      阅读:351      评论:0      收藏:0      [点我收藏+]

语法格式:

gluster volume set <VOLNAME> locks.mandatory-locking <off / file / forced / optimal>

注:

off - 为指定的卷禁用强制锁

file - 启用Linux内核风格的强制锁语义和位模式的帮助(没有充分测试)

forced - 为卷检查字节范围锁定每个数据编辑操作

optimal - Combinational mode where POSIX clients can live with their advisory lock semantics which will still honour the mandatory locks acquired by other clients like SMB.

参阅文档

http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Mandatory%20Locks/

https://github.com/gluster/glusterfs-specs/blob/master/done/GlusterFS%203.8/Mandatory%20Locks.md


本文出自 “老谭linux集群博客” 博客,请务必保留此出处http://cmdschool.blog.51cto.com/2420395/1858776

GlusterFS强制锁

原文:http://cmdschool.blog.51cto.com/2420395/1858776

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!