From owner-freebsd-current@FreeBSD.ORG Fri Jul 8 05:28:24 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 4AA46106564A for ; Fri, 8 Jul 2011 05:28:24 +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 0FC1B8FC15 for ; Fri, 8 Jul 2011 05:28:23 +0000 (UTC) Received: from [10.11.0.1] by macsec.hu with esmtp (Exim 4.75 (FreeBSD)) (envelope-from ) id 1Qf3bw-000BP1-Ro; Fri, 08 Jul 2011 07:28:20 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Berczi Gabor In-Reply-To: <4E158846.4040807@gmail.com> Date: Fri, 8 Jul 2011 07:28:19 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <12DA9EAC-8677-49AD-BA6C-5A155D2A6122@berczi.be> <4E14C0D9.9040503@gmail.com> <2040FCF6-2CA2-4CF3-BB78-F5A3069297FF@berczi.be> <4E158846.4040807@gmail.com> To: Volodymyr Kostyrko X-Mailer: Apple Mail (2.1084) Cc: freebsd-current@freebsd.org 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: Fri, 08 Jul 2011 05:28:24 -0000 On Jul 7, 2011, at 12:19 PM, Volodymyr Kostyrko wrote: >>> 2. Try to convince bios to boot from the disk of pool2. >>=20 >> There is no disk with a singular ZFS pool. >=20 > Any disk from bootable pool. Every disk contains two pools. And the BIOS sees only two (maybe three) = of them. >>> 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. >>=20 >> I'm not really sure how to do this with GPT. Should I use boot0 = instead of pmbr? >=20 > boot0cfg is your old friend Cool, how do we get acquinted? > Actuall I think that code on that stages just tries to boot from the = pool on the current disk. There are two pools on it...