On 03/12/2013 03:46 PM, Scott Kinder 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?
It should work fine if you did a write previously and used the --no-cleanup flag. Here's an example that does this (sorry for the mess of commented out code, need to clean that up):
https://github.com/ceph/ceph-tools/blob/master/cbt/benchmark/radosbench.py
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com