New bug with O_CREAT|O_EXCL and NFS?

Christian Corti corti at informatik.uni-stuttgart.de
Mon Dec 22 10:54:28 UTC 2014


On Fri, 19 Dec 2014, Rick Macklem wrote:
> If you are using a Solaris NFS server then, yes, it is a known bug in
> the Solaris NFS server. See:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193128

Yes, indeed, I'm using a Solaris NFS server.

> Until I add a mount option in the client to force "use server's time"
> workarounds are:
> - Use a non-Solaris NFS server.
> - Use NFSv2, which seems to work ok. ("nfsv2" or "vers=2" mount option)
> - Hack your kernel with the patch in the bug report.

It seems that using NFSv4 solves that problem, too. That means I have to 
migrate from amd to autofs since amd apparently doesn't support NFSv4.

Christian


More information about the freebsd-stable mailing list