[ceph-users] Reuse pool id

David Turner drakonstein at gmail.com
Wed Nov 15 09:11:34 PST 2017


It's probably against the inner workings of Ceph to change the ID of the
pool.  There are a couple other things in Ceph that keep old data around
most likely to prevent potential collisions.  One in particular is keeping
deleted_snaps in the OSD map indefinitely.

One thing I can think of in particular with the pool ID is that I deleted a
large pool 3 weeks ago and there are still copies of the PGs being deleted
from the OSDs now.  If a new pool were created with the same ID, the PG's
could collide.

On Wed, Nov 15, 2017 at 11:49 AM Karun Josy <karunjosy1 at gmail.com> wrote:

> Any suggestions ?
>
> Karun Josy
>
> On Mon, Nov 13, 2017 at 10:06 PM, Karun Josy <karunjosy1 at gmail.com> wrote:
>
>> Hi,
>>
>> Is there anyway we can change or reuse pool id ?
>> I had created and deleted lot of test pools. So the IDs kind of look like
>> this now:
>>
>> -------
>> $ ceph osd lspools
>> 34 imagepool,37 cvmpool,40 testecpool,41 ecpool1,
>> ----------
>>
>> Can I change it to 0,1,2,3 etc ?
>>
>> Karun
>>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20171115/f8b89cb9/attachment.html>


More information about the ceph-users mailing list