CurveFs 用户权限系统调研conf(/usr/local/etc/fuse.conf)中增加配置项“user_allow_other”(该配置项是无值的)。详见libfuse官方文 档:https://github.com/libfuse/libfuse#security-implications # The file /etc/fuse.conf allows for the following parameters: # # user_allow_other allow_root mount options (see below). allow_other This option overrides the security measure restricting file access to the filesystem owner, so that all users of 33 1. 2. 3. 用户&用户组 用户的角色是通过UID和GID在系统内进行识别的,username 和 group name是便于人工记忆,它们和uid、gid是一一对应的关系。 UID(User Identify) GID(Group Identity) 超级用户: UID:0 默认是root用户,UID为0的用户为超级用户, 虚拟用户: UID:1~499 与真实0 码力 | 33 页 | 732.13 KB | 6 月前3
CurveBS IO Processing Flowcreate a new chunk. Why use a CopySet to manage data? 1. Reduce metadata. If the replication group membership is saved for each chunk, the number of metadata will be large. 2. Example Reduce the CopySet granularity. 3. Improve data reliability. If the replication group is excessively scattered, the probability of replication group failure increases.Data consistency in CurveBS CurveBS uses the consistency protocol. For CurveBS 1. A CopySet, as the basic unit of a consistent replication group, contains Consensus Module and Log Module. 2. The State Machine corresponds to the chunk in the0 码力 | 13 页 | 2.03 MB | 6 月前3
Curve文件系统元数据管理dentry → b tree (key parentIno + name) extent → B+ tree 这个在inode的ExtentsTree字段 meta partition(raft group) Btree、B+ tree 好 有 tiny extent,多个文件共用 normal extent,属于一个文件 partition append→ master slave协议 uint32_t atime; /* access time */ uint32_t uid; /* user id * uint32_t gid; /* group id */ uint32_t mode; /* file mode */ int nlink; /* ref count for hard link */0 码力 | 24 页 | 204.67 KB | 6 月前3
OID CND Asia Slide: CurveFScom/openCURVE/CURVE/issues Participated in the communication and discussion of Curve project: wechat group, qr code on the right hand sideYou can take away Challenges faced ● With the development of hardware0 码力 | 24 页 | 3.47 MB | 6 月前3
TGT服务器的优化[global] • rw=randread • direct=1 • iodepth=128 • ioengine=aio • bsrange=16k-16k • runtime=60 • group_reporting • [disk01] • filename=/dev/sdx • [disk02] • filename=/dev/sdy • size=10G • [disk03]0 码力 | 15 页 | 637.11 KB | 6 月前3
共 5 条
- 1













