[ZFS] Booting from zpool created on 4k-sector drive

Emil Smolenski am at raisa.eu.org
Sat Jan 22 23:16:34 UTC 2011


On Mon, 17 Jan 2011 02:27:39 +0100, Pawel Jakub Dawidek <pjd at freebsd.org>  
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


More information about the freebsd-fs mailing list