Feature #8101
Quickly delete base pool and cache pool without removing overlay
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:
Description
Right now it's rather cumbersome to delete pools that have a cache tier. Simply removing them doesn't work (as we intended):
nhm@burnupiY:~$ sudo ceph -c /tmp/cbt/ceph/ceph.conf osd pool delete rados-bench-burnupiY-3 rados-bench-burnupiY-3 --yes-i-really-really-mean-it Error EBUSY: pool 'rados-bench-burnupiY-3' includes tiers 11 nhm@burnupiY:~$ sudo ceph -c /tmp/cbt/ceph/ceph.conf osd pool delete rados-bench-burnupiY-3-cache rados-bench-burnupiY-3-cache --yes-i-really-really-mean-it Error EBUSY: pool 'rados-bench-burnupiY-3-cache' is a tier of 'rados-bench-burnupiY-3'
So you must go through a process of flushing the cache pool and removing the overlay as described here:
http://ceph.com/docs/master/dev/cache-pool/
This is a very time intensive operation though, especially if you're only purpose is to delete the base pool along with all associated data. It would be useful if there was a mechanism to quickly delete the base pool and cache pool at the same time.
History
#1 Updated by Patrick Donnelly over 4 years ago
- Project changed from Ceph to RADOS
- Category deleted (
ceph cli)