[root@node1 ~]# ceph -s
cluster:
id: b8b4aa68-d825-43e9-a60a-781c92fec20e
health: HEALTH_WARN
Reduced data availability: 67 pgs inactive, 67 pgs peering
Degraded data redundancy: 67 pgs unclean
1 slow requests are blocked > 32 sec services:
mon: 1 daemons, quorum node1
mgr: node1(active)
osd: 6 osds: 6 up, 6 in data:
pools: 2 pools, 256 pgs
objects: 2 objects, 28 bytes
usage: 6383 MB used, 55056 MB / 61440 MB avail
pgs: 26.172% pgs not active
189 active+clean
67 peering

出现这种提示会导致集群对请求没有反应,解决办法就是重启所有的ceph节点即可:

[root@node1 ~]# systemctl restart ceph.target
05-11 15:50