mds维护8条命令
2018-10-07 本文已影响2人
620T
1、ceph daemonperf mds.mds0
2 ceph daemon mds.mds0 perf schematic | Greg - A 3 -B 3 rapt

3 ceph daemon mds.mds3 ops查看mds的ops
4 ceph daemon mds.mds0 objecter_requests查看mds到osd的ops
5 ceph daemon mds.mds0 session ls查看mds的客户端列表
6 如何查找一个文件位置
getfattr -n ceph.file.layout 1.txt获取文件的layout属性
stat 1.txt获取文件的inode,并转换为16进制
rados ls -p pool | grep xxx获取对象
rados get xxx -p xxx test
7 元数据池的日志下刷
ceph daemon mds.mds0 flush journal
8 ceph daemon mds.a command
