From owner-freebsd-fs@freebsd.org Wed Aug 5 16:47:54 2020 Return-Path: Delivered-To: freebsd-fs@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 5283B37B073 for ; Wed, 5 Aug 2020 16:47:54 +0000 (UTC) (envelope-from codeblue@inbox.lv) Received: from shark1.inbox.lv (shark1.inbox.lv [194.152.32.81]) (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 4BMHc900CMz3Z1k for ; Wed, 5 Aug 2020 16:47:52 +0000 (UTC) (envelope-from codeblue@inbox.lv) Received: from shark1.inbox.lv (localhost [127.0.0.1]) by shark1-out.inbox.lv (Postfix) with ESMTP id 0411411182B4 for ; Wed, 5 Aug 2020 19:47:50 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by shark1-in.inbox.lv (Postfix) with ESMTP id F2FF611182B3 for ; Wed, 5 Aug 2020 19:47:49 +0300 (EEST) Received: from shark1.inbox.lv ([127.0.0.1]) by localhost (shark1.inbox.lv [127.0.0.1]) (spamfilter, port 35) with ESMTP id zy6KfVGlQOUO for ; Wed, 5 Aug 2020 19:47:49 +0300 (EEST) Received: from mail.inbox.lv (pop1 [127.0.0.1]) by shark1-in.inbox.lv (Postfix) with ESMTP id B5B5F11182B1 for ; Wed, 5 Aug 2020 19:47:49 +0300 (EEST) Received: from [10.0.0.2] (bzq-109-65-93-146.red.bezeqint.net [109.65.93.146]) (Authenticated sender: codeblue@inbox.lv) by mail.inbox.lv (Postfix) with ESMTPA id 5DC8E3D9810 for ; Wed, 5 Aug 2020 19:47:49 +0300 (EEST) Subject: Re: zfs scrub enable by default To: freebsd-fs References: <105090343.294898.1596586694925.JavaMail.zimbra@gray.id.au> <1327e123-35df-1e27-af7a-7225dae91a21@inbox.lv> <71d447e6-3f18-319a-ec98-9e35feec3180@inbox.lv> From: John Long Message-ID: <249ab487-e8c6-6e8f-f966-976407d4d3d3@inbox.lv> Date: Wed, 5 Aug 2020 16:47:46 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: OK X-ESPOL: EZeEAiZdhQAmtcG+Ippq4v3txciyUlw/zlT3t8EsiwZUt7DFs953cWydHJiNag+4bg== X-Rspamd-Queue-Id: 4BMHc900CMz3Z1k X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[inbox.lv:s=30062014]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[194.152.32.81:from]; R_SPF_ALLOW(-0.20)[+ip4:194.152.32.81:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; NEURAL_HAM_LONG(-1.03)[-1.030]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[inbox.lv:dkim]; RECEIVED_SPAMHAUS_PBL(0.00)[109.65.93.146:received]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[inbox.lv:+]; DMARC_POLICY_ALLOW(-0.50)[inbox.lv,quarantine]; NEURAL_HAM_SHORT(-0.99)[-0.986]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12993, ipnet:194.152.32.0/23, country:LV]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[194.152.32.81:from] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 16:47:54 -0000 On 05/08/2020 16:13, Alan Somers wrote: > On Wed, Aug 5, 2020 at 10:06 AM John Long via freebsd-fs > > wrote: > > On 05/08/2020 15:24, Alan Somers wrote: > > On Wed, Aug 5, 2020 at 9:22 AM John Long via freebsd-fs > > > >> wrote: snipped > Yeah.  I wouldn't recommend ever chaning the copies value from the > default.  If dedup is on (also not recommended), then it wouldn't make > sense to use multiple copies anyway. Yeah that felt like a shoot self in ass opportunity but I never thought about it until this thread. >  And if zfs encryption is on, then > you can't use multiple copies, because encryption repurposes some of the > block pointer's fields. > -Alan Last I looked ZFS on FreeBSD does not support encryption. But it is helpful to know that there is a technical issue in doing both. Thank you for the info! /jl