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'

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Software development with UML and modern Java — Bitbucket

The resignation economy may just save software engineering

picturesque Green Amethyst Silver Green Ring handmade L-1in US 5678

Internet 101: What actually is it?

REMOTE HIRE NODE.JS DEVELOPER IN MIAMI

C# First startup — How to get started

Bug Bounty Hunting Tips #3 — Kicking S3 Buckets

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

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

More from Medium

Saudi Arabia secures thousands of wells following boy’s death in Morocco

Memory Punctum: Photography & Cartography Workshop MOCA Lecture

Deploying a Galera Cluster in Ubuntu 18.04

BUILDING A FACE DETECTION SYSTEM: A SEQUEL OF COMPUTER VISION