From owner-freebsd-fs@FreeBSD.ORG Wed Nov 20 11:54:07 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 90CC8E26 for ; Wed, 20 Nov 2013 11:54:07 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5280E2487 for ; Wed, 20 Nov 2013 11:54:06 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id C05B22842B; Wed, 20 Nov 2013 12:53:57 +0100 (CET) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 9E76228427; Wed, 20 Nov 2013 12:53:56 +0100 (CET) Message-ID: <528CA2D3.3060600@quip.cz> Date: Wed, 20 Nov 2013 12:53:55 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Richard Kearsley Subject: Re: boot zfs array from hba References: <528C9A83.1060606@kearsley.me> In-Reply-To: <528C9A83.1060606@kearsley.me> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 11:54:07 -0000 Richard Kearsley wrote: > Hi > I am having some problems booting a raidz1 array from a lsi 2308 HBA on > a supermicro X9DRD-7LN4F-JBOD board > I believe the problem is that the bios only exposes one of the disks on > the HBA to the bootloader, resulting in the loader thinking the array is > degraded > FreeBSD must detect the disks itself at some point - through mps(4), but > it does not happen early enough in the boot procedure... > > My question is there a trick, or something I'm missing, to be able to > boot an array from a HBA? > I'm using FreeBSD 9.1 > > The error I get at boot is as follows: > ZFS: i/o error - all block copies unavailable > ZFS: can't read object set for dataset u > ZFS: can't open root filesystem > gptzfsboot: failed to mount default pool ssd > > FreeBSD/x86 boot > Default: ssd:: > boot: I had the same problem on Dell server with H200 (rebrended LSI 2008). I post about the workaround here http://lists.freebsd.org/pipermail/freebsd-fs/2013-November/018536.html I did small partition on each disk with ZFS mirror (mirroring all disk) and place the /boot or whole base system on this mirrored pool instead of RAIDZ pool (later created on second partition covering the rest of the disks) Miroslav Lachman