码迷,mamicode.com
首页 > 其他好文 > 详细

(11)ceph 告警:1 slow ops, oldest one blocked for

时间:2019-09-21 10:40:57      阅读:868      评论:0      收藏:0      [点我收藏+]

标签:res   cluster   osd   node   root   data   roo   cep   服务   

(1)ceph告警提示:1 slow ops, oldest one blocked for
[root@node143 ~]# ceph -s
  cluster:
    id:     58a12719-a5ed-4f95-b312-6efd6e34e558
    health: HEALTH_WARN
            1 slow ops, oldest one blocked for 1416 sec, mon.node142 has slow ops

  services:
    mon: 2 daemon, quorum node140,node142 (age 8d)
    mgr: admin(active, since 8d), standbys: node140
    mds: cephfs:1 {0=node140=up:active} 1 up:standby
    osd: 22 osds: 22 up (since 23m), 18 in (since 29m)

  data:
    pools:   5 pools, 768 pgs
    objects: 2.65k objects, 9.9 GiB
    usage:   53 GiB used, 12 TiB / 12 TiB avail
    pgs:     768 active+clean

(2)检查ntpd服务

[root@node143 ~]# systemctl status  ntpd
[root@node143 ~]# systemctl start ntpd     #新增的节点没有启动ntpd

(3)重启monitor服务node140 node142 的monitor

[root@node140 ceph]# systemctl  restart  ceph-mon.target
[root@node140 ceph]# systemctl  status ceph-mon.target
[root@node142 ceph]# systemctl  restart  ceph-mon.target
[root@node142 ceph]# systemctl  status ceph-mon.target

(4)检查集群已经恢复

[root@node140 ceph]# ceph -s 
  cluster:
    id:     58a12719-a5ed-4f95-b312-6efd6e34e558
    health: HEALTH_OK

  services:
    mon: 2 daemon, quorum node140,node142 (age 3m)
    mgr: admin(active, since 8d), standbys: node140
    mds: cephfs:1 {0=node140=up:active} 1 up:standby
    osd: 22 osds: 22 up (since 31m), 18 in (since 36m)

  data:
    pools:   5 pools, 768 pgs
    objects: 2.65k objects, 9.9 GiB
    usage:   53 GiB used, 12 TiB / 12 TiB avail
    pgs:     768 active+clean

参考:https://blog.csdn.net/genglei1022/article/details/82461053

(11)ceph 告警:1 slow ops, oldest one blocked for

标签:res   cluster   osd   node   root   data   roo   cep   服务   

原文地址:https://blog.51cto.com/7603402/2439766

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!