From nobody Mon Dec 13 17:53:20 2021 X-Original-To: freebsd-stable@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 B21C518E858F for ; Mon, 13 Dec 2021 17:53:22 +0000 (UTC) (envelope-from holm@freibergnet.de) Received: from pj5.freibergnet.de (pj5.freibergnet.de [5.9.189.157]) by mx1.freebsd.org (Postfix) with ESMTP id 4JCTdF5nT4z4lc2 for ; Mon, 13 Dec 2021 17:53:21 +0000 (UTC) (envelope-from holm@freibergnet.de) Received: from pj5.freibergnet.de (pj5.freibergnet.de [5.9.189.157]) by pj5.freibergnet.de (Postfix) with ESMTP id 57AEB7263C for ; Mon, 13 Dec 2021 18:53:21 +0100 (CET) X-Virus-Scanned: amavisd-new at freibergnet.de Received: from pj5.freibergnet.de ([5.9.189.157]) by pj5.freibergnet.de (pmail.freibergnet.de [5.9.189.157]) (amavisd-new, port 10024) with LMTP id skuZqotl-yC7 for ; Mon, 13 Dec 2021 18:53:21 +0100 (CET) Received: from pegasus.freibergnet.de (pj5.freibergnet.de [5.9.189.157]) by pj5.freibergnet.de (Postfix) with ESMTP id 07000724B7 for ; Mon, 13 Dec 2021 18:53:20 +0100 (CET) Received: by pegasus.freibergnet.de (Postfix, from userid 201) id E5BC666C14; Mon, 13 Dec 2021 18:53:20 +0100 (CET) Date: Mon, 13 Dec 2021 18:53:20 +0100 From: Holm Tiffe To: freebsd-stable@freebsd.org Subject: 13-stable, later adding geli disk with the same passphrase as Message-ID: Mail-Followup-To: Holm Tiffe , freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4JCTdF5nT4z4lc2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of holm@freibergnet.de designates 5.9.189.157 as permitted sender) smtp.mailfrom=holm@freibergnet.de X-Spamd-Result: default: False [-3.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.9.189.157/32:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.978]; DMARC_NA(0.00)[freibergnet.de]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE] X-ThisMailContainsUnwantedMimeParts: N bootdisk Reply-To: Hi all, I hope here is still someone listening.. I have a new installed FreeBSD 13-stable machine with an zfs raidz1 over fours sas disks configured at installtime with geli. Now I want to add 2 additional SATA disks as raid0 for data storage in striped configuration, encrypted with geli also. $ gpart show ada0 => 40 1953525088 ada0 GPT (932G) 40 1952448512 1 freebsd-zfs (931G) 1952448552 1076576 - free - (526M) ada1 is the same, geli devices configured as stripe zpool status pool: zrdata state: ONLINE config: NAME STATE READ WRITE CKSUM zrdata ONLINE 0 0 0 ada0p1.eli ONLINE 0 0 0 ada1p1.eli ONLINE 0 0 0 So far so good. But how can I manage that I doesn't get asked a 2nd time for the geli passphrase for the 2nd disks? How can I use the same credentials that are used for the primary disk pool? I know that is the case if I init all the geli disks at the same time, but this isn't possible because I'm loosing all my data at this moment. The data have to live somewhere at transition time from one computer to the another and I want to reuse the SATA disks. I've tried to add -bg to geli configure, this makes no difference, besides of the fact that there is no bootable partition on those 2 disks. Can someone pls. help here? Regards, Holm -- Technik Service u. Handel Tiffe, www.tsht.de, Holm Tiffe, Goethestrasse 15, 09569 Oederan, USt-Id: DE253710583 info@tsht.de Fax +49 37292 709779 Tel +49 37292 709778 Mobil: 0172 8790 741