From owner-freebsd-bugs@freebsd.org Wed Feb 17 13:41:26 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44037AAA847 for ; Wed, 17 Feb 2016 13:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34B0515FA for ; Wed, 17 Feb 2016 13:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1HDfQZX042352 for ; Wed, 17 Feb 2016 13:41:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207188] gptzfsboot may choose wrong pool Date: Wed, 17 Feb 2016 13:41:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matthias.pfaller@familie-pfaller.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 13:41:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207188 --- Comment #4 from Matthias Pfaller = --- (In reply to Andriy Gapon from comment #3) >> But it might be nicer to skip pools without bootfs (imho). > I think that that would not be unreasonable. > But it certainly requires a wider discussion first, because there could be > people who depend on the current behaviour in one way or another, Maybe one should fall back to the old behaviour when no pool is marked with bootfs. >> The other thing I don't like, is that gptzfsboot doesn't seem to be able= to >> boot from a pool when there is only the zil on the boot device. It fails >> with "all block copies unavailable". I think it should just skip a pool = it >> can't use anyway. > Hmm, this is unexpected if other devices comprising the pool are fully=20= =20 > visible to the firmware (BIOS). Could you please provide some more detai= ls? All five disks (and the embedded micro-sdcard) are visible to the bios.=20 zfsloader will list them as c:, d:, e:, f:, g: and h:. But when gptzfsboot decides to boot from ada0:data (instead of ada0:root) it will complain about "all block copies unavailable".=20 Typing "status" at the gptzfsboot prompt will crash... Please note that I had to patch zfsloader as described in https://wiki.freebsd.org/HPBIOS3TBHDD. Maybe gptzfsboot needs the patch as well? --=20 You are receiving this mail because: You are the assignee for the bug.=