> If I understand correctly you want to look at how many “guest filesystem > block size” blocks there are that are empty? > This might not be that precise because we do not discard blocks inside the > guests, but if you tell me how to gather this - I can certainly try that. > I’m not sure if my bash-fu is enough to do this. Here is a quick-n-dirty script to calculate the number of zeroed 4K blocks in all your RADOS objects [1]. If you have a smaller or larger block size on your OSD FS, feel free to tweak the block size variable. For each clone image within a pool, it will locate all associated RADOS objects, download the objects one at a time, and perform a scan for fully zeroed blocks. It's not the most CPU efficient script, but it should get the job done. [1] http://fpaste.org/248755/43803526/ -- Jason Dillaman Red Hat Ceph Storage Engineering dillaman@xxxxxxxxxx http://www.redhat.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com