----- Message from zhu qiang <zhu_qiang_ws at foxmail.com> --------- Date: Fri, 8 Aug 2014 10:00:18 +0800 From: zhu qiang <zhu_qiang_ws at foxmail.com> Subject: RE: rados bench no clean cleanup To: 'Kenneth Waegeman' <Kenneth.Waegeman at UGent.be>, 'ceph-users' <ceph-users at lists.ceph.com> > Not "cleanup", it is "--no-cleanup" I wanted to delete the benchdata, not to keep it:) > > -----Original Message----- > From: ceph-users [mailto:ceph-users-bounces at lists.ceph.com] On > Behalf Of Kenneth Waegeman > Sent: Wednesday, August 06, 2014 4:49 PM > To: ceph-users > Subject: [ceph-users] rados bench no clean cleanup > > Hi, > > I did a test with 'rados -p ecdata bench 100000 write' on an ECpool > with a cache replicated pool over it (ceph 0.83). > The benchmark wrote about 12TB of data. After the 100000 seconds > run, rados started to delete his benchmark files. > But only about 2,5TB got deleted, then rados returned. I tried to do > it with the cleanup function 'rados -p ecdata cleanup --prefix bench' > and after a lot of time, it returns: > > Warning: using slow linear search > Removed 2322000 objects > > But rados df showed the same statistics as before. > I ran it again, and it again showed 'Removed 2322000 objects', > without any change in the rados df statistics. > It is probably the 'lazy deletion', because if I try to do a 'rados > get' on it, there is 'No such file or directory'. But I still see > the objects when I do 'rados -p ecdata ls'. > > Is this indeed because of the lazy deletion? Is there a way to see > how much not-deleted objects are in the pool? And is there then a > reason why rados did remove the first 2,5TB? Or is this just a rados > bench issue?:) > > Thanks again! > > Kenneth > > _______________________________________________ > ceph-users mailing list > ceph-users at lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com ----- End message from zhu qiang <zhu_qiang_ws at foxmail.com> ----- -- Met vriendelijke groeten, Kenneth Waegeman