ceph刪除pool


[root@k8s-master ~]# ceph osd pool rm cephfs_data cephfs_data  --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

添加刪除pool權限

cd /etc/ceph/
cat /etc/ceph/ceph.conf 
[global]
mon_allow_pool_delete = true

分發配置文件

[cephadmin@k8s-master ceph-cluster]$ ceph-deploy --overwrite-conf config push k8s-master k8s-node1 k8s-node2

重啟所有節點的mon和mgr服務

[root@k8s-node1 ~]# systemctl restart ceph-mgr@k8s-node1.service
[root@k8s-node1 ~]# systemctl restart ceph-mon@k8s-node1.service

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM