I noted that older zfs dataset is more space it uses than it really does. More clearly, kvm disk has only 51.53 GB in use.
When I move this dataset to new node, it moves 152 GB;
But dataset values are:
How can I reduce it to real sizes? Do I need to zerofill disk ?
When I move this dataset to new node, it moves 152 GB;
Code:
root@s1:~# pve-zsync sync --source 118 --dest 1.2.3.4:D4 --verbose
send from @rep_default_2019-12-08_20:59:49 to rpool/data/vm-118-disk-1@rep_default_2019-12-08_23:01:59 estimated size is 152G
But dataset values are:
Code:
NAME PROPERTY VALUE SOURCE
rpool/data/vm-118-disk-1 type volume -
rpool/data/vm-118-disk-1 creation Fri Sep 7 20:58 2018 -
rpool/data/vm-118-disk-1 used 291G -
rpool/data/vm-118-disk-1 available 1.17T -
rpool/data/vm-118-disk-1 referenced 117G -
rpool/data/vm-118-disk-1 compressratio 1.35x -
rpool/data/vm-118-disk-1 reservation none default
rpool/data/vm-118-disk-1 volsize 150G local
rpool/data/vm-118-disk-1 volblocksize 8K default
rpool/data/vm-118-disk-1 checksum on default
rpool/data/vm-118-disk-1 compression on inherited from rpool
rpool/data/vm-118-disk-1 readonly off default
rpool/data/vm-118-disk-1 createtxg 12900 -
rpool/data/vm-118-disk-1 copies 1 default
rpool/data/vm-118-disk-1 refreservation 155G local
rpool/data/vm-118-disk-1 guid 6107262585135632680 -
rpool/data/vm-118-disk-1 primarycache all default
rpool/data/vm-118-disk-1 secondarycache all default
rpool/data/vm-118-disk-1 usedbysnapshots 20.3G -
rpool/data/vm-118-disk-1 usedbydataset 117G -
rpool/data/vm-118-disk-1 usedbychildren 0B -
rpool/data/vm-118-disk-1 usedbyrefreservation 154G -
rpool/data/vm-118-disk-1 logbias latency default
rpool/data/vm-118-disk-1 dedup off default
rpool/data/vm-118-disk-1 mlslabel none default
rpool/data/vm-118-disk-1 sync standard inherited from rpool
rpool/data/vm-118-disk-1 refcompressratio 1.26x -
rpool/data/vm-118-disk-1 written 858M -
rpool/data/vm-118-disk-1 logicalused 183G -
rpool/data/vm-118-disk-1 logicalreferenced 147G -
rpool/data/vm-118-disk-1 volmode default default
rpool/data/vm-118-disk-1 snapshot_limit none default
rpool/data/vm-118-disk-1 snapshot_count none default
rpool/data/vm-118-disk-1 snapdev hidden default
rpool/data/vm-118-disk-1 context none default
rpool/data/vm-118-disk-1 fscontext none default
rpool/data/vm-118-disk-1 defcontext none default
rpool/data/vm-118-disk-1 rootcontext none default
rpool/data/vm-118-disk-1 redundant_metadata all default
How can I reduce it to real sizes? Do I need to zerofill disk ?