From owner-freebsd-current@FreeBSD.ORG Thu Jul 7 06:22:36 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 674A5106566B for ; Thu, 7 Jul 2011 06:22:36 +0000 (UTC) (envelope-from freebsd@berczi.be) Received: from macsec.hu (cl-23.bud-01.hu.sixxs.net [IPv6:2a01:368:e000:16::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8CC8FC17 for ; Thu, 7 Jul 2011 06:22:36 +0000 (UTC) Received: from [10.11.0.1] by macsec.hu with esmtp (Exim 4.75 (FreeBSD)) (envelope-from ) id 1Qehys-000MAq-EH; Thu, 07 Jul 2011 08:22:34 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Berczi Gabor In-Reply-To: <4E14C0D9.9040503@gmail.com> Date: Thu, 7 Jul 2011 08:22:34 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2040FCF6-2CA2-4CF3-BB78-F5A3069297FF@berczi.be> References: <12DA9EAC-8677-49AD-BA6C-5A155D2A6122@berczi.be> <4E14C0D9.9040503@gmail.com> To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.1084) Cc: Volodymyr Kostyrko Subject: Re: ZFS boot fails with two pools X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2011 06:22:36 -0000 On Jul 6, 2011, at 10:08 PM, Volodymyr Kostyrko wrote: > 1. Check that pools have up-to-date boot code. I tried 8.2 and HEAD. You mean gpart+gptzfsboot+pmbr, right? > 2. Try to convince bios to boot from the disk of pool2. There is no disk with a singular ZFS pool. > 3. You can possibly try deploying /boot/boot0 MBR selector code over = disks of data pool. Supplied boot0 code can be used to choose another = disk to jump to it during boot process and will remember the last = choice. I'm not really sure how to do this with GPT. Should I use boot0 instead = of pmbr? However, this = (http://freebsd.1045724.n5.nabble.com/Booting-from-ZFS-raidz-td4032461.htm= l) may be related to the problem: > You can boot from any of the drives and as long as the BIOS can see =20= > enough drives you should be able to boot. In my case, the BIOS certainly can not see all members of the raid-z = pool. The question is: why does it want to boot from raid-z at all, and = how could it be persuaded to use the mirrored pool instead?