经过:
Lotus在运行过程中报错,查看集群状态 ceph -s
后 timeout
Ceph集群日志文件的默认目录在 /var/log/ceph
Ceph的日志文件默认排序方法举例说明如下:
ceph-mon.u0205.log
ceph-mon.u0205.log.1
ceph-mon.u0205.log.2.gz
ceph-mon.u0205.log.3.gz
ceph-mon.u0205.log
是当前正在swap交换分区中编辑的日志,其余日志号码按升序排列,即 ceph-mon.u0205.log.1
是当前最新的日志。查看以往文档需要解包,解压.gz
文档的命令如下:
gzip -d ceph-mon.u0205.log.3.gz
查看每个最新的日志后,发现问题如下:
$ tail -n 50 ceph.log.1
cluster [WRN] Health check failed: mon u0205 is low on available space (MON_DISK_LOW