Re: [ceph-users] Reuse pool id

2017-11-15 Thread David Turner
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  wrote:

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


Re: [ceph-users] Reuse pool id

2017-11-15 Thread Karun Josy
Any suggestions ?

Karun Josy

On Mon, Nov 13, 2017 at 10:06 PM, Karun Josy  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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Reuse pool id

2017-11-13 Thread Karun Josy
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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com