Hi,
I have an zfs pool with an MsSql-VM, wich change a lot of data. I use zfs for disaster recovery - send snapshots with pve-zsync to another cluster-node and with znapzend to an remote-host.
After a short time of use, the pool has an high fragmentation:
I have read, that defragmentation isn't possible on zfs. Is this still valid?
And the REFER blow up, which don't fit to the sanpshots:
If the only way is storage migration, it's not realy usable - if I migrate the 1TB-Volume with storage migration the volume use the full space after that. Mean migrate away, migrate back, write zeros to free space.
And, if i see it right, an new zfs-sync (with pve-zsync and znapzend) will transmit then the whole vm-disk again, because it's an new one (and 600GB over an wan-connection takes some days).
Any hints?
Udo
I have an zfs pool with an MsSql-VM, wich change a lot of data. I use zfs for disaster recovery - send snapshots with pve-zsync to another cluster-node and with znapzend to an remote-host.
After a short time of use, the pool has an high fragmentation:
Code:
zpool get capacity,size,health,fragmentation
NAME PROPERTY VALUE SOURCE
pve02pool capacity 73% -
pve02pool size 1.73T -
pve02pool health ONLINE -
pve02pool fragmentation 40% -
And the REFER blow up, which don't fit to the sanpshots:
Code:
zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
pve02pool/vm-200-disk-2@rep_default_2018-04-11_11:45:01 476M - 605G -
pve02pool/vm-200-disk-2@2018-04-11-180000 62.6M - 685G -
pve02pool/vm-200-disk-2@2018-04-12-000000 30.9M - 684G -
pve02pool/vm-200-disk-2@2018-04-12-060000 11.3M - 684G -
pve02pool/vm-200-disk-2@2018-04-12-120000 94.2M - 684G -
pve02pool/vm-200-disk-2@rep_default_2018-04-12_17:45:16 2.01M - 684G -
pve02pool/vm-200-disk-2@2018-04-12-180000 2M - 684G -
pve02pool/vm-200-disk-2@2018-04-13-000000 142G - 880G -
pve02pool/vm-200-disk-2@rep_default_2018-04-13_05:45:07 2.45M - 727G -
pve02pool/vm-200-disk-2@2018-04-13-060000 2.42M - 727G -
pve02pool/vm-200-disk-2@2018-04-13-120000 91.7M - 727G -
pve02pool/vm-200-disk-2@rep_default_2018-04-13_13:30:05 46.7M - 727G -
And, if i see it right, an new zfs-sync (with pve-zsync and znapzend) will transmit then the whole vm-disk again, because it's an new one (and 600GB over an wan-connection takes some days).
Any hints?
Udo