Hello!
We have a couple of servers configured to use local ZFS pools for storage. These pools have Thin Provisioning enabled.
I used to think that Thin Provisioning + ZFS was enough to have the VMs use on physical storage the same space that they are using into themselves, but it seems I was wrong.
Just to check if I am right, Thin Provisioning only enables the virtual disks to grow according to the needs of the VM, but it does not shrink it, correct? Pretty much link Dynamic VHDs on Hyper-V.
If I want to have the VMs use the least physical disk space needed I have to set them with the Discard option enabled on they disks and also run fstrim periodically on them. Am I right?
And I have one more doubt, the disk space that is grown on the virtual disk but is not actually used on the VM, does it get replicated too? Or replication skips that space? If the "empty" space on the virtual disks is replicated then I guess shrinking the virtual disk should help to improve replication performance, correct?
Thank you very much, any advice is welcome!
Best regards,
Juan
We have a couple of servers configured to use local ZFS pools for storage. These pools have Thin Provisioning enabled.
I used to think that Thin Provisioning + ZFS was enough to have the VMs use on physical storage the same space that they are using into themselves, but it seems I was wrong.
Just to check if I am right, Thin Provisioning only enables the virtual disks to grow according to the needs of the VM, but it does not shrink it, correct? Pretty much link Dynamic VHDs on Hyper-V.
If I want to have the VMs use the least physical disk space needed I have to set them with the Discard option enabled on they disks and also run fstrim periodically on them. Am I right?
And I have one more doubt, the disk space that is grown on the virtual disk but is not actually used on the VM, does it get replicated too? Or replication skips that space? If the "empty" space on the virtual disks is replicated then I guess shrinking the virtual disk should help to improve replication performance, correct?
Thank you very much, any advice is welcome!
Best regards,
Juan