Skip to content

Commit

Permalink
Merge pull request #10190 from ktdreyer/doc-delete-pool
Browse files Browse the repository at this point in the history
doc: more details for pool deletion

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jul 10, 2016
2 parents 181f6c6 + 3c43185 commit 89ba840
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions doc/rados/operations/pools.rst
Expand Up @@ -179,9 +179,22 @@ To delete a pool, execute::

If you created your own rulesets and rules for a pool you created, you should
consider removing them when you no longer need your pool. If you created users
with permissions strictly for a pool that no longer exists, you should consider
deleting those users too.
consider removing them when you no longer need your pool::

ceph osd pool get {pool-name} crush_ruleset

If the ruleset was "123", for example, you can check the other pools like so::

ceph osd dump | grep "^pool" | grep "crush_ruleset 123"

If no other pools use that custom ruleset, then it's safe to delete that
ruleset from the cluster.

If you created users with permissions strictly for a pool that no longer
exists, you should consider deleting those users too::

ceph auth list | grep -C 5 {pool-name}
ceph auth del {user}


Rename a Pool
Expand Down

0 comments on commit 89ba840

Please sign in to comment.