Re: tmpfs(5) (was: ZFS Root size keeps going down after upgrade to 13.2-release)

From: Kaya Saman <kayasaman_at_optiplex-networks.com>
Date: Mon, 21 Aug 2023 13:05:36 UTC
On 8/21/23 13:58, Graham Perrin wrote:
> On 21/08/2023 13:45, Kaya Saman wrote:
>> …
>>
>> df -h
>> Filesystem                              Size    Used   Avail 
>> Capacity  Mounted on
>> zroot/ROOT/default                       37G     36G    720M 98%    /
>> devfs                                   1.0K    1.0K      0B 100%    
>> /dev
>> tmpfs                                    26G    4.0K     26G 0% /tmp
>>
>>
>> 26GB for /tmp ? 
>
>
> Available, not used.
>
> From the (very) little that I know about tmpfs(5), I don't imagine 
> this solving your puzzle about sizes in relation to boot environments.
>
> <https://man.freebsd.org/cgi/man.cgi?query=tmpfs&sektion=5&manpath=freebsd-release> 
>
>
>

I did find this in the meantime: 
https://forums.freebsd.org/threads/tmpfs-size-limit.26701/ in addition.


Looks like /tmp is only 121MB in the file system while the rest is being 
used by RAM.

zroot/tmp                                      121M   721M 121M  /tmp


I do have this line in fstab:

tmpfs                   /tmp            tmpfs rw,nosuid,mode=01777    
0       0


It still doesn't help in any case why deleting files strikes them off 
the file list but doesn't touch the disk itself?


Hopefully there will a solution down the line and hopefully I will learn 
something too.... currently my mind seems to be blocked however, in 
which direction to even approach this problem and especially what to 
look at :-(