Boy, I did NOT know how to write a good title for this. Something weird is going on, or I'm losing my marbles.
Two of my virtual machines have thinly provisioned ZFS volumes of 200GB each, but whenever migrating between nodes, the process takes a long time and appears to be replicating the full 400GB. When I say "appears", that's how it looks in the progress window and by how long it takes. Making things weirder, I don't see a corresponding disk usage on either node that shows that much data. It's almost as if it's replicating the full 200GB into "thin air".
Here are the properties for VM 111. It's basically the same for 113:
Below is the used storage. If both of those drives REALLY WERE fully 200GB each, I'd be well into the 600GB+ range.
When these drives were originally created, I think they were thick provisioned. To correct that, I followed the instructions here: https://forum.proxmox.com/threads/zfs-enable-thin-provisioning.41549/. Everything seems fine except for the replication.
Does this make sense? Am I off my rocker?
Two of my virtual machines have thinly provisioned ZFS volumes of 200GB each, but whenever migrating between nodes, the process takes a long time and appears to be replicating the full 400GB. When I say "appears", that's how it looks in the progress window and by how long it takes. Making things weirder, I don't see a corresponding disk usage on either node that shows that much data. It's almost as if it's replicating the full 200GB into "thin air".
Bash:
zpc/pve/vm-111-disk-0 40.8G 4.27T 40.8G -
zpc/pve/vm-113-disk-0 8.46G 4.27T 8.46G -
Here are the properties for VM 111. It's basically the same for 113:
Bash:
root@host:~# zfs get all zpc/pve/vm-111-disk-0
NAME PROPERTY VALUE SOURCE
zpc/pve/vm-111-disk-0 type volume -
zpc/pve/vm-111-disk-0 creation Mon May 15 22:54 2023 -
zpc/pve/vm-111-disk-0 used 40.8G -
zpc/pve/vm-111-disk-0 available 4.27T -
zpc/pve/vm-111-disk-0 referenced 40.8G -
zpc/pve/vm-111-disk-0 compressratio 1.75x -
zpc/pve/vm-111-disk-0 reservation none default
zpc/pve/vm-111-disk-0 volsize 200G local
zpc/pve/vm-111-disk-0 volblocksize 8K default
zpc/pve/vm-111-disk-0 checksum on default
zpc/pve/vm-111-disk-0 compression lz4 inherited from zpc
zpc/pve/vm-111-disk-0 readonly off default
zpc/pve/vm-111-disk-0 createtxg 1449614 -
zpc/pve/vm-111-disk-0 copies 1 default
zpc/pve/vm-111-disk-0 refreservation none default
zpc/pve/vm-111-disk-0 guid 10072052703899627452 -
zpc/pve/vm-111-disk-0 primarycache all default
zpc/pve/vm-111-disk-0 secondarycache all default
zpc/pve/vm-111-disk-0 usedbysnapshots 0B -
zpc/pve/vm-111-disk-0 usedbydataset 40.8G -
zpc/pve/vm-111-disk-0 usedbychildren 0B -
zpc/pve/vm-111-disk-0 usedbyrefreservation 0B -
zpc/pve/vm-111-disk-0 logbias latency default
zpc/pve/vm-111-disk-0 objsetid 2315 -
zpc/pve/vm-111-disk-0 dedup off default
zpc/pve/vm-111-disk-0 mlslabel none default
zpc/pve/vm-111-disk-0 sync standard default
zpc/pve/vm-111-disk-0 refcompressratio 1.75x -
zpc/pve/vm-111-disk-0 written 40.8G -
zpc/pve/vm-111-disk-0 logicalused 53.4G -
zpc/pve/vm-111-disk-0 logicalreferenced 53.4G -
zpc/pve/vm-111-disk-0 volmode default default
zpc/pve/vm-111-disk-0 snapshot_limit none default
zpc/pve/vm-111-disk-0 snapshot_count none default
zpc/pve/vm-111-disk-0 snapdev hidden default
zpc/pve/vm-111-disk-0 context none default
zpc/pve/vm-111-disk-0 fscontext none default
zpc/pve/vm-111-disk-0 defcontext none default
zpc/pve/vm-111-disk-0 rootcontext none default
zpc/pve/vm-111-disk-0 redundant_metadata all default
zpc/pve/vm-111-disk-0 encryption off default
zpc/pve/vm-111-disk-0 keylocation none default
zpc/pve/vm-111-disk-0 keyformat none default
zpc/pve/vm-111-disk-0 pbkdf2iters 0 default
Below is the used storage. If both of those drives REALLY WERE fully 200GB each, I'd be well into the 600GB+ range.
When these drives were originally created, I think they were thick provisioned. To correct that, I followed the instructions here: https://forum.proxmox.com/threads/zfs-enable-thin-provisioning.41549/. Everything seems fine except for the replication.
Does this make sense? Am I off my rocker?