From nobody Sun Nov 6 14:26:22 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 4N4xWQ6vr8z4hJjh for ; Sun, 6 Nov 2022 14:26:42 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2001:468:c80:a103:2:5000:5555:5555]) (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 4N4xWP5K4Hz3Q1B for ; Sun, 6 Nov 2022 14:26:41 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 9C54E2396C; Sun, 6 Nov 2022 09:26:34 -0500 (EST) From: Paul Mather Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_169366A7-4B95-471F-89D2-30A06CFE42C2" 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 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: Zfs Guide Date: Sun, 6 Nov 2022 09:26:22 -0500 In-Reply-To: Cc: Steve O'Hara-Smith , questions To: Michael Schuster References: <20221105191506.ufa4nexieim3dhzu@freebsd> <20221105210111.2b0d80ba5ffb5deca8beed22@sohara.org> X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Rspamd-Queue-Id: 4N4xWP5K4Hz3Q1B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none); spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 2001:468:c80:a103:2:5000:5555:5555) smtp.mailfrom=paul@gromit.dlib.vt.edu X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[questions@freebsd.org]; R_DKIM_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEFALL_USER(0.00)[paul]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_NA(0.00)[no SPF record]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_169366A7-4B95-471F-89D2-30A06CFE42C2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Nov 6, 2022, at 3:43 AM, Michael Schuster = wrote: > On Sat, Nov 5, 2022, 22:01 Steve O'Hara-Smith > wrote: >> On Sat, 5 Nov 2022 12:15:06 -0700 >> Joe B > wrote: >>=20 >> > So when i installed freeBSD about 5 days ago i noticed that it auto = did >> > ZFS pool and everything didn't know why but i went with it. Trying = to >> > understand it i looked online for some guides and the zfs fs seems = very >> > intresting, snapshots, compression everything. It seems that it was >> > really made for two drives not one. i kinda understand if my = internal >> > hdd goes out then i would have a backup.=20 >>=20 >> Two drives is a minimum for ZFS to be really useful, it does = work >> fine on a single drive and it has benefits over many other = filesystems even >> without redundancy but it is the integration of redundancy and error >> handling into the filesystem that makes ZFS special. >=20 >=20 > Let me repeat what was written recently (by David Cottlehuber, IIRC): = ZFS-based boot environments work fine on a single disk and (IMO) justify = using ZFS all by themselves. I wouldn't want to be without them. Although you don't significantly benefit from ZFS' resiliency features = in a single-disk setup (though there is still "copies=3DN":), you do = still significantly benefit from the other huge feature of using ZFS: = its volume manager capabilities. So, you still get the advantages that = come with snapshots; boot environments; clones; easy filesystem = management; fileset/volume attributes (compression, quotas, = reservations, etc.); and more. I've used ZFS as my filesystem of choice since it first appeared in = FreeBSD 7 and have never looked back. Cheers, Paul.= --Apple-Mail=_169366A7-4B95-471F-89D2-30A06CFE42C2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii On Nov 6, = 2022, at 3:43 AM, Michael Schuster <michaelsprivate@gmail.com> = wrote:

On Sat, Nov 5, 2022, 22:01 = Steve O'Hara-Smith <steve@sohara.org> = wrote:
On Sat, 5 Nov 2022 = 12:15:06 -0700
Joe B <jb1277976@gmail.com> wrote:

> So when i installed freeBSD about 5 days ago i noticed that it auto = did
> ZFS pool and everything didn't know why but i went with it. Trying = to
> understand it i looked online for some guides and the zfs fs seems = very
> intresting, snapshots, compression everything. It seems that it = was
> really made for two drives not one. i kinda understand if my = internal
> hdd goes out then i would have a backup.

        Two drives is a minimum for ZFS to be really = useful, it does work
fine on a single drive and it has benefits over many other filesystems = even
without redundancy but it is the integration of redundancy and error
handling into the filesystem that makes ZFS = special.

Let me repeat what was written recently (by David = Cottlehuber, IIRC): ZFS-based boot environments work fine on a single = disk and (IMO) justify using ZFS all by themselves. I wouldn't want to = be without = them.


Although= you don't significantly benefit from ZFS' resiliency features in a = single-disk setup (though there is still "copies=3DN":), you do still = significantly benefit from the other huge feature of using ZFS: its = volume manager capabilities.  So, you still get the advantages that = come with snapshots; boot environments; clones; easy filesystem = management; fileset/volume attributes (compression, quotas, = reservations, etc.); and more.

I've used ZFS as = my filesystem of choice since it first appeared in FreeBSD 7 and have = never looked = back.

Cheers,

Paul.
= --Apple-Mail=_169366A7-4B95-471F-89D2-30A06CFE42C2--