Date: Mon, 14 Mar 2011 14:29:23 -0400 From: John Baldwin <jhb@freebsd.org> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219089 - in head: cddl/compat/opensolaris/include cddl/compat/opensolaris/misc cddl/contrib/opensolaris/cmd/stat cddl/contrib/opensolaris/cmd/stat/common cddl/contrib/opensolaris/cmd/z... Message-ID: <201103141429.23954.jhb@freebsd.org> In-Reply-To: <201102271941.p1RJfePI000348@svn.freebsd.org> References: <201102271941.p1RJfePI000348@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, February 27, 2011 2:41:40 pm Pawel Jakub Dawidek wrote: > Author: pjd > Date: Sun Feb 27 19:41:40 2011 > New Revision: 219089 > URL: http://svn.freebsd.org/changeset/base/219089 > > Log: > Finally... Import the latest open-source ZFS version - (SPA) 28. > > Few new things available from now on: > > - Data deduplication. > - Triple parity RAIDZ (RAIDZ3). > - zfs diff. > - zpool split. > - Snapshot holds. > - zpool import -F. Allows to rewind corrupted pool to earlier > transaction group. > - Possibility to import pool in read-only mode. > > MFC after: 1 month Did you test non-GPT booting? You updated BOOT2SIZE in its Makefile but ignored the comment: # We currently allow 32768 bytes for zfsboot - in practice it could be # any size up to 3.5Mb but keeping it fixed size simplifies zfsldr. # BOOT2SIZE= 65536 If you want to use a larger size, you have to change zfsldr.S as it has a hardcoded sector count that it loads off of disk: .set NSECT,0x40 ... main.5: mov %dx,MEM_ARG # Save args movb $NSECT,%dh # Sector count movl $1024,%eax # Offset to boot2 callw nread.1 # Read disk Since 0x40 * 512 = 32k, zfsldr.S is only going to load the first 32k of zfsboot into RAM. If you need to bump this size up, you need to update the comment and NSECT in zfsldr.S. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103141429.23954.jhb>