RAW Disk Size Expands During VM Migration on Proxmox 8.4

miladb70

New Member
Aug 5, 2025
1
0
1
Hi,
When migrating a VM from one Proxmox 8.4 server to another Proxmox 8.4, the RAW disk expands to its full allocated size (e.g., 30GB) instead of staying sparse. This issue didn't occur in versions before 8.4.

VM config:
Code:
agent: 1
bootdisk: virtio0
cicustom: user=local:snippets/VMID_user.txt
citype: nocloud
cores: 1
memory: 1024
name: VMID
net0: virtio=BC:24:11:8E:43:BF,bridge=vmbr0
virtio0: local:VMID/vm-VMID-disk-0.raw,format=raw,size=30G

Proxmox version: pve-manager/8.4.8/88beaf427bb10dad (running kernel: 6.8.12-9-pve)

Migration command:
Code:
qm remote-migrate 100 200 apitoken='Authorization: PVEAPIToken=root@pam!hotmigrate=<token>',host=<ip>,fingerprint=<fingerprint> --target-bridge vmbr0 --target-storage local --online --bwlimit 80000

Also tested with GUI migration (qm migrate). How can I preserve the sparse disk size during migration on Proxmox 8.4?
Thanks!
 
Last edited: