Date: Mon, 21 Aug 2023 14:05:36 +0100 From: Kaya Saman <kayasaman@optiplex-networks.com> To: questions@freebsd.org Subject: Re: tmpfs(5) (was: ZFS Root size keeps going down after upgrade to 13.2-release) Message-ID: <7acf71ee-375d-1ee3-4000-29ea5a821b2d@optiplex-networks.com> In-Reply-To: <5867a6b1-6cdf-894d-0635-d7911c4a9ecc@gmail.com> References: <8f3b445d-3f55-f359-ce5e-0d86c57755fe@optiplex-networks.com> <20230821130132.50aeb96b51b2b71efa14cb94@sohara.org> <8dbe0d99-ca94-998d-0c4e-27642db1b11a@optiplex-networks.com> <f6e34b33-d666-40b8-9fbb-59b679a3a124@gmail.com> <3f71983d-9f00-dddb-a05a-03b4322cb423@optiplex-networks.com> <33a06143-e2d8-d44a-d7de-9d02d67179fd@optiplex-networks.com> <5867a6b1-6cdf-894d-0635-d7911c4a9ecc@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 :-(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7acf71ee-375d-1ee3-4000-29ea5a821b2d>
