當前位置:編程學習大全網 - 網站源碼 - ceph寫入時延高導致虛擬機hang死的故障處理

ceph寫入時延高導致虛擬機hang死的故障處理

通過 ceph daemon osd.64 dump_historic_ops 查看這個osd上所有client的op的時延duration,確實存在處理時間較高的情況

通過 smartctl -a /dev/sdi 查看硬盤的壽命,確認ssd盤壽命已不足

執行 ceph osd pool set ssd min_size 1 調整為1

2.調整osd reweight,讓pg不再分配讀寫到這個osd

ceph osd reweight 64 0

3.等待集群最終恢復 health: HEALTH_OK

[1].osd_pool_default_min_size配置( /2020/10/30/ceph%E8%BF%90%E7%BB%B4%E5%A4%A7%E5%AE%9D%E5%89%91%E4%B9%8Bosd%E5%BB%B6%E6%97%B6%E8%B0%83%E6%9F%A5/ )

[3].ssd盤故障判斷( /liudalab/article/details/79485646 )

[4].ceph的weight和reweight的理解( /qq_40017427/article/details/107401851 )

  • 上一篇:Linux中安裝Python用adb命令linux中安裝python
  • 下一篇:php路徑訪問linuxphp路徑
  • copyright 2024編程學習大全網