From owner-freebsd-questions@freebsd.org Tue Sep 14 22:48:12 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C48656725C0 for ; Tue, 14 Sep 2021 22:48:12 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4H8JQz4r3Cz4YxX for ; Tue, 14 Sep 2021 22:48:11 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BD6B05C01D6; Tue, 14 Sep 2021 18:48:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 14 Sep 2021 18:48:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= from:message-id:content-type:mime-version:subject:date :in-reply-to:cc:to:references; s=fm2; bh=QKtOF3iK1MtxkqqExPg8zZM AFy2BF/+8+eyWA9YdnD8=; b=ToH07W8khRFOCwLgCK5MuZahzA/W0ZDTiA8gHMf 9TQluWAhapiWb6vBSyw96bR1LImsRNN2fcAnHtblqrqFB5XBi9WY3uwz1qNAuPqn 72jp05G0iMm2Bp0GkOP512cLj4/CU1D6O7vOqXIqBfZSt/Jr2GFjhrt7qJjVxCZ8 AtnCemD3oFOKGp+JPtDR9jR3CSsYUyiI3GddJdEIB6u05dt5NPCskW/NKZzbQ60H +gea5gjc0a8j27Q8tc2QOd28ghLqxJRw9pwdDEPLyFVtnwMGGzlqZsQubAsy07ss p7E1b1BZ9xShJHepSKflFjnRTaMosCApMwJhcdNCMkBcRQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=QKtOF3 iK1MtxkqqExPg8zZMAFy2BF/+8+eyWA9YdnD8=; b=eEe1QusqoEvQhiDV9Zq4zF +jCskpQmQIzFD/zt9hvZUh3HxfZl0RHSn9Vx6o10M8YjGuc+/mJbbMm0OZqIe7HH XRjUKHkvMX+aKRHL7awBFtqAe002v9bnghT94c4RNWfaSrRdAL+iKWukeJy6QW0u sq7bK9WPlwfhFtAeOxqkB8aR+QcW4KFLxHkBY0TBxksb5Aa2R/0eEI+UZASb9RdG ++eg88fjsY1YR37uYM403uDzQeZJLkorQAO4PHOLEvvkDocmndEjzPogvlcMwBx1 aJsfjwzclQGUiyusfCGTrtMmdmzoQWUvdkDoh7NOcJktDwf2/eJxsLS+/QK2DvQw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehtddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhkfgtggfuffgjvfhfofesrgdtmh erhhdtjeenucfhrhhomhepffgrnhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhgihhl lhgvrdhorhhgqeenucggtffrrghtthgvrhhnpefhlefggfejjefgkeegheetudetgeekue egveeugfejgfethfehkeehffffuefhvdenucffohhmrghinheplhgrnhhgihhllhgvrdho rhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug grnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Sep 2021 18:47:58 -0400 (EDT) From: Dan Langille Message-Id: <74C54511-0F86-46D3-A358-8981C7E21AF6@langille.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: zfs newbie Date: Tue, 14 Sep 2021 18:47:57 -0400 In-Reply-To: Cc: "freebsd-questions@freebsd.org" To: DTD References: <2b3bd0c8-204d-2f9b-2d63-cca853f5893c@langille.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4H8JQz4r3Cz4YxX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=ToH07W8k; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=eEe1Qusq; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-4.60 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm3]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2021 22:48:12 -0000 =E2=80=94=20 Dan Langille http://langille .org/ > On Sep 14, 2021, at 6:42 PM, DTD wrote: >=20 > On Tue, 14 Sep 2021, Dan Langille wrote: >=20 >> DTD wrote on 9/7/21 5:51 PM: >>> Following the default 12.2 zfs install I got one pool (zroot) and a = dataset for each of the traditional mount points. So zfs list shows: >>> NAME USED AVAIL REFER MOUNTPOINT >>> zroot 279G 6.75T 88K /zroot >>> zroot/ROOT 1.74G 6.75T 88K none >>> zroot/ROOT/default 1.74G 6.75T 1.74G / >>> zroot/tmp 176K 6.75T 176K /tmp >>> zroot/usr 277G 6.75T 88K /usr >>> zroot/usr/home 276G 6.75T 276G /usr/home >>> zroot/usr/ports 88K 6.75T 88K /usr/ports >>> zroot/usr/src 670M 6.75T 670M /usr/src >>> zroot/var 47.5M 6.75T 88K /var >>> zroot/var/audit 88K 6.75T 88K /var/audit >>> zroot/var/crash 88K 6.75T 88K /var/crash >>> zroot/var/log 820K 6.75T 820K /var/log >>> zroot/var/mail 46.3M 6.75T 46.3M /var/mail >>> zroot/var/tmp 88K 6.75T 88K /var/tmp >>> I had consultant configure another service for us. He set up the = disk array with one dataset. so zfs list on this system give: >>> NAME USED AVAIL REFER MOUNTPOINT >>> zroot 2.65G 13.2T 2.62G legacy >>> =46rom a sysadmin view I rather like the multiple datasets. Are = there advantages to one over the other? >>=20 >> I see no advantages to me in the single dataset. >>=20 >> What do you see from zpool status? I'm wondering if this is not = directly on hardware, such as a VM under VMware. >>=20 > Nop, no VM. I have three system that I did a take all options zfs = install on. I do not remember which one I posted so here is a matching = set: >=20 >> freebsd-version > 12.1-RELEASE-p8 >=20 >> zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 90.6G 801G 88K /zroot > zroot/ROOT 89.9G 801G 88K none > zroot/ROOT/default 89.9G 801G 89.9G / > zroot/tmp 156K 801G 156K /tmp > zroot/usr 723M 801G 88K /usr > zroot/usr/home 18.7M 801G 18.7M /usr/home > zroot/usr/ports 88K 801G 88K /usr/ports > zroot/usr/src 704M 801G 704M /usr/src > zroot/var 21.7M 801G 88K /var > zroot/var/audit 88K 801G 88K /var/audit > zroot/var/crash 88K 801G 88K /var/crash > zroot/var/log 21.3M 801G 21.3M /var/log > zroot/var/mail 88K 801G 88K /var/mail > zroot/var/tmp 88K 801G 88K /var/tmp >=20 >> zpool status > pool: zroot > state: ONLINE > scan: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > ada0p3 ONLINE 0 0 0 > ada1p3 ONLINE 0 0 0 >=20 > errors: No known data errors So two drives and all in one filesystem. That's very odd. I have no idea why anyone would do that. You loose = more than a few feature doing it that way. Boot environments for one.=