From nobody Mon Aug 21 13:05:36 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RTt5039SMz4qlgD for ; Mon, 21 Aug 2023 13:05:40 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from mail.optiplex-networks.com (mail.optiplex-networks.com [45.149.190.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTt4z2RwCz3Gsj for ; Mon, 21 Aug 2023 13:05:39 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=optiplex-networks.com header.s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997 header.b=hwyJCLJY; spf=pass (mx1.freebsd.org: domain of kayasaman@optiplex-networks.com designates 45.149.190.182 as permitted sender) smtp.mailfrom=kayasaman@optiplex-networks.com; dmarc=pass (policy=quarantine) header.from=optiplex-networks.com Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id AA16F15C2E7B for ; Mon, 21 Aug 2023 14:05:36 +0100 (BST) Received: from mail.optiplex-networks.com ([127.0.0.1]) by localhost (mail.optiplex-networks.com [127.0.0.1]) (amavis, port 10032) with ESMTP id NNlix76E8rT0 for ; Mon, 21 Aug 2023 14:05:36 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id 5865315C2E82 for ; Mon, 21 Aug 2023 14:05:36 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.optiplex-networks.com 5865315C2E82 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optiplex-networks.com; s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997; t=1692623136; bh=HaGZi/krTKfM7S1wAvksP1Ss5NYTZ8S2nvLh+YRnLCg=; h=Message-ID:Date:MIME-Version:To:From; b=hwyJCLJYNYowVehLv8sCf9GUnY3gs93rQGJzeYVv4rcdoehS1xG874jkPeXbYtjyX zlqABnLFmt1BHdl23EQWUPXTyhiVcjPFt+0ogDHxIBfFu003bHJcH5tvmL2IMY4WmN ZO07VXRNsXSKxnj1zIHt2CQZKWXTEACKdKeFHC1pSRqNmsJZ5n574mZ1i6MuXt9KAG ZYKyaP32TUsk6kdW2NEFzwFEu7Uz9IAFMrjS7j/hchi3b3oidBInb/iOcFF/ySChgo 2FDT8C/ML28+0i0wtkyyyWlmQQDrgDylsYyd2Mf6Hh+aw9BrG5y2/+VxNPlnfXGt3a y2amiLkednhzQ== X-Virus-Scanned: amavis at mail.optiplex-networks.com Received: from mail.optiplex-networks.com ([127.0.0.1]) by localhost (mail.optiplex-networks.com [127.0.0.1]) (amavis, port 10026) with ESMTP id l-Px5AGaCFjf for ; Mon, 21 Aug 2023 14:05:36 +0100 (BST) Received: from [192.168.20.23] (unknown [192.168.20.23]) by mail.optiplex-networks.com (Postfix) with ESMTPSA id 44ECF15C2E7B for ; Mon, 21 Aug 2023 14:05:36 +0100 (BST) Message-ID: <7acf71ee-375d-1ee3-4000-29ea5a821b2d@optiplex-networks.com> Date: Mon, 21 Aug 2023 14:05:36 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: tmpfs(5) (was: ZFS Root size keeps going down after upgrade to 13.2-release) Content-Language: en-US To: questions@freebsd.org References: <8f3b445d-3f55-f359-ce5e-0d86c57755fe@optiplex-networks.com> <20230821130132.50aeb96b51b2b71efa14cb94@sohara.org> <8dbe0d99-ca94-998d-0c4e-27642db1b11a@optiplex-networks.com> <3f71983d-9f00-dddb-a05a-03b4322cb423@optiplex-networks.com> <33a06143-e2d8-d44a-d7de-9d02d67179fd@optiplex-networks.com> <5867a6b1-6cdf-894d-0635-d7911c4a9ecc@gmail.com> From: Kaya Saman In-Reply-To: <5867a6b1-6cdf-894d-0635-d7911c4a9ecc@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.976]; DMARC_POLICY_ALLOW(-0.50)[optiplex-networks.com,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[optiplex-networks.com:s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[optiplex-networks.com:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; ASN(0.00)[asn:202596, ipnet:45.149.188.0/22, country:GB]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RTt4z2RwCz3Gsj 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=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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. > > =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 :-(