ceph – 在销毁pool1_U(500)之前删除池’mon_allow_pool_delete配置选项为true

我正在运行proxmox,我尝试删除一个我创建错误的池.
但它不断给出这个错误:

mon_command failed - pool deletion is disabled; you must first set the mon_allow_pool_delete config option to true before you can destroy a pool1_U (500)
OK

但:

root@kvm-01:~# ceph -n mon.0 --show-config | grep mon_allow_pool_delete
mon_allow_pool_delete = true
root@kvm-01:~# ceph -n mon.1 --show-config | grep mon_allow_pool_delete
mon_allow_pool_delete = true
root@kvm-01:~# ceph -n mon.2 --show-config | grep mon_allow_pool_delete
mon_allow_pool_delete = true

root@kvm-01:~# cat /etc/ceph/ceph.conf
[global]
         auth client required = cephx
         auth cluster required = cephx
         auth service required = cephx
         cluster network = 10.0.0.0/24
         filestore xattr use omap = true
         fsid = 41fa3ff6-e751-4ebf-8a76-3f4a445823d2
         keyring = /etc/pve/priv/$cluster.$name.keyring
         osd journal size = 5120
         osd pool default min size = 1
         public network = 10.0.0.0/24
[osd]
         keyring = /var/lib/ceph/osd/ceph-$id/keyring
[mon.0]
         host = kvm-01
         mon addr = 10.0.0.1:6789
         mon allow pool delete = true

[mon.2]
         host = kvm-03
         mon addr = 10.0.0.3:6789
         mon allow pool delete = true
[mon.1]
         host = kvm-02
         mon addr = 10.0.0.2:6789
         mon allow pool delete = true

这是我的完整配置.知道为什么我无法删除我的游泳池吗?

最佳答案
你需要做的:

systemctl restart ceph-mon.target

否则,您可以无限次重启服务器,但没有任何反应

转载注明原文:ceph – 在销毁pool1_U(500)之前删除池’mon_allow_pool_delete配置选项为true - 代码日志