CEPH
Troubleshooting
-
Unable to start Ceph:
Failed to start ceph-osd@0.service - Ceph object storage daemon osd.0.
ceph-osd@0.service: Start request repeated too quickly.
solution:
NVME 优化参数
/etc/ceph/ceph.conf:
应用配置:
性能测试:
- 连续写入:
- Write:
rados -p <pool name> bench 60 write -b 4M -t 64 --no-cleanup -f plain --run-name bench_4m - Read:
rados -p <pool name> bench 60 seq -t 64 --no-cleanup -f plain --run-name bench_4m
- Write:
- 随机写入:
- Write:
rados -p <pool name> bench 60 write -b 4k -t 64 --no-cleanup -f plain --run-name bench_4k - Read:
rados -p <pool name> bench 60 seq -t 64 --no-cleanup -f plain --run-name bench_4k
- Write:
- 清理:
rados -p <pool name> cleanup
PG数量计算方式: osd数量*[100-200]/副本数量
开启krbd配合writeback可以极大提高速度