guest fstrim not showing free space
I have a 74GB vm with 34466MB free space. But when I do fstrim / 'rbd du' shows still 60GB used. When I fill the 34GB of space with an image, delete it and do again the fstrim 'rbd du' still shows 59GB used. Is this normal? Or should I be able to get it to ~30GB used?
Have you also tried the ‚rbd sparsify‘ command? It worked for me. https://docs.ceph.com/en/latest/man/8/rbd/ Zitat von Marc Roos <M.Roos@f1-outsourcing.eu>:
I have a 74GB vm with 34466MB free space. But when I do fstrim / 'rbd du' shows still 60GB used. When I fill the 34GB of space with an image, delete it and do again the fstrim 'rbd du' still shows 59GB used.
Is this normal? Or should I be able to get it to ~30GB used?
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
At first this worked[1] but after I removed the snaphost I am back at 57GB[2] I ran rbd sparsify again after the snapshot was removed, but stayed the same. [1] NAME PROVISIONED USED XXX@XXX.bak 74 GiB 59 GiB XXX 74 GiB 37 GiB <TOTAL> 74 GiB 96 GiB [2] NAME PROVISIONED USED XXX 74 GiB 57 GiB -----Original Message----- Cc: ceph-users Subject: [ceph-users] Re: guest fstrim not showing free space Have you also tried the ‚rbd sparsify‘ command? It worked for me. https://docs.ceph.com/en/latest/man/8/rbd/ Zitat von Marc Roos <M.Roos@f1-outsourcing.eu>:
I have a 74GB vm with 34466MB free space. But when I do fstrim / 'rbd du' shows still 60GB used. When I fill the 34GB of space with an image, delete it and do again the fstrim 'rbd du' still shows 59GB used.
Is this normal? Or should I be able to get it to ~30GB used?
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Eugen Block
-
Marc Roos