Ceph删除pool

删除pool提示错误

root@ceph01:/etc/ceph-cluster# ceph osd pool delete volumes volumes --yes-i-really-really-mean-it
Error EPERM: pool deletion is disabled; you must first set the mon_allow_pool_delete config option to true before you can destroy a pool

修改ceph集群配置

root@ceph01:/etc/ceph-cluster# vim ceph.conf
[global]
.......
mon_allow_pool_delete = true

同步配置到其他节点后删除成功

root@ceph01:/etc/ceph-cluster# ceph-deploy --overwrite-conf config push ceph0{1..3}
root@ceph01:/etc/ceph-cluster# ceph osd pool delete volumes volumes --yes-i-really-really-mean-it
pool 'volumes' removed
posted @ 2022-06-30 11:28  该搬砖啦  阅读(748)  评论(0编辑  收藏  举报