@stephenw10 @SteveITS
Thanks both.
I think the curiosity of what gets moved is satisfied. The empty / small directories in the following, have not been considered.
Consider the following from the dashboard where
/var is reported as 53M on tmpfs
/var/cache/pkg is reported as 161M on zfs
/var/db/pkg is reported as 5.2M on ifs
Screen Shot 2023-12-23 at 9.35.03 AM.png
then consider this.
[2.7.2-RELEASE][bob]/var: du -sh /var/*
0B /var/at
161M /var/cache (on zfs Dashboard /var/cache/pkg 161)
0B /var/crash
0B /var/cron
41M /var/db (on tmpfs)
8.0K /var/dhcpd
0B /var/empty
33K /var/etc
8.3M /var/log (on tmpfs)
94K /var/run
0B /var/spool
0B /var/tmp
326M /var/unbound (on zfs based on size of var located on tmpfs but not accounted for on dashboard)
total on tmpfs 41 + 8.3 = 49.3 (daahboard shows 53 on tmpfs) - not concerned about this, could just be the way the tmpfs does "It's not preallocated anymore." I don't see any hidden files/directories Also easy enough to test.. I could just drop a large file each and see where it is counted.
curious is "It's not preallocated anymore." a one way street? or if a bunch of stuff gets added and removed does the tmpfs allocation shrink. of course also easy enough to test.
The dashboard doesn't account for the 326M under /var/unbound. This should likely be another of the entries similar to /var/cache/pkg and /var/db/pkg both of which remain on zfs.
Not the end of the world, just things don't add up and therefore is somewhat misleading.
also values before and after are zfs compression vs. tmpfs not 💡