通過 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 )