the tank is made of 10x2TB Samsung 980 Pro NVME drives in a striped mirror setup.
I have around 600gb on it, and somehow it reads 2.44tb used, i know in Raidz1 this can happen (at least from forums), but did not expect this. can anyone help me get my head around this and how to solve it?
Configured via the UI as RAID10
Thinking that maybe its because of space reservation for the VM that proxmox guarantees and not a ZFS thing, (based on this)
Based on documentation, looks like the space is promised to the VM. pitty, since in VMWare i could easily do something like “thin provisioning” and only use actual used space.
My ZFS pool only shows actual used spaced and not a full allocation, that goes for both the root pool and storage pool. If you edit the ZFS pool in the Storage menu of Datacenter, is thin provisioning checked?
now, how do I make the change for existing machines to reflect it ? do I have to wipe/redeploy them ? (i have backups) storage currently still shows the full size
With ZFS, changes only apply to new writes so either restore backups or move the disk off the pool and back onto it.
Block size is regarding the volblocksize property of ZFS . It is for ZVOLs which are used by LXCs as their disk. It’s basically akin to sector size of physical disk and modern SSDs have 8k size sectors generally. There can be a lot of nuances with ZFS tuning but since you’re using striped mirrors, it’s pretty straight forward. The defaults are fine for like 95+% of use cases.