From: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
To: Wido den Hollander <wido@widodh.nl>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: how to free space from rados bench comman?
Date: Thu, 24 May 2012 10:51:29 +0200 [thread overview]
Message-ID: <4FBDF691.3070601@profihost.ag> (raw)
In-Reply-To: <4FBDEFB0.3030700@widodh.nl>
Am 24.05.2012 10:22, schrieb Wido den Hollander:
> On 24-05-12 09:38, Stefan Priebe - Profihost AG wrote:
>>
>> ~# rados -p data ls|wc -l
>> 46631
>
> That is weird, I thought the bench tool cleaned up it's "mess".
>
> Imho it should cleanup after it's done, but there might be a reason why
> it's not. Did you abort the benchmark or did you let it do the whole run?
No it doesn't BUG?
~# rados -p data ls
~#
~# rados -p data bench 20 write -t 16
...
~# rados -p data ls| wc -l
589
>> I do not use the data pool so it is seperate ;-) i only use the rbd pool
>> for block devices.
>>
>> So i will free the space with:
>> for i in `rados -p data ls`; do echo $i; rados -p data rm $i; done
>
> rados -p data ls|xargs -n 1 rados -p data rm
>
> I love shorter commands ;)
me too i just tried it without -n and hoped that this works but rados
didn't support more than 1 file per command and i didn't remembered -n1 ;)
Stefan
next prev parent reply other threads:[~2012-05-24 8:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 7:01 how to free space from rados bench comman? Stefan Priebe - Profihost AG
2012-05-24 7:28 ` Wido den Hollander
2012-05-24 7:38 ` Stefan Priebe - Profihost AG
2012-05-24 8:22 ` Wido den Hollander
2012-05-24 8:51 ` Stefan Priebe - Profihost AG [this message]
2012-05-24 17:55 ` Greg Farnum
2012-05-24 18:05 ` Josh Durgin
2012-05-24 18:14 ` Greg Farnum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FBDF691.3070601@profihost.ag \
--to=s.priebe@profihost.ag \
--cc=ceph-devel@vger.kernel.org \
--cc=wido@widodh.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.