From owner-freebsd-stable@freebsd.org Thu Jul 9 13:12:06 2020 Return-Path: Delivered-To: freebsd-stable@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 7B5E936AC89 for ; Thu, 9 Jul 2020 13:12:06 +0000 (UTC) (envelope-from guido@co.gvr.org) Received: from co.gvr.org (co.gvr.org [37.48.120.90]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "co.gvr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2c5b5s6rz420Z for ; Thu, 9 Jul 2020 13:12:03 +0000 (UTC) (envelope-from guido@co.gvr.org) Received: by co.gvr.org (Postfix, from userid 1001) id B57B412608E; Thu, 9 Jul 2020 15:12:01 +0200 (CEST) Date: Thu, 9 Jul 2020 15:12:01 +0200 From: Guido van Rooij To: freebsd-stable@freebsd.org Subject: 12.1p7 no longer boots after doing zpool upgrade -a Message-ID: <20200709131201.GA3464@co.gvr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4B2c5b5s6rz420Z X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guido@co.gvr.org has no SPF policy when checking 37.48.120.90) smtp.mailfrom=guido@co.gvr.org X-Spamd-Result: default: False [3.79 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.66)[0.656]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gvr.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.92)[0.922]; NEURAL_SPAM_LONG(1.01)[1.013]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[guido@gvr.org,guido@co.gvr.org]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:60781, ipnet:37.48.64.0/18, country:NL]; FROM_NEQ_ENVFROM(0.00)[guido@gvr.org,guido@co.gvr.org] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 13:12:06 -0000 I did a zpool upgrade -a to enable large_dnode and spacemap_v2. After that, I did: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada1 and: gpart bootcode -p /boot/boot1.efifat -i 1 ada0 gpart bootcode -p /boot/boot1.efifat -i 1 ada1 Now the system no longer boots from either disk and drops to the efi shell. >From memory, the partitions on ada0 and ada1 are as folows: 1 efi 2 freebsd-boot 3 freebsd-swap 4 freebsd p4 is a geli partition with zfs in it. ada0p4.eli and ada1p4.eli form a mirrored zpool (called zroot).. The boot process no longer asks for a GELi password. It just isues a no zfs pools found. When I boot from a stick, it does ask for the GELi password. When I set currdev correctly in the loader, I am able to load the kernel, opensolaris.ko and zfs.ko. However booting failed because I get an Error: Solaris: NOTICE: Cannot find the pool label for 'zroot' Any help would be greatly appreciated! Regards, Guido van Rooij