I setup a Proxmox 6.2-10 machine. It consists of a few SSDs and 4x 10TB drivers. I created a ZFS raid-z2 pool (named hdd) which gives me a usable 17 TB. So far so good.
One of the VMs needs access to a 10TB volume. Therefore, I add a hard drive to it, assign the ZFS storage pool hdd and set the size to 10TB. The disk is created successfully and I can access it in the guest. However, the 10TB vm disk image is 15TB on the real ZFS storage. Why is this? I didn't notice similar behaviors with smaller sizes.
I can only assume that this is due to some overhead such as paging or index data? Is there any workaround for this? I need to be able to assign a 25 TB virtual drive to another guest.
One solution I see is creating multiple smaller virtual disks and then using ZFS on the guest to create a pool of them but there would be a lot of overhead induced by the guest's ZFS layer that wouldn't do any good.
One of the VMs needs access to a 10TB volume. Therefore, I add a hard drive to it, assign the ZFS storage pool hdd and set the size to 10TB. The disk is created successfully and I can access it in the guest. However, the 10TB vm disk image is 15TB on the real ZFS storage. Why is this? I didn't notice similar behaviors with smaller sizes.
I can only assume that this is due to some overhead such as paging or index data? Is there any workaround for this? I need to be able to assign a 25 TB virtual drive to another guest.
One solution I see is creating multiple smaller virtual disks and then using ZFS on the guest to create a pool of them but there would be a lot of overhead induced by the guest's ZFS layer that wouldn't do any good.