From owner-freebsd-fs@freebsd.org Mon Feb 15 17:37:44 2021 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 66848533A38 for ; Mon, 15 Feb 2021 17:37:44 +0000 (UTC) (envelope-from lopez.on.the.lists@yellowspace.net) Received: from mail.yellowspace.net (mail.yellowspace.net [62.146.62.106]) (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 UTF8SMTPS id 4DfWX742bTz4qHs for ; Mon, 15 Feb 2021 17:37:43 +0000 (UTC) (envelope-from lopez.on.the.lists@yellowspace.net) To: freebsd-fs@freebsd.org From: Lorenzo Perone Subject: Migrating from base to OpenZFS: GELI drives, send/receive, and sysctls/loader.conf Message-ID: <183ed751-5a2e-5468-c82c-670820bac138@yellowspace.net> Date: Mon, 15 Feb 2021 18:37:34 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DfWX742bTz4qHs X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lopez.on.the.lists@yellowspace.net designates 62.146.62.106 as permitted sender) smtp.mailfrom=lopez.on.the.lists@yellowspace.net X-Spamd-Result: default: False [-1.61 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[62.146.62.106:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.yellowspace.net]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[yellowspace.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[62.146.62.106:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.69)[0.690]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15598, ipnet:62.146.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-fs] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2021 17:37:44 -0000 Hi All, I have followed regularly the development of openzfs for FreeBSD and I guess I'm ready and eager to give it a first try on a 12.2 updated system by using the port. Particularly watching the (now a little outdated, but still good) talk by Alan Jude @ EuroBSDCon 2019 was very encouraging. What I'm planning as a first run is: On the same machine: - Boot with openzfs_load instead of zfs_load - Import the "base" created pool with openzfs - Create a new pool with openzfs - Send/Receive and/or rsync data from the old to the new one A few questions arised for which I didn't find an answer yet in the official documentation. 1) Will a pool on GELI drives import well with openzfs too? I'd assume yes, why shouldn't it. Just asking to correct me if there are any precautions I should be taking or surprises to expect. 2) Will the "old" settings be honored by openzfs, such as vfs.zfs.arc_min, vfs.zfs.arc_max in /boot/loader.conf? 3) Is there an openzfs_enable as opposed to zfs_enable in rc.conf (to import/mount pools at boot)? Or is zfs_enable just compatible? 4) As far as I know, it should be possible to send/receive data from an unencrypted dataset to an encrypted one. Is this advisable from an "old base" zfs dataset (not encrypted, on geli) to a new openzfs one (encrypted at the dataset level), or should we resort to rsync? 5) What's the actual current status on extended attributes? Will they be retained in a send/receive from FreeBSD-"old" to FreeBSD-OpenZFS? I have a few shares on that machine where macs have "dropped" their EAs via AFP/SMB, what should I expect? Thanks a lot for any attention by people who know this right away, Best Regards, Lorenzo