[Bug 234576] hastd exits ungracefully

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 26 20:44:59 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234576

Michael Tratz <michael at esosoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael at esosoft.com

--- Comment #6 from Michael Tratz <michael at esosoft.com> ---
I have the same issue with hastd exiting immediately since I upgraded to
FreeBSD 11.3.
I compared zfs sysctls with 11.2 and 11.3 and I found the culprit.

All you have to do is set via sysctl or sysctl.conf:

vfs.zfs.vdev.aggregation_limit=131072

In FreeBSD 11.3 and 12.x it was increased to 1MB.

As soon as do that the pool imports without any problems using hastd. No
patches needed. Hastd has been working stable for years for me and it seems to
continue using this setting.

The FreeBSD revision which introduced this bug is:

base r334844

Line 178 in sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c

https://svnweb.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c?r1=334844&r2=334843&pathrev=334844

On my spinning rust systems I don't see any speed difference for scrubs with
the setting set to 128KB or 1MB.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list