From owner-freebsd-current@FreeBSD.ORG Wed Feb 17 21:03:51 2010 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 6F3E21065679 for ; Wed, 17 Feb 2010 21:03:51 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-gx0-f219.google.com (mail-gx0-f219.google.com [209.85.217.219]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF878FC18 for ; Wed, 17 Feb 2010 21:03:50 +0000 (UTC) Received: by gxk19 with SMTP id 19so1439927gxk.3 for ; Wed, 17 Feb 2010 13:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Lg9Fe3vpJye7Tk1rzFDdJHhmFEhTpx0NWU3O7ZlD+L8=; b=TtgeHwjS/tdqqzmqAQjxLsiBtnUpl0FrR4GH711Bbm0cQuybsZ1/fynU3h/aBAnJqV oUh6PAU5Wfl1bg1fM15iP9N4mNHwkho5lzS/bAVe58bYvK5uyehsRc6koUCsYUEF9XNG qki+/OOHUHjgNVkhqSd+h3uKpDTIu76QVoiCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kwbbbajazU0qe6YEXEyBDNVzvCgPNdR6N0My0qTorhZLv2XcgLLOCaNdqXvk9o0oGq o1dmqQt+9sOj7vDZTEERhkoz3gegRJT7QzGbqRqmy0VZF+uPbv48xdGn7biEzVoyXv8r UK43zCvekCyriu9ul8YwoANoeqR3X4A8sKmzc= MIME-Version: 1.0 Received: by 10.91.92.2 with SMTP id u2mr875313agl.117.1266440629964; Wed, 17 Feb 2010 13:03:49 -0800 (PST) In-Reply-To: <201002171840.41088.ken@mthelicon.com> References: <64aa03031002161803h667734cal4d668b9eb9c0a1a8@mail.gmail.com> <790a9fff1002161842g17de8ecfvf2cfa8c77f03c32@mail.gmail.com> <64aa03031002161849s7b66b9e3l727aafd2afd3d596@mail.gmail.com> <201002171840.41088.ken@mthelicon.com> Date: Wed, 17 Feb 2010 15:03:49 -0600 Message-ID: <790a9fff1002171303u4b40a90cr626ef856efee473b@mail.gmail.com> From: Scot Hetzel To: Pegasus Mc Cleaft Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Chris , freebsd-current@freebsd.org Subject: Re: Seeing the dreaded "ZFS: i/o error - all block copies unavailable" on 9.0-CURRENT 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: Wed, 17 Feb 2010 21:03:51 -0000 On Wed, Feb 17, 2010 at 12:40 PM, Pegasus Mc Cleaft wro= te: > Hello Chris, Scott & Current > > =A0 =A0 =A0 =A0I use gptzfsboot on my AMD64 (current) machine all the tim= e and also on > my laptop. I am not sure if this will cause the problem you are seeing bu= t I > know I ran into a lot of trouble depending on what type of pool I was > creating. > > =A0 =A0 =A0 =A0I believe this is correct, and if I am not than I apologis= e in advance, > but.... > > =A0 =A0 =A0 =A0If you are trying to boot off a linear type pool (A single= disk or a > mirror) your bootable filing system has to be a zfs filing system beneath= the > root pool (IE: zroot/boot). If you are trying to boot off a zraid pool, y= our > bootable filing system must be the root filing system of the pool (IE: zr= oot) > > =A0 =A0 =A0 =A0You must also include the appropriate declaration in the > /boot/loader.conf file: > > (for a zraid pool) > zfs_load=3D"YES" > vfs.root.mountfrom=3D"zfs:zpool" > > (for a linear type) > zfs_load=3D"YES" > vfs.root.mountfrom=3D"zfs:zpool/root" > > =A0 =A0 =A0 =A0If I try any other method, zboot explodes in a myriad of d= ifferent ways. > Not sure why your zboot explodes, but I use a single disk and only use the following in /boot/loader.conf: zfs_load=3D"YES" vfs.root.mountfrom=3D"zfs:zpool" it should work with either zfs:zpool or zfs:zpool/root. Scot