NAGY Andreas
2018-Mar-02 06:53 UTC
NFS 4.1 RECLAIM_COMPLETE FS failed error in combination with ESXi client
Hi, I am trying to get a FreeBSD NFS 4.1 export working with VMware Esxi 6.5u1, but it is always mounted as read only. After some research, I found out that this is a known problem, and there are threads about this from 2015 also in the mailinglist archive. As it seems VMware will not change the bahvior of there NFS 4.1 client I wanted to ask here if there is a patch or workaround for this available. Here the tread at VMware: https://communities.vmware.com/thread/517788 And here what I found in the archive of the list: https://lists.freebsd.org/pipermail/freebsd-stable/2015-May/082381.html Thank, Andi
Rick Macklem
2018-Mar-03 02:01 UTC
Re: NFS 4.1 RECLAIM_COMPLETE FS failed error in combination with ESXi client
NAGY Andreas wrote:>I am trying to get a FreeBSD NFS 4.1 export working with VMware Esxi 6.5u1, but >it is always mounted as read only. > >After some research, I found out that this is a known problem, and there are >threads about this from 2015 also in the mailinglist archive. > >As it seems VMware will not change the bahvior of there NFS 4.1 client I wanted >to ask here if there is a patch or workaround for this available.I believe the attached small patch deals with the ReclaimComplete issue. However, someone else who tested this had additional issues with the mount: - The client logged a couple of things (that sounded weird to me;-) - Something about Readdir seeing directories change too much.. - Something about "wrong reason for not issuing a delegation"... (I don't what either of these are caused by or whether they result in serious breakage of the mount.) They also ran into a hang when transferring a large file. It sounded to me like something that might be a network interface device driver issue and I suggested they disable TSO, LRO and jumbo frames, but I never heard back from them, so I don't know more about this. So, feel free to test with the attached patch and if you run into problems with the mount, email w.r.t. what they are. If we persevere we might get it going ok. rick [stuff snipped] -------------- next part -------------- A non-text attachment was scrubbed... Name: reclaimcom2.patch Type: application/octet-stream Size: 526 bytes Desc: reclaimcom2.patch URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180303/b41bc40f/attachment.obj>