From nobody Sun Nov 6 08:46:51 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 4N4p1G4llNz4gbnF for ; Sun, 6 Nov 2022 08:48:34 +0000 (UTC) (envelope-from jb1277976@gmail.com) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 4N4p1F6nfBz3lc3 for ; Sun, 6 Nov 2022 08:48:33 +0000 (UTC) (envelope-from jb1277976@gmail.com) Received: by mail-pf1-x442.google.com with SMTP id k15so8098083pfg.2 for ; Sun, 06 Nov 2022 01:48:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=AOfuLHh1dyfuTjjyhBJOX73nxL2APixBjwDFy1Jq61g=; b=F73blVrXSSFfy3N5Rr/UW38UbnXNlx0UPoM6WlyxEyikvCSx0sDqOWEP2kLvGCWfqY HML1Rh8JIqNqHkm/roat5i/Clz+ga59h5kci76Lmjuh5UZgzOgo5qvy2fWHXZxZtlvrr KizNJwSVKXkNKRRNp/hDvgRwlht5zUu8A3/bvSZ8BXm1tFNyPFPt9iHZ12ZL4k5xmbOm Y07QjuSubeyOdSznEp/Ha6hgJyftxFQW8geFTp+UX+JVBhk+iN0GqGi/F3nW4YwsEukl yhQOmp7uFPcqZV7Ux/SbBht9XuwZyVZMC90kwd9mAdqF0dLro9/R1GMnJV+oSlVELoO4 CI1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AOfuLHh1dyfuTjjyhBJOX73nxL2APixBjwDFy1Jq61g=; b=u5wZ1MTq7pEjlefsxV3mkj+C2hOGFAhRN2nyVJ+QRG3XQ3YvuVAMeAyr4k1mZPlBDN mQJoXQ7hfN/bb8KrVcuDwrHLpMb6PQpub//vwlbtT8TuE5z1t6m0puqgAgcju6vTG60j 7/AUs7uAJBcN8QoAObsyVJn+WX/Rvf/mIT4AE4yWki4TUxGzeGCV6cr5qhOfzpqDSwoW P9OAeLdoqZf7GYIIG37ZbzVA4anUIaFtQjisRi2cd9yKmdJkzCeMjpLABuAL5HE0m/Vi J3Aq3ZVMHOunmQN9lZvqgctKy+v6500CqB/iuiPGle6iyulXrKkBVTZw3uA3guu6kMY2 ZzMA== X-Gm-Message-State: ACrzQf1HLGQCfk5Q1Ih6I4l70sUmstKHuMQjvonqw5AyTgITu8QdI/v5 aNWyrkKMr9K7UwsZw8oxEXwzSNoLS88G7w== X-Google-Smtp-Source: AMsMyM7zqtNdOsQCiHwfWUFL4OHu6h5DXyAsJdkk+D8bkJgi+WVJNCwbGcBG+n1/fXtAmkxOq3Pqrw== X-Received: by 2002:a63:4507:0:b0:43c:9cf4:f1d6 with SMTP id s7-20020a634507000000b0043c9cf4f1d6mr38989726pga.316.1667724512494; Sun, 06 Nov 2022 01:48:32 -0700 (PDT) Received: from freebsd (c-67-187-148-40.hsd1.ca.comcast.net. [67.187.148.40]) by smtp.gmail.com with ESMTPSA id u8-20020a1709026e0800b00186e34524e3sm2758961plk.136.2022.11.06.01.48.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 01:48:32 -0700 (PDT) Date: Sun, 6 Nov 2022 01:46:51 -0700 From: Joe B To: David Christensen Cc: questions@freebsd.org Subject: Re: Zfs Guide Message-ID: <20221106084651.52rzw37f3lwzjekp@freebsd> References: <20221105191506.ufa4nexieim3dhzu@freebsd> <224147f5-f434-e190-43d3-6eb40ebe0316@holgerdanske.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <224147f5-f434-e190-43d3-6eb40ebe0316@holgerdanske.com> X-Rspamd-Queue-Id: 4N4p1F6nfBz3lc3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=F73blVrX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jb1277976@gmail.com designates 2607:f8b0:4864:20::442 as permitted sender) smtp.mailfrom=jb1277976@gmail.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::442:from]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; 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]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, Nov 05, 2022 at 02:10:52PM -0700, David Christensen wrote: > On 11/5/22 12:15, Joe B wrote: > > Hello again, > > > > Sorry for all the questions but i want to start somehwere, the forums > > take a while for me to get approved but it seems very friendly here. > > > > 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. > > > > Currently setup a VM with freebsd and want to test zfs. should i make > > two disk hard drives in the VM to test or should i be able to just play > > with one ? > > > I suggest creating one virtual disk for the VM system drive and installing > FreeBSD there. Once FreeBSD is up and running, create additional virtual > disks for ZFS experiments -- creating pools, creating filesystems and > volumes, taking snapshots of datasets, rolling back datasets from snapshots, > creating clones, replication, simulated disasters and recovery, etc.. > > > > Also the only guides that are offical are the handbook, New and old and > > other guides i found. > > > > 1. https://docs.freebsd.org/en/books/handbook/zfs/ > > > > 2, https://is.gd/GGTjK8 > > > > 3. https://somedudesays.com/2021/08/the-basic-guide-to-working-with-zfs/ > > > > 4. https://wiki.debian.org/ZFS > > > > 5. https://wiki.gentoo.org/wiki/ZFS > > > > 6. https://wiki.archlinux.org/title/ZFS > > > > Don't know if we are suppose to post links that aren't part of freeBSD > > here but i'm learning everyday if we can't just tell me so i know in the > > future. > > > > What do you guys recommend? > > > "The Design and Implementation of the FreeBSD Operating System" is the > definitive academic text: > > https://www.pearson.com/en-us/subject-catalog/p/design-and-implementation-of-the-freebsd-operating-system-the/P200000000463/9780321968975 > > > "Absolute FreeBSD" is my favorite hands-on text: > > https://mwl.io/nonfiction/os#af3e > > > Note the FAQ item "Buying Books": > > https://mwl.io/faq > > "Absolute” titles, Network Flow Analysis, and other No Starch Press titles – > use the coupon code ILUVMICHAEL and buy direct from No Starch Press. You get > 30% off and I get commission. You pay shipping, though, which eats up the > cost savings if you’re in New Zealand." > > https://nostarch.com/absfreebsd3 > > > Lucas wrote other titles, including: > > https://mwl.io/nonfiction/os#fmzfs > > https://mwl.io/nonfiction/os#fmaz > > > The Klara and ixSystems web sites have information about FreeBSD and ZFS: > > https://klarasystems.com/articles/ > > https://www.ixsystems.com/white-papers/ > > > David > Thanks for all this info. i will proccess it and look at everything. I also found a whole youtube series on zfs. i really like this filesystem. even though i don't have 4 or 5 disk i still will test in virtualbox Thanks again Joe B