After sending a zvol from one pool to another I was alarmed to find that only half the data was "there" (according to REFER
). Then I noticed on the sent snapshot that referenced
is 302G
and logicalreferenced
is 150G
. But after sending it to a new pool these two values match. I don't understand why this is, and if anything I thought logicalreferenced
is supposed to be larger than referenced
. The 302G
is espiecially confusing because the zvol was populated by sending a 150GB drive over iSCSI using dd
.
tank/Win10Root 831G 747G 302G -
tank/Win10Root@send referenced 302G -
tank/Win10Root@send logicalreferenced 150G -
# zfs send tank/Win10Root@send | zfs recv wd/Win10Root
wd/Win10Root 151G 6.24T 151G -
wd/Win10Root@send referenced 151G -
wd/Win10Root@send logicalreferenced 150G -
EDIT: Posted logicalused
(which is 0) instead of logicalreferenced
on accident
These are all the properties for tank/Win10Root
. The zvol was created with zfs create -V 512G tank/Win10Root
.
@ubuntu1:~$ sudo zfs get all tank/Win10Root | sort
NAME PROPERTY VALUE SOURCE
tank/Win10Root available 740G -
tank/Win10Root checksum on default
tank/Win10Root compression off default
tank/Win10Root compressratio 1.00x -
tank/Win10Root context none default
tank/Win10Root copies 1 default
tank/Win10Root creation Sat Nov 4 14:21 2017 -
tank/Win10Root dedup off default
tank/Win10Root defcontext none default
tank/Win10Root fscontext none default
tank/Win10Root logbias latency default
tank/Win10Root logicalreferenced 150G -
tank/Win10Root logicalused 150G -
tank/Win10Root mlslabel none default
tank/Win10Root primarycache all default
tank/Win10Root readonly off default
tank/Win10Root redundant_metadata all default
tank/Win10Root refcompressratio 1.00x -
tank/Win10Root referenced 302G -
tank/Win10Root refreservation 528G local
tank/Win10Root reservation none default
tank/Win10Root rootcontext none default
tank/Win10Root secondarycache all default
tank/Win10Root snapdev hidden default
tank/Win10Root snapshot_count none default
tank/Win10Root snapshot_limit none default
tank/Win10Root sync standard default
tank/Win10Root type volume -
tank/Win10Root used 831G -
tank/Win10Root usedbychildren 0 -
tank/Win10Root usedbydataset 302G -
tank/Win10Root usedbyrefreservation 528G -
tank/Win10Root usedbysnapshots 0 -
tank/Win10Root volblocksize 8K -
tank/Win10Root volsize 512G local
tank/Win10Root written 0 -