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