Skip to contentSkip to conversation

Unexpected rmpool behavior

DISCUSSION Christian Brunner 2 participants 3 messages Mar 14, 2010 – Mar 16, 2010

lore
Share & tools
lore
#0 lore raw

I've just noticed that "rados rmpool" does not remove the contents of the pool. I would have expected that the objects in the pool are deleted when the pool is removed. - This is probably something for the TODO list.

Christian
--
Christian Brunner

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

#1 lore raw

Christian:
I've just tested this and it sure looks to me like deleting a pool deletes the objects in it. It's not necessarily instantaneous, though -- stuff won't get deleted until the OSD gets a new OSDMap. Try writing something (which will generally put new maps on all the OSDs involved) and see if the pool and its contents disappear from the OSD then. :)
-Greg

Quoted 8 lines · Christian Brunner

I've just noticed that "rados rmpool" does not remove the contents of the pool. I would have expected that the objects in the pool are deleted when the pool is removed. - This is probably something for the TODO list.

Christian
--
Christian Brunner

Quoted 11 lines

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ceph-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ceph-devel

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

#2 lore raw
Quoted 8 lines · Gregory Farnum

Christian:
I've just tested this and it sure looks to me like deleting a pool deletes the objects in it. It's not necessarily instantaneous, though -- stuff won't get deleted until the OSD gets a new OSDMap. Try writing something (which will generally put new maps on all the OSDs involved) and see if the pool and its contents disappear from the OSD then. :)
-Greg

OK - I'm sorry. I was just to impatient. I did an rmpool and saw that the space was not freed immediately.

Christian

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev