From nobody Mon Jul 18 15:58:27 2022 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 4Lmmph3Pfnz4WVNf for ; Mon, 18 Jul 2022 15:58:36 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (mail.geeks.org [IPv6:2001:4980:3333:1::1]) (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 4Lmmpg2xwfz3JCS for ; Mon, 18 Jul 2022 15:58:35 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id E3F3940C1E for ; Mon, 18 Jul 2022 10:58:27 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id CCF2540C1D; Mon, 18 Jul 2022 10:58:27 -0500 (CDT) Date: Mon, 18 Jul 2022 10:58:27 -0500 From: Doug McIntyre To: FreeBSD Questions List Subject: Re: rationale for default ZFS datasets Message-ID: References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4Lmmpg2xwfz3JCS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 2001:4980:3333:1::1 as permitted sender) smtp.mailfrom=merlyn@geeks.org X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+ptr]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:7753, ipnet:2001:4980::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[geeks.org]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Jul 17, 2022 at 05:28:57PM +0100, Taceant Omnes wrote: > /var and /usr both merit a dataset of their own, and under them there > are a few other nested datasets. What is not clear to me is why only > these particular folders merit their own datasets, likewise with /tmp. > Perhaps it is so that one has the ability to do snapshots? Besides the other responses already posted. Especially the one about BEs. I find them useful to have the separate datasets for purposes of quota, compression, and shapshotting, which all generally get different setups on my systems. While I'm not sure all the datasets are the way _I_ would have dnoe them, it does provide at least a common set of reasonable defaults to start with.