I am migrating a few VMs from my old server with PROXMOX-7.4 and Directory storage to my new server with PROXMOX-8.1 which uses LVM-thin storage.
I have them both on the same cluster and trying to use the "live-migration" feature.
The VMs have 40GB assigned to them, but they use only about 10GB of it, so I would expect them to take only 10GB of space after moving to the LVM-thin storage. But instead, they act as thick provisioning and take 40GB out of the new storage.
More info-
- My VMs are originally in qcow2 format and after migration, they switch to a raw format
- The VMs have an encrypted disk
What I already tried-
- Running `fstrim --all` on the guests and the host.
- Converting the VMs to "raw" format before migrating
- Activating the "Discard" option on the hardware menu
- Rebooting the guests and the host
Still, I can see on my PROXMOX UI that the VMs are taking 40GB (100% of the assigned disk) on the LVM-thin storage.
What can I do? I don't want to lose the advantages of thin-provisioning
I have them both on the same cluster and trying to use the "live-migration" feature.
The VMs have 40GB assigned to them, but they use only about 10GB of it, so I would expect them to take only 10GB of space after moving to the LVM-thin storage. But instead, they act as thick provisioning and take 40GB out of the new storage.
More info-
- My VMs are originally in qcow2 format and after migration, they switch to a raw format
- The VMs have an encrypted disk
What I already tried-
- Running `fstrim --all` on the guests and the host.
- Converting the VMs to "raw" format before migrating
- Activating the "Discard" option on the hardware menu
- Rebooting the guests and the host
Still, I can see on my PROXMOX UI that the VMs are taking 40GB (100% of the assigned disk) on the LVM-thin storage.
What can I do? I don't want to lose the advantages of thin-provisioning