From nobody Sun Nov 6 22:16:01 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 4N57xB2Tllz4hGv6 for ; Sun, 6 Nov 2022 22:16:14 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N57x92X1Zz3cbv for ; Sun, 6 Nov 2022 22:16:13 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-333a4a5d495so88988667b3.10 for ; Sun, 06 Nov 2022 14:16:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oYUDotmJO+ErZZ5L5JWaBacAo7Iag+h/JNx5JoPXpwQ=; b=ofdrEX1fJhoekIxpLokrI/ibSPMgpGFavLp168x1f3BLCf8oDnK0AKAZRFlHfAQXSE Ec1AP8aCM8MHPQvm2TsAstqx8c/2mqTsAT9rLPr4mEiiSFh6weqfMsBkEzWVAsil9lQk YP2yb9a+kvgNYWfREBSRejP0DTg2OTrMcJy4TLkfasZ/cIvB2BseOqlcHWDvUIimIygS WLoSIEFixDpZOY7AyPYecbtxq+COrntfpgHU0PqMa6hDzd0dVshtcs3Qy5aJ5oAC96fW 5UTPtt5pWzOt7Mw/Or3NImFMUW97RCYDRf5EhZPWZiXEsevZWoWvY2iC1jFS4s9DGYO3 DeFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oYUDotmJO+ErZZ5L5JWaBacAo7Iag+h/JNx5JoPXpwQ=; b=okpqbHsypSu0hcFFFKTG/9/1FjAF4OBqjls3FK2ErBpnGJFsnj5oM2J6+WlPBz0NBF y5l74A0W3BLOeDgUWD74EE2q0Y9Wt6RglAvUqlD/1CB8CljBamcc36ZuNpqvJ81r0DMQ ZKL+t3pVlAejS6RR0I/jdE58qSrL9XP0W2h8wwEI7KYczskpiWKJx+azWz9+XulyPSUC qQE5VuVtDv30QWNl0UDZT/S+D3Z2eqmha7HNEYV65z0PcsQdIy2f5KMwZJvj/cW0+NX1 tBSRu1GLkdiQ2pWesbWopjfM7pFIKJMQ3kbSZ8Jkqz86YuOI8Dy3Yib9TLFnkTEdGata Z4ag== X-Gm-Message-State: ACrzQf101lXVB7FVgz7icdr5pC3sc4TnaLWf94LZ7EQSKkksrXjjmlG2 Qh2pM2GFjfPXVb9tTdkqvTbNP9MvOKhiPLDUYgpWu9inaWI= X-Google-Smtp-Source: AMsMyM5jM+vYQMGCTm4Ho5Sn+/xFIGz+cqGUdIdy9ZLvY7m5pGIxtKkSkNJXxDXHAOLWTQ6UCAUSbp8CWx8a+qIsSMU= X-Received: by 2002:a81:6289:0:b0:360:b36f:77bf with SMTP id w131-20020a816289000000b00360b36f77bfmr42170504ywb.301.1667772972594; Sun, 06 Nov 2022 14:16:12 -0800 (PST) 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 References: <20221106143708.a72fd78c67eb4b055b138449@sohara.org> <805FA79F-8AEE-421E-A56C-BE16209B8CAD@gmail.com> <30416b76-574c-4aa1-9896-cb90d7c083f7@app.fastmail.com> In-Reply-To: <30416b76-574c-4aa1-9896-cb90d7c083f7@app.fastmail.com> From: paul beard Date: Sun, 6 Nov 2022 14:16:01 -0800 Message-ID: Subject: Re: Zfs Guide To: void Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000098fc1905ecd4a70d" X-Rspamd-Queue-Id: 4N57x92X1Zz3cbv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ofdrEX1f; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2607:f8b0:4864:20::112a as permitted sender) smtp.mailfrom=paulbeard@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112a:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[f-m.fm]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --00000000000098fc1905ecd4a70d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Nov 6, 2022 at 2:13 PM void wrote: > Hi, > > On Sun, 6 Nov 2022, at 21:30, paul beard wrote: > > As someone who screwed up their root/sole drive not long ago, this ZFS > > discussion is interesting. The rebuilding process might have been > > easier or even unnecessary, had I been able to roll back to a snapshot. > > So even after reading all of this, I have to ask if this is the right > > call for me. I use Freebsd in a VM, have two disk images already with a > > job to mirror them as a backup (not gmirror, I didn't know about that > > when i set this all up). Will zfs allow me to run the services I run > > now with the same ease (booting into the VM automagically) with the > > added security of snapshots and redundancy? I guess a peruse of the > > fine manual is in order=E2=80=A6? > > You might want to take a look at man 8 bectl if you have a recent > (13-stable) system or newer, as well as all the newer zfs stuff > -- > > bectl is also available on freebsd 12.3, it seems. --=20 Paul Beard / www.paulbeard.org/ --00000000000098fc1905ecd4a70d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Nov 6, 2022 at 2:13 PM void &= lt;void@f-m.fm> wrote:
Hi,

On Sun, 6 Nov 2022, at 21:30, paul beard wrote:
> As someone who screwed up their root/sole drive not long ago, this ZFS=
> discussion is interesting. The rebuilding process might have been
> easier or even unnecessary, had I been able to roll back to a snapshot= .
> So even after reading all of this, I have to ask if this is the right =
> call for me. I use Freebsd in a VM, have two disk images already with = a
> job to mirror them as a backup=C2=A0 (not gmirror, I didn't know a= bout that
> when i set this all up). Will zfs allow me to run the services I run <= br> > now with the same ease (booting into the VM automagically) with the > added security of snapshots and redundancy? I guess a peruse of the > fine manual is in order=E2=80=A6?

You might want to take a look at man 8 bectl if you have a recent
(13-stable) system or newer, as well as all the newer zfs stuff
--


bectl is also available on freebs= d 12.3, it seems.=C2=A0
--=C2=A0
Paul Beard / www.paulbeard.org/
--00000000000098fc1905ecd4a70d--