I inspirer Member Apr 27, 2020 2 0 6 34 Sep 14, 2020 #1 I create vm and storage OS on ceph-rbd pool. My ceph-rbd storage almost full, so I need clear some unuse data on VM. After clear data, VM storage almost free. But problem that, my ceph-rbd status remain unchanged. So How can I fix that problem !
I create vm and storage OS on ceph-rbd pool. My ceph-rbd storage almost full, so I need clear some unuse data on VM. After clear data, VM storage almost free. But problem that, my ceph-rbd status remain unchanged. So How can I fix that problem !
dylanw Proxmox Retired Staff Retired Staff Jul 6, 2020 373 84 28 Sep 14, 2020 #2 You could try running fstrim on the mount point of the pool. This discards unused blocks on the file system. Some options for when and where you may use this are discussed throughout the PVE documentation (e.g., see section 8.12.2 https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_pveceph) This page also explains what causes this problem: https://www.sebastien-han.fr/blog/2015/01/26/ceph-and-krbd-discard/
You could try running fstrim on the mount point of the pool. This discards unused blocks on the file system. Some options for when and where you may use this are discussed throughout the PVE documentation (e.g., see section 8.12.2 https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_pveceph) This page also explains what causes this problem: https://www.sebastien-han.fr/blog/2015/01/26/ceph-and-krbd-discard/