From nobody Thu Mar 07 13:59:48 2024 X-Original-To: current@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 4Tr9sj4pWfz5D44b for ; Thu, 7 Mar 2024 13:59:53 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from relay2.cretaforce.gr (relay2.cretaforce.gr [195.201.253.149]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.cretaforce.gr", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tr9sh23Vpz4tYB for ; Thu, 7 Mar 2024 13:59:52 +0000 (UTC) (envelope-from chris@cretaforce.gr) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cretaforce.gr header.s=cretaforce header.b=NGZcKaI3; dmarc=pass (policy=none) header.from=cretaforce.gr; spf=pass (mx1.freebsd.org: domain of chris@cretaforce.gr designates 195.201.253.149 as permitted sender) smtp.mailfrom=chris@cretaforce.gr Received: from server1.cretaforce.gr (server1.cretaforce.gr [94.130.217.104]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.cretaforce.gr", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by smtp2.cretaforce.gr (Postfix) with ESMTPS id D82AC200E7 for ; Thu, 7 Mar 2024 15:59:58 +0200 (EET) Received: from smtpclient.apple (ppp-2-87-82-142.home.otenet.gr [2.87.82.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 8240CD2E7 for ; Thu, 7 Mar 2024 15:59:49 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cretaforce.gr; s=cretaforce; t=1709819992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5wPqLJ7mgSruUAbU0zkf9NLpTHwVhYrAM+M97IkDXp4=; b=NGZcKaI38QHm4u6wqYu/XSJt6ARccXH+noG36s+1Duph3Sebj7f9Duu0ZRw0MsjQ/++FeU chCsOf8zhoWXsVqSFKwU7sHkSKtqp4QWRL6wC7Qm2oeSs3DIcLOZwofZHAn2/lGjUh22zX EC/xtmuZMFr9HtU9oFAWqyQHPFBkJQ4= From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: Reason why "nocache" option is not displayed in "mount"? Date: Thu, 7 Mar 2024 15:59:48 +0200 References: <09bb45dea82d96c11f34cc48dda540dc@Leidinger.net> To: Current In-Reply-To: <09bb45dea82d96c11f34cc48dda540dc@Leidinger.net> Message-Id: <22017329-8EA9-4477-B5DB-412ABA34788D@cretaforce.gr> X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; DWL_DNSWL_LOW(-1.00)[cretaforce.gr:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[cretaforce.gr,none]; R_SPF_ALLOW(-0.20)[+ip4:195.201.253.149]; R_DKIM_ALLOW(-0.20)[cretaforce.gr:s=cretaforce]; RCVD_IN_DNSWL_LOW(-0.10)[195.201.253.149:from]; MIME_GOOD(-0.10)[text/plain]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[cretaforce.gr:+]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEFALL_USER(0.00)[chris]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4Tr9sh23Vpz4tYB > what is the reason why "nocache" is not displayed in the output of = "mount" for nullfs options? >=20 > # grep packages /etc/fstab.commit_leidinger_net > /shared/ports/packages = /space/jails/commit.leidinger.net/shared/ports/packages nullfs = rw,noatime,nocache 0 0 >=20 > # mount | grep commit | grep packages > /shared/ports/packages on = /space/jails/commit.leidinger.net/shared/ports/packages (nullfs, local, = noatime, noexec, nosuid, nfsv4acls) >=20 > Context: I wanted to check if poudriere is mounting with or without = "nocache", and instead of reading the source I wanted to do it more = quickly by looking at the mount options. In my setup, I mount the /home directory using nullfs with the nocache = option to facilitate access for certain jails. The primary reason for = employing nocache is due to the implementation of ZFS quotas on the main = system, which do not accurately reflect changes in file usage by users = within the jail unless nocache is used. When files are added or removed = by a user within jail, their disk usage wasn't properly updated on the = main system until I started using nocache. Based on this experience, I'm = confident that applying nocache works as expected in your scenario as = well.=