周末灌数据,一步小心灌多了,导致pool full ,集群整个废掉。

集群osd full 的处理方式集群osd full 的处理方式
集群osd full 的处理方式

解决办法1:重新设置权重:
ceph osd reweight osd.4 0.9
集群osd full 的处理方式
解决办法2:
数据平衡,我们可以发现,有很多osd use 都不很是很均匀的:
集群osd full 的处理方式
这是官网提供的数据平衡的方法。

解决方法3:直接强制删除数据:
rados ls -p <pool_name> |grep <obj_name> |xargs -i rados rm {} -p <pool_name>

执行了以上方法后,集群的状态:
集群osd full 的处理方式
集群osd full 的处理方式
现在,少年,等待吧…

相关文章:

  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2021-10-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-02-09
  • 2021-07-18
  • 2022-12-23
相关资源
相似解决方案