From owner-freebsd-fs@FreeBSD.ORG Sat Jan 22 23:16:34 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86197106566B; Sat, 22 Jan 2011 23:16:34 +0000 (UTC) (envelope-from am@raisa.eu.org) Received: from raisa.eu.org (raisa.eu.org [83.17.178.202]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF798FC19; Sat, 22 Jan 2011 23:16:33 +0000 (UTC) Received: from bolt.zol (nereis.pl [62.121.98.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by raisa.eu.org (Postfix) with ESMTP id 5856428; Sun, 23 Jan 2011 00:12:21 +0100 (CET) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Pawel Jakub Dawidek" References: <20110117012739.GF82886@garage.freebsd.pl> Date: Sun, 23 Jan 2011 00:16:30 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Emil Smolenski" Message-ID: In-Reply-To: <20110117012739.GF82886@garage.freebsd.pl> User-Agent: Opera Mail/11.00 (FreeBSD) Cc: freebsd-fs@freebsd.org Subject: Re: [ZFS] Booting from zpool created on 4k-sector drive X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2011 23:16:34 -0000 On Mon, 17 Jan 2011 02:27:39 +0100, Pawel Jakub Dawidek wrote: > On Tue, Dec 21, 2010 at 03:29:01PM +0100, Emil Smolenski wrote: >> Hello, >> >> There is a hack to force zpool creation with minimum sector size equal >> to 4k: (cut -- description of gnop hack) >> But there is one problem: I cannot boot from such pool. Error message: >> >> ZFS: i/o error - all block copies unavailable >> ZFS: can't read MOS >> ZFS: unexpected object set type 0 > > Tracking it down and fixing took all my free time during this weekend, > eh. Thank you for all your hard work on solving this issue. > I fixed this in ZFSv28 and I'm afraid I'm not going to backport the fix > to ZFSv15, as I also did many other changes while working on this > (booting off of RAIDZ3 is now supported, for example). > > Here is the patch if someone would like to try it: > > http://people.freebsd.org/~pjd/patches/zfs_boot_fixes.patch This patch works as expected, thanks! -- am