Yes, use everywhere virtio-scsi (via kvm with discard='unmap'). 'lsblk
--discard' also shows discard is supported. vm's with xfs filesystem
seem to behave better.
-Original Message-
Cc: lordcirth; ceph-users
Subject: Re: [ceph-users] Re: guest fstrim not
I should have started out by asking how is the RBD mounted? Directly
on a host of through a hypervisor like KVM?
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
What driver did you use to mount the volumes? I believe only
virtio-scsi supports fstrim commands.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
Is there a solution for this? Because I have some more old vm's having
x100GB's of free fs.
-Original Message-
To: lordcirth
Cc: ceph-users
Subject: [ceph-users] Re: guest fstrim not showing free space
Yes! Indeed old one, with ext4 still.
-Original Message-
Se
Yes! Indeed old one, with ext4 still.
-Original Message-
Sent: Monday, December 07, 2020 3:58 PM
Cc: ceph-users
Subject: Re: [ceph-users] guest fstrim not showing free space
Is the VM's / ext4?
On Sun., Dec. 6, 2020, 12:57 p.m. Marc Roos,
wrote:
I have a 74GB vm with 34466
Is the VM's / ext4?
On Sun., Dec. 6, 2020, 12:57 p.m. Marc Roos,
wrote:
>
>
> 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.
>
>
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
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 :
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 aga