ZFS used space (mis)calculation?

Victor Sudakov vas at sibptus.ru
Tue Apr 21 05:42:07 UTC 2020


Dear Colleagues,

How can it happen that the sum total of all space occupied by snapshots does
not equal USEDSNAP?

130+21.4+20.2+19.8=191.4, not 219G. Where are my missing 150G ?

Please look (a complete picture, nothing redacted):

# zfs list -t all -o space
NAME                                       AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
fastdrive                                   371G   784G       52K     23K              0       784G
fastdrive at 2020-04-17_00.05.00--5d              -    13K         -       -              -          -
fastdrive at 2020-04-17_12.05.00--5d              -      0         -       -              -          -
fastdrive at 2020-04-18_00.05.00--5d              -      0         -       -              -          -
fastdrive at 2020-04-18_12.05.00--5d              -      0         -       -              -          -
fastdrive at 2020-04-19_00.05.00--5d              -      0         -       -              -          -
fastdrive at 2020-04-19_12.05.00--5d              -      0         -       -              -          -
fastdrive at 2020-04-20_00.05.00--5d              -      0         -       -              -          -
fastdrive at 2020-04-20_12.05.00--5d              -      0         -       -              -          -
fastdrive/pg_data                           371G   783G      219G    565G              0          0
fastdrive/pg_data at 2020-04-19_00.05.00--5d      -   130G         -       -              -          -
fastdrive/pg_data at 2020-04-19_12.05.00--5d      -  21.4G         -       -              -          -
fastdrive/pg_data at 2020-04-20_00.05.00--5d      -  20.2G         -       -              -          -
fastdrive/pg_data at 2020-04-20_12.05.00--5d      -  19.8G         -       -              -          -



-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200421/f579622c/attachment.sig>


More information about the freebsd-questions mailing list