Solved Problem with OpenZFS

Just recently I moved to the latest sysutils/openzfs-kmod (openzfs-kmod-2021101400) from ports.

At first everything seemed normal after OpenZFS upgrade from previous version, but later I noticed that gitup ports -v 1 crashed with weird error message that it cannot read a file in a ports tree. Manually checking that the file actually existed. After moving back to base ZFS, the gitup also turned back to normal.

Assume that there is a bug in OpenZFS port. Would like to create a PR, but have no good idea how to isolate and fully describe this issue.

Anybody here who has tried the latest OpenZFS?
 
I use:
Code:
openzfs-2021090800             OpenZFS userland for FreeBSD
openzfs-kmod-2021090800        OpenZFS kernel module for FreeBSD
on FreeBSD 13.0-RELEASE-p4 and have zero problems ...
 
Not me. But I have a question: Is there any feature added you actually need (that isn't in base OpenZFS already)?

If there's a bug, it's probably an upstream bug. I'd recommend to stick with what's in base, cause that's thoroughly tested and stable, unless there's really a need for some feature…
 
Not me. But I have a question: Is there any feature added you actually need (that isn't in base OpenZFS already)?

If there's a bug, it's probably an upstream bug. I'd recommend to stick with what's in base, cause that's thoroughly tested and stable, unless there's really a need for some feature…
Speed improvement has been claimed.
 
I run following script after each make/install - world&kernel.
So i don't need to play with paths
Code:
echo "MOVE------------------------------"
mv -v /usr/sbin/zdb          /sbinbackup 
mv -v     /sbin/zfs          /sbinbackup
mv -v  /usr/bin/zinject      /sbinbackup
mv -v     /sbin/zpool        /sbinbackup
mv -v  /usr/bin/zstream      /sbinbackup
mv -v  /usr/bin/zstreamdump  /sbinbackup
mv -v  /usr/bin/ztest        /sbinbackup
echo "REMOVE------------------------------"
cd /sbin
rm zdb zfs zinject zpool zstream zstreamdump ztest
echo "LINK--------------------------------"
cd /sbin
ln -s /usr/local/sbin/zdb
ln -s /usr/local/sbin/zfs
ln -s /usr/local/sbin/zinject
ln -s /usr/local/sbin/zpool 
ln -s /usr/local/sbin/zstream
ln -s /usr/local/sbin/zstreamdump
ln -s /usr/local/sbin/ztest
 
I run following script after each make/install - world&kernel.
So i don't need to play with paths
make delete-old will remove them if you're building world with WITHOUT_ZFS in src.conf(5).

Code:
     WITHOUT_ZFS
             Set to not build ZFS file system kernel module, libraries, and
             user commands.

Code:
     delete-old           Delete obsolete base system files and directories
                          interactively.  When -DBATCH_DELETE_OLD_FILES is
                          specified at the command line, the delete operation
                          will be non-interactive.  The variables DESTDIR,
                          TARGET_ARCH and TARGET should be set as with “make
                          installworld”.

     delete-old-libs      Delete obsolete base system libraries interactively.
                          This target should only be used if no third party
                          software uses these libraries.  When
                          -DBATCH_DELETE_OLD_FILES is specified at the command
                          line, the delete operation will be non-interactive.
                          The variables DESTDIR, TARGET_ARCH and TARGET should
                          be set as with “make installworld”.
 
Back
Top