Hi there,

I have a ceph cluster running hammer-release.

Recently I trimmed a lot of virtual disks and I can verify that
the size of the images has decreased a lot.

I checked this with:

/usr/bin/rbd diff $IMG | grep -v zero |awk '{ SUM += $2 } END { print 
SUM/1024/1024 " MB" }'

the output after fstrim is always lower than the output before the fstrim 
becaue the trimmed blocks are shown as zero by rbd diff-


However: The output of ceph status never decreases, now matter about how
many disks I trim, I always have the output:
26457 GB used, 74549 GB / 101006 GB avail

I expected the 26457 GB number to decrease.

Doesn't ceph delete or truncate or zero trimmed blocks on osds ?

Is there something I misunderstand ?

Thanks
  Christoph

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to