Hi,
whe have the current scenariio, pve 7.4.x in a cluster.
vm1 on proxhost 2:
lvs shows 28% in use from the 127GB disk on local thin storage. fstrim -av works.
migrate lvm1 to proxhost 01:
lvs shows 100% in use, this is a known issue, but running sudo fstrim -av in the vm normally results in a trimmed thin disk.
But after moving, to host 1, fstrim only trims 1,9gb, leaving 98% stil in use.
dd if=/dev/zero of=/zeros bs=256M
rm /zeros
fstrim -av
Doesn't work either, moving the vm back to host2 still gives 98% in use after fstrim.
So basically, when a vm is moved, it's more al a full provisioned disk.
How can we correct this? we're losing a lot of space this way.
whe have the current scenariio, pve 7.4.x in a cluster.
vm1 on proxhost 2:
lvs shows 28% in use from the 127GB disk on local thin storage. fstrim -av works.
migrate lvm1 to proxhost 01:
lvs shows 100% in use, this is a known issue, but running sudo fstrim -av in the vm normally results in a trimmed thin disk.
But after moving, to host 1, fstrim only trims 1,9gb, leaving 98% stil in use.
dd if=/dev/zero of=/zeros bs=256M
rm /zeros
fstrim -av
Doesn't work either, moving the vm back to host2 still gives 98% in use after fstrim.
So basically, when a vm is moved, it's more al a full provisioned disk.
How can we correct this? we're losing a lot of space this way.