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