Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the error report of ceph health check?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Report error one

[root@ct ceph] # ceph-s cluster: id: dfb110f9-e0e0-4544-9f13-9141750ee9f6 health: HEALTH_WARN Degraded data redundancy: 192 pgs undersized services: mon: 3 daemons, quorum ct,c1,c2 mgr: ct (active), standbys: C2, C1 osd: 2 osds: 2 up, 2 in data: pools: 3 pools, 192 pgs objects: 0 objects, 0B usage: 2.0 GiB used 2.0TiB / 2.0TiB avail pgs: 102active+undersized 90 stale+active+undersized to view obs status C2 is not connected to [root@ct ceph] # ceph osd status+----+ | id | host | used | avail | wr ops | wr data | rd ops | rd data | state | +- -- + | 0 | ct | 1026m | 1022g | 0 | 0 | 0 | exists Up | | 1 | C1 | 1026m | 1022g | 0 | 0 | 0 | exists,up | +-+

Solution:

Restart osd in c2 to solve the problem.

[root@c2 ~] # systemctl restart ceph-osd.target

2. Report error two

[root@ct ceph] # ceph-s cluster: id: 44d72edb-4085-4cfc-8652-eb670472f169 health: HEALTH_WARN clock skew detected on mon.c1, mon.c2 services: mon: 3 daemons, quorum ct,c1,c2 mgr: C1 (active), standbys: C2, ct osd: 3 osds: 1 up, 1 in data: pools: 0 pools, 0 pgs objects: 0 objects, 0 B usage: 1.0 GiB used, 1023 GiB / 1024 GiB avail pgs:

Solution:

(1) Control node restarts NTP service

[root@ct ceph] # systemctl restart ntpd

(2) Compute node resynchronization control node time

[root@c2 ~] # ntpdate 192.168.100.10

(3) restart the mon service at the control node

[root@ct ceph] # systemctl restart ceph-mon.target

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report