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: >> =E2=80=A6 >> >> df -h >> Filesystem=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Size=C2=A0=C2=A0=C2=A0 Used=C2=A0= =C2=A0 Avail=20 >> Capacity=C2=A0 Mounted on >> zroot/ROOT/default=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 37G=C2=A0=C2=A0=C2=A0=C2=A0 36G=C2=A0=C2=A0=C2=A0 720M 98%=C2=A0=C2=A0= =C2=A0 / >> devfs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1.0K=C2=A0= =C2=A0=C2=A0 1.0K=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0B 100%=C2=A0=C2=A0=C2=A0= =20 >> /dev >> tmpfs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 26G= =C2=A0=C2=A0=C2=A0 4.0K=C2=A0=C2=A0=C2=A0=C2=A0 26G 0% /tmp >> >> >> 26GB for /tmp ?=20 > > > Available, not used. > > From the (very) little that I know about tmpfs(5), I don't imagine=20 > this solving your puzzle about sizes in relation to boot environments. > > <https://man.freebsd.org/cgi/man.cgi?query=3Dtmpfs&sektion=3D5&manpath=3D= freebsd-release>=20 > > > I did find this in the meantime:=20 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=20 used by RAM. zroot/tmp=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 121M=C2=A0=C2=A0 721M 121M=C2=A0 /tmp I do have this line in fstab: tmpfs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /tmp=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tmpfs rw,nosuid,mode=3D01777=C2=A0=C2= =A0=C2=A0=20 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 It still doesn't help in any case why deleting files strikes them off=20 the file list but doesn't touch the disk itself? Hopefully there will a solution down the line and hopefully I will learn=20 something too.... currently my mind seems to be blocked however, in=20 which direction to even approach this problem and especially what to=20 look at :-(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7acf71ee-375d-1ee3-4000-29ea5a821b2d>