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 <[email protected]> wrote:

> Any suggestions ?
>
> Karun Josy
>
> On Mon, Nov 13, 2017 at 10:06 PM, Karun Josy <[email protected]> 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
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to