Solved “Error EPERM: pool deletion is disabled you must first set the mon_allow_pool_delete config option to true” when Delete Pool on Ceph Cluster

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
[root@ceph-01 ~]# ceph tell mon.* injectargs --mon_allow_pool_delete true
mon.ceph-01: {}
mon.ceph-01: mon_allow_pool_delete = 'true'
mon.ceph-02: {}
mon.ceph-02: mon_allow_pool_delete = 'true'
mon.ceph-03: {}
mon.ceph-03: mon_allow_pool_delete = 'true'
[root@ceph-01 ~]# ceph osd pool delete my-pool my-pool --yes-i-really-really-mean-it
pool 'my-pool' removed
[root@ceph-01 ~]# ceph tell mon.* injectargs --mon_allow_pool_delete false
mon.ceph-01: {}
mon.ceph-01: mon_allow_pool_delete = 'false'
mon.ceph-02: {}
mon.ceph-02: mon_allow_pool_delete = 'false'
mon.ceph-03: {}
mon.ceph-03: mon_allow_pool_delete = 'false'

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ach.Chusnul Chikam

Ach.Chusnul Chikam

26 Followers

Cloud Consultant | RHCSA | RHCE in Red Hat OpenStack | Google Cloud ACE | AWS SAA | LinkedIn: https://www.linkedin.com/in/achchusnulchikam