[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

 

相关文章:

  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2022-02-22
  • 2021-10-04
  • 2021-08-16
猜你喜欢
  • 2021-09-10
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
  • 2021-07-08
相关资源
相似解决方案