How to recover disk space in ceph

mgiammarco

Renowned Member
Feb 18, 2010
165
10
83
Hello,
I have this problem: my customer has a virtual machine where he creates and deletes big files each day.
The vm has no discard support so ceph must keep a lot of space.
How can I simulate discard and recover some space?
Thanks,
Mario
 
The VM needs to do the discard, as the filesystem is the only place, where the information about used/unused blocks is. Otherwise you need to delete and recreate the disk.