Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: more details for pool deletion #10190

Merged
merged 1 commit into from Jul 10, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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