ceph删除osd pool


删除ceph osd pool发现有以下log
# ceph osd pool rm utopa utopa --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-deploy安装目录
[root@ceph1 ceph-install]# pwd
/ceph-install
在该目录下的ceph.conf文件,添加mon_allow_pool_delete = true
[global]
.......
mon_allow_pool_delete = true
二、使用ceph-deploy推配置给所有节点
# ceph-deploy --overwrite-conf config push ceph{1..3}
并重启所有ceph_mon进程
ceph1:
systemctl restart ceph-mon@ceph1.service
ceph2:
systemctl restart ceph-mon@ceph2 .service
ceph3:
systemctl restart ceph-mon@ceph3 .service
三、删除pool
# ceph osd pool rm utopa utopa --yes-i-really-really-mean-it
pool 'utopa' removed
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM