运维开发网

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

运维开发网 https://www.qedev.com 2020-07-17 08:31 出处:网络
(1)ceph告警提示:1 slow ops, oldest one blocked for [[email protected] ~]# ceph -s cluster:
(1)ceph告警提示:1 slow ops, oldest one blocked for
[[email protected] ~]# 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服务

[[email protected] ~]# systemctl status  ntpd
[[email protected] ~]# systemctl start ntpd     #新增的节点没有启动ntpd

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

[[email protected] ceph]# systemctl  restart  ceph-mon.target
[[email protected] ceph]# systemctl  status ceph-mon.target
[[email protected] ceph]# systemctl  restart  ceph-mon.target
[[email protected] ceph]# systemctl  status ceph-mon.target

(4)检查集群已经恢复

[[email protected] 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

0

精彩评论

暂无评论...
验证码 换一张
取 消