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