ceph之故障处理1
现象:ceph -s查看集群状态
ceph -s
cluster:
id: 1f0490cd-f938-4e20-8ea5-d817d941a6e6
health: HEALTH_WARN
application not enabled on 1 pool(s)
clock skew detected on mon.ceph5
services:
mon: 3 daemons, quorum ceph4,ceph5,ceph6
mgr: ceph4(active), standbys: ceph5, ceph6
osd: 9 osds: 9 up, 9 in
rgw: 1 daemon active
data:
pools: 6 pools, 512 pgs
objects: 253 objects, 24.3MiB
usage: 9.30GiB used, 34.8GiB / 44.1GiB avail
pgs: 512 active+clean
查看详细信息
ceph health detail
HEALTH_WARN application not enabled on 1 pool(s); clock skew detected on mon.ceph5
POOL_APP_NOT_ENABLED application not enabled on 1 pool(s)
application not enabled on pool 'images'
use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.
MON_CLOCK_SKEW clock skew detected on mon.ceph5
mon.ceph5 addr 10.1.1.25:6789/0 clock skew 11.2785s > max 2s (latency 0.00214139s)
1.根据提示处理POOL_APP_NOT_ENABLED application not enabled on 1 pool(s)
ceph osd pool application enable images rbd enabled application 'rbd' on pool 'images'
2.时钟同步下
验证结果
ceph -s
cluster:
id: 1f0490cd-f938-4e20-8ea5-d817d941a6e6
health: HEALTH_OK
services:
mon: 3 daemons, quorum ceph4,ceph5,ceph6
mgr: ceph4(active), standbys: ceph5, ceph6
osd: 9 osds: 9 up, 9 in
rgw: 1 daemon active
data:
pools: 6 pools, 512 pgs
objects: 253 objects, 24.3MiB
usage: 9.30GiB used, 34.8GiB / 44.1GiB avail
pgs: 512 active+clean
io:
client: 8.65KiB/s rd, 10op/s rd, 0op/s wr

浙公网安备 33010602011771号