On 24-05-12 09:38, Stefan Priebe - Profihost AG wrote:
Am 24.05.2012 09:28, schrieb Wido den Hollander:
Hi,
On 24-05-12 09:01, Stefan Priebe - Profihost AG wrote:
Hi,
every rados bench write uses disk space and my space fills up. How to
free this space again?
Used command?
rados -p data bench 60 write -t 16
What does this show:
$ rados -p data ls|wc -l
~# 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?
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 ;)
Wido
Thanks!
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html