首页 > 其他 > 详细

[Ceph]pool 删除 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

时间:2020-09-11 23:22:53      阅读:299      评论:0      收藏:0      [点我收藏+]
# 修改配置文件添加
[mon]
mon allow pool delete = true

# 推送配置
[root@ceph1 ceph-deploy]# ceph-deploy --overwrite-conf config push ceph1 ceph2 ceph3

# 重启所有节点mon
for i in {1..3}
do ssh ceph${i} "systemctl restart ceph-mon.target
"
done

# 删除pool一定要如下2步
[root@ceph1 ceph-deploy]# ceph osd pool rm hddpool --yes-i-really-really-mean-it
Error EPERM: WARNING: this will *PERMANENTLY DESTROY* all data stored in pool hddpool.  If you are *ABSOLUTELY CERTAIN* that is what you want, pass the pool name *twice*, followed by --yes-i-really-really-mean-it.
[root@ceph1 ceph-deploy]# ceph osd pool rm hddpool hddpool --yes-i-really-really-mean-it
pool ‘hddpool‘ removed

END

[Ceph]pool 删除 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

原文:https://www.cnblogs.com/leoshi/p/13654244.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!