OpenZFS support merged
John Kennedy
warlock at phouka.net
Tue Aug 25 19:30:06 UTC 2020
On Mon, Aug 24, 2020 at 07:38:53PM -0700, Matthew Macy wrote:
> r364746 merged OpenZFS support in to HEAD.
>
> The change should be transparent unless you want to use new features.
> I caution against 'zpool upgrade' for the next few weeks.
>
> https://svnweb.freebsd.org/base?view=revision&revision=364746
>
> If you encounter problems please report them to me, Ryan Moeller, and -current.
So I've compiled it twice so far but mixed success.
FreeBSD bsd13 13.0-CURRENT FreeBSD 13.0-CURRENT #11 r364771+8ffcd478e5d5-c270900(master): Tue Aug 25 11:35:50 PDT 2020 warlock at bsd13:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
This is pretty much stock (no extra openzfs ports added, in particular) since
you said "transparent". The system boots up, but the zfs binary has some
issues. Only my zroot/ROOT/default (root partition) gets mounted, not the
rest of the zfs filesystems.
/sbin/zfs --version
ld-elf.so.1: /lib/libzfs.so.4: Undefined symbol "mutex_init"
strings -a < /sbin/zfs | grep mutex_init
pthread_mutex_init
That looks like it should be in lib pthread or lib thr, which are below:
ldd /sbin/zfs
/sbin/zfs:
libjail.so.1 => /lib/libjail.so.1 (0x801084000)
libavl.so.2 => /lib/libavl.so.2 (0x80108c000)
libnvpair.so.2 => /lib/libnvpair.so.2 (0x801091000)
libgeom.so.5 => /lib/libgeom.so.5 (0x8010ab000)
libuutil.so.2 => /lib/libuutil.so.2 (0x8010b3000)
libzfs_core.so.2 => /lib/libzfs_core.so.2 (0x8010bf000)
libspl.so.2 => /lib/libspl.so.2 (0x8010c8000)
libtpool.so.2 => /lib/libtpool.so.2 (0x8010d1000)
libzutil.so.2 => /lib/libzutil.so.2 (0x8010d7000)
libzfs.so.4 => /lib/libzfs.so.4 (0x8010e4000)
libm.so.5 => /lib/libm.so.5 (0x8011e7000)
libcrypto.so.111 => /lib/libcrypto.so.111 (0x80121a000)
libthr.so.3 => /lib/libthr.so.3 (0x8014ea000)
libc.so.7 => /lib/libc.so.7 (0x801517000)
libbsdxml.so.4 => /lib/libbsdxml.so.4 (0x801940000)
libsbuf.so.6 => /lib/libsbuf.so.6 (0x80196d000)
libmd.so.6 => /lib/libmd.so.6 (0x801973000)
libumem.so.2 => /lib/libumem.so.2 (0x801996000)
libutil.so.9 => /lib/libutil.so.9 (0x80199a000)
libz.so.6 => /lib/libz.so.6 (0x8019b2000)
/etc/src.conf
WITHOUT_REPRODUCIBLE_BUILD=YES
# WITH_KERNEL_RETPOLINE=YES
# WITH_RETPOLINE=YES
WITH_PIE=YES
WITH_BIND_NOW=YES
WITHOUT_SVNLITE=YES
WITHOUT_PORTSNAP=YES
WITHOUT_LLVM_TARGET_ALL=YES
TMPDIR=/var/tmp
POUDRIERE_TMPDIR=/var/tmp
More information about the freebsd-fs
mailing list