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...
John Baldwin
jhb at freebsd.org
Mon Mar 14 18:34:16 UTC 2011
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
More information about the svn-src-all
mailing list