From owner-freebsd-fs@freebsd.org Fri Sep 20 02:39:39 2019 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 A9326EE479 for ; Fri, 20 Sep 2019 02:39:39 +0000 (UTC) (envelope-from john@kozubik.com) Received: from kozubik.com (kozubik.com [216.218.240.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZHx66wrvz4ZGF for ; Fri, 20 Sep 2019 02:39:38 +0000 (UTC) (envelope-from john@kozubik.com) Received: from kozubik.com (localhost [127.0.0.1]) by kozubik.com (8.14.3/8.14.3) with ESMTP id x8K2dZNr078918 for ; Thu, 19 Sep 2019 19:39:35 -0700 (PDT) (envelope-from john@kozubik.com) Received: from localhost (john@localhost) by kozubik.com (8.14.3/8.14.3/Submit) with ESMTP id x8K2dUYJ078915 for ; Thu, 19 Sep 2019 19:39:30 -0700 (PDT) (envelope-from john@kozubik.com) Date: Thu, 19 Sep 2019 19:39:30 -0700 (PDT) From: John Kozubik To: freebsd-fs@freebsd.org Subject: GELI Encrypted ZFS root/boot on a mirror: "Failed to read pad2 area of primary vdev" Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 46ZHx66wrvz4ZGF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of john@kozubik.com designates 216.218.240.130 as permitted sender) smtp.mailfrom=john@kozubik.com X-Spamd-Result: default: False [-3.14 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[130.240.218.216.list.dnswl.org : 127.0.6.2]; DMARC_NA(0.00)[kozubik.com]; IP_SCORE(-0.64)[ipnet: 216.218.128.0/17(0.10), asn: 6939(-3.24), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:216.218.128.0/17, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2019 02:39:39 -0000 Friends, I am using sysinstall from 12.0-RELEASE to create a ZFS root to boot from. I have chosen to create a mirror, used the default GPT partition type, and enabled GELI encryption. I set a passphrase for GELI. sysinstall completed normally. Upon booting, I see: GELI Passphrase for disk0p3: (entered via keyboard) Calculating GELI Decryption Key for disk0p3: xxx iterations... Calculating GELI Decryption Key for disk1p3: yyy iterations... Failed to read pad2 area of primary vdev Can't find /boot/loader ... I have repeated this install *without* any GELI encryption and the system boots and operates as expected. What am I seeing here ? Thanks.