Hi,

rbd are thin provisionned, you need to trim on the upper level, either
via the fstrim command, or the discard option (on Linux)

Unless you trim, the rbd layer does not know that data has been removed
and are thus no longer needed



On 1/6/20 10:30 AM, M Ranga Swami Reddy wrote:
> Hello,
> I ran the "rbd du <pool>/image" command. Its shows increasing, when I add
> data to the image. That looks good. But when I removed data from the image,
> its not showing the decreasing the size.
> 
> Is this expected with "rbd du" or its not implemented?
> 
> NOTE: Expected behavior is the same as " Linux du command"
> 
> Thanks
> Swami
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to