报错信息:
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

解释:池删除被禁用;在销毁池之前,必须先将mon allow pool delete config选项设置为true
解决方法:
1、找到mon节点,修改配置文件/etc/ceph/ceph.conf
sudo vim ceph.conf
添加如下内容:
mon_allow_pool_delete = true
2、重启mon
sudo systemctl restart ceph-mon.target
3、重新删除pool
sudo ceph osd pool delete rbd rbd --yes-i-really-really-mean-it

本文介绍了当遇到Ceph中ErrorEPERM:池删除被禁用时,如何通过修改mon节点的mon_allow_pool_delete配置选项并重启服务来解决问题。具体步骤包括编辑ceph.conf文件,设置该选项为true,重启mon服务,然后安全地删除pool。
5858

被折叠的 条评论
为什么被折叠?



