Summary: | NFS errors from ZFS backed file system when server under load | ||
---|---|---|---|
Product: | Base System | Reporter: | Vick Khera <vivek> |
Component: | kern | Assignee: | Rick Macklem <rmacklem> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Some People | CC: | rmacklem, rmacklem |
Priority: | --- | ||
Version: | 10.2-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Vick Khera
2016-02-02 17:22:16 UTC
As someone else suggested, please try adding "-S" to your mountd flags. If that doesn't fix the problem, I would suggest removing "intr" from the mount options, just in case something is posting a signal to the process (which can cause the read to fail with EINTR when "intr" is specified). Thanks. The -S flag to the server's mountd does seem to eliminate the NFS read failures in my initial testing. (In reply to rmacklem from comment #1) Also for the record, as per the discussion thread the error is induced by poudriere constantly mounting and unmounting ZFS file systems while it builds packages. This behavior causes mountd to rescan the exports file during which NFS requests could fail. The -S flag works around that window of opportunity to fail. Since use of the "-S" option on mountd seems to resolve the problem, I am closing this and marking it as a duplicate of 9619. *** This bug has been marked as a duplicate of bug 9619 *** A commit references this bug: Author: rmacklem Date: Sun May 8 20:10:23 UTC 2016 New revision: 299242 URL: https://svnweb.freebsd.org/changeset/base/299242 Log: Make "-S" a default option for mountd. After a discussion on freebsd-fs@ there seemed to be a consensus that the "-S" option for mountd should become the default. Since the only known issue w.r.t. using "-S" was fixed by r299201, this commit adds "-S" to the default mountd_flags. Discussed on: freebsd-fs PR: 9619, 131342, 206855 MFC after: 2 weeks Relnotes: yes Changes: head/etc/defaults/rc.conf |