fstrim does not shrink ceph OSD disk usage ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux