Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2018 02:01:17 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        NAGY Andreas <Andreas.Nagy@frequentis.com>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   =?iso-8859-1?Q?Re:_NFS_4.1_RECLAIM=5FCOMPLETE_FS=A0failed_error_in_combin?= =?iso-8859-1?Q?ation_with_ESXi_client?=
Message-ID:  <YQBPR0101MB1042DEF0825996764CBCA829DDC40@YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <c5c624de-42bb-45cf-8cf0-b25be56e5f58@frequentis.com>
References:  <c5c624de-42bb-45cf-8cf0-b25be56e5f58@frequentis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--_002_YQBPR0101MB1042DEF0825996764CBCA829DDC40YQBPR0101MB1042_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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 a=
re >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 w=
anted >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 seri=
ous
  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 sugge=
sted
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]=

--_002_YQBPR0101MB1042DEF0825996764CBCA829DDC40YQBPR0101MB1042_
Content-Type: application/octet-stream; name="reclaimcom2.patch"
Content-Description: reclaimcom2.patch
Content-Disposition: attachment; filename="reclaimcom2.patch"; size=526;
	creation-date="Sat, 03 Mar 2018 02:01:05 GMT";
	modification-date="Sat, 03 Mar 2018 02:01:05 GMT"
Content-Transfer-Encoding: base64

LS0tIGZzL25mc3NlcnZlci9uZnNfbmZzZHNlcnYuYy5zYXZyZWNsCTIwMTgtMDItMTAgMjA6MzQ6
MzEuMTY2NDQ1MDAwIC0wNTAwCisrKyBmcy9uZnNzZXJ2ZXIvbmZzX25mc2RzZXJ2LmMJMjAxOC0w
Mi0xMCAyMDozNjowNy45NDc0OTAwMDAgLTA1MDAKQEAgLTQyMjYsMTAgKzQyMjYsOSBAQCBuZnNy
dmRfcmVjbGFpbWNvbXBsZXRlKHN0cnVjdCBuZnNydl9kZXNjCiAJCWdvdG8gbmZzbW91dDsKIAl9
CiAJTkZTTV9ESVNTRUNUKHRsLCB1aW50MzJfdCAqLCBORlNYX1VOU0lHTkVEKTsKKwluZC0+bmRf
cmVwc3RhdCA9IG5mc3J2X2NoZWNrcmVjbGFpbWNvbXBsZXRlKG5kKTsKIAlpZiAoKnRsID09IG5l
d25mc190cnVlKQotCQluZC0+bmRfcmVwc3RhdCA9IE5GU0VSUl9OT1RTVVBQOwotCWVsc2UKLQkJ
bmQtPm5kX3JlcHN0YXQgPSBuZnNydl9jaGVja3JlY2xhaW1jb21wbGV0ZShuZCk7CisJCW5kLT5u
ZF9yZXBzdGF0ID0gMDsKIG5mc21vdXQ6CiAJTkZTRVhJVENPREUyKGVycm9yLCBuZCk7CiAJcmV0
dXJuIChlcnJvcik7Cg==

--_002_YQBPR0101MB1042DEF0825996764CBCA829DDC40YQBPR0101MB1042_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQBPR0101MB1042DEF0825996764CBCA829DDC40>