CurveFs 用户权限系统调研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 与真实 Lists)的管理 访问控制列表(ACL 或 POSIX ACL)是多用户系统的 。 与基本的 POSIX RWX 位相比,POSIX ACL 有助于对文件系统权限进行 的控制。可以针对用户(User)、群组(Group) 附加安全控制功能 更灵活、更细粒度 、默认属性掩码(umask)进行设置。 ACL是Linux系统权限额外支持的一项功能,需要文件系统的支持,例如:ReiserFS , EXT2 , EXT3 -t, --tabular use tabular output format -n, --numeric print numeric user/group identifiers© XXX Page 22 of 33 -p, --absolute-names don't strip leading '/' in pathnames -v0 码力 | 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













