I would either make my own pool and delete it when done:

rados mkpool testpool
RUN BENCHMARKS
rados rmpool testpool testpool --yes-i-really-really-mean-it

or use the cleanup command, but I ended up having to also delete 
benchmark_last_metadata

RUN BENCHMARKS
rados -p data ls
…
# Note the names of the preceding "_object#"

rados -p data cleanup benchmark_data_ubuntu_#####
rados -p data rm benchmark_last_metadata

David Zafman
Senior Developer
http://www.inktank.com




On Mar 12, 2013, at 2:11 PM, Scott Kinder <[email protected]> wrote:

> A follow-up question. How do I cleanup the written data, after I finish up 
> with my benchmarks? I notice there is a cleanup <prefix> object command, 
> though I'm unclear on how to use it.
> 
> 
> On Tue, Mar 12, 2013 at 2:59 PM, Scott Kinder <[email protected]> wrote:
> That did the trick, thanks David.
> 
> 
> On Tue, Mar 12, 2013 at 2:48 PM, David Zafman <[email protected]> 
> wrote:
> 
> Try first doing something like this first.
> 
> rados bench -p data 300 write --no-cleanup
> 
> David Zafman
> Senior Developer
> http://www.inktank.com
> 
> 
> 
> 
> On Mar 12, 2013, at 1:46 PM, Scott Kinder <[email protected]> wrote:
> 
>> When I try and do a rados bench, I see the following error:
>> 
>> # rados bench -p data 300 seq
>> Must write data before running a read benchmark!
>> error during benchmark: -2
>> error 2: (2) No such file or directory
>> 
>> There's been objects written to the data pool. What's required to get the 
>> read bench test to work?
>> _______________________________________________
>> 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