Thin provision shows differently between new disk and moved disk

Proxfan2025

New Member
Sep 26, 2021
20
0
1
54
I got a 256GB NVME and built a Windows Server VM on a local ZFS with 8TB thin provisioned disks.

I then shared it as an SMB/CIFS volume and registered it as PVE storage, to have a VM running on it. The disk contains Windows 11 OS. I then tried several restores and disk moves between Local-ZFS and the SMB volume.

According to the QCOW2 virtual drive file size on Windows Server, it consumes more than 268 GB. This clearly exceeds the size of the physical disk. In contrast, PVE says it's consuming only about 50 GB, which is equivalent to the size of Win11 OS.

What I don't understand is that if I choose SMB/CIFS volume as the disk location from the beginning and create a VM, the "actual size" is displayed as thin provisioned. The actual size is smaller, as you may see on 1st attached picture.

But, if you move or restore from Local-ZFS to SMB/CIFS volume, the "actual size" is same as disk size and you will not see the thin provisioning in action, as you see on 2nd attached picture. On PVE again, it seems that the thin provision is working. This is what is confusing me.

As the simplest way, should I create VM on SMB/CIFS volume and not try to move/restore from local-ZFS? Any advice will be welcome. Thank you.
 

Attachments

  • 2023-06-27 12_16_25-68747470733a2f2f71696974612d696d6167652d73746f72652e73332e61702d6e6f727468...png
    2023-06-27 12_16_25-68747470733a2f2f71696974612d696d6167652d73746f72652e73332e61702d6e6f727468...png
    11.5 KB · Views: 5
  • 2023-06-27 12_16_51-192.168.100.55 - リモート デスクトップ接続.png
    2023-06-27 12_16_51-192.168.100.55 - リモート デスクトップ接続.png
    9.8 KB · Views: 5

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!