I've got a dataset without children that I sent from one server to another with the code below
Now the two datasets have a nearly 2x difference in their 'used' property. I have read the relevant man pages, but I fail to understand the discrepancy here.
From the original:
And from the receiving host
Code:
$ ssh remotehost zfs send zpool/dataset@snap | zfs recv zroot/dataset
Now the two datasets have a nearly 2x difference in their 'used' property. I have read the relevant man pages, but I fail to understand the discrepancy here.
From the original:
Code:
# remotehost
$ zfs get used,usedbydataset,logicalused,refer,copies,compress,compressratio,volblocksize zpool/dataset
NAME PROPERTY VALUE SOURCE
zpool/dataset used 53.4G -
zpool/dataset usedbydataset 51.7G -
zpool/dataset logicalused 20.1G -
zpool/dataset referenced 51.7G -
zpool/dataset copies 2 local
zpool/dataset compression zstd local
zpool/dataset compressratio 1.98x -
zpool/dataset volblocksize - -
And from the receiving host
Code:
# localhost
$ zfs get used,usedbydataset,logicalused,refer,copies,compress,compressratio,volblocksize zroot/dataset
NAME PROPERTY VALUE SOURCE
zroot/dataset used 27.9G -
zroot/dataset usedbydataset 27.2G -
zroot/dataset logicalused 19.9G -
zroot/dataset referenced 27.2G -
zroot/dataset copies 2 received
zroot/dataset compression zstd received
zroot/dataset compressratio 2.00x -
zroot/dataset volblocksize - -