Dear all, I have some VMs like this one:
Real size:
After restore VM on a Dest srv from backup I see the following:
vm config disk:
zfs-data:
It is for all my VMs when I move it to a new proxmox.
It is the same problem like this:
https://forum.proxmox.com/threads/zfs-pool-not-showing-correct-usage.31111/ ?
My zpool is:
zfs raid 10, ashift=12, compression=on, volblocksize=8k, sparce enabled=on
- Source srv: pve 4.1.22
- Dest srv: pve 5.1.36
virtio0: exchange:3031/vm-3031-disk-1.qcow2,size=45G
Real size:
root@pve-03:~# qemu-img info /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
image: /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
file format: qcow2
virtual size: 45G (48318382080 bytes)
disk size: 45G
root@pve-03:~# du -sh /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
45G /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
root@pve-03:~# du -sh --apparent-size /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
45G /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
image: /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
file format: qcow2
virtual size: 45G (48318382080 bytes)
disk size: 45G
root@pve-03:~# du -sh /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
45G /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
root@pve-03:~# du -sh --apparent-size /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
45G /mnt/pve/exchange/images/3031/vm-3031-disk-1.qcow2
After restore VM on a Dest srv from backup I see the following:
vm config disk:
virtio0: local-zfs:vm-20000-disk-1,size=45G
zfs-data:
root@dve-01:~# zfs list -o name,used,refer,volsize,volblocksize,written -r tank
NAME USED REFER VOLSIZE VOLBLOCK WRITTEN
tank 577G 96K - - 0
tank/vm-20000-disk-1 71.4G 25.0G 45G 8K 0
I have 71.4G, and real size: 25.0G. What are bad? I have sparce and compression zfs pool.NAME USED REFER VOLSIZE VOLBLOCK WRITTEN
tank 577G 96K - - 0
tank/vm-20000-disk-1 71.4G 25.0G 45G 8K 0
It is for all my VMs when I move it to a new proxmox.
It is the same problem like this:
https://forum.proxmox.com/threads/zfs-pool-not-showing-correct-usage.31111/ ?
My zpool is:
zfs raid 10, ashift=12, compression=on, volblocksize=8k, sparce enabled=on
Last edited: