From owner-freebsd-stable@freebsd.org Mon Mar 5 22:49:12 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 681B0F30E18 for ; Mon, 5 Mar 2018 22:49:12 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670069.outbound.protection.outlook.com [40.107.67.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D61F371BCE for ; Mon, 5 Mar 2018 22:49:11 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB2148.CANPRD01.PROD.OUTLOOK.COM (52.132.72.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 5 Mar 2018 22:49:10 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::3531:c817:d6f:9b93]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::3531:c817:d6f:9b93%13]) with mapi id 15.20.0548.016; Mon, 5 Mar 2018 22:49:10 +0000 From: Rick Macklem To: NAGY Andreas , "'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?= Thread-Topic: =?iso-8859-1?Q?NFS_4.1_RECLAIM=5FCOMPLETE_FS=A0failed_error_in_combinatio?= =?iso-8859-1?Q?n_with_ESXi_client?= Thread-Index: AdOx8zAe5+TceuOWQkax+IhJZhNDgQAnzopHABn27/AAIBzCQgAP8SUgAAmzYWAADy6jKgAZTvpAABQ08bc= Date: Mon, 5 Mar 2018 22:49:10 +0000 Message-ID: References: , , , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB2148; 7:KJgeSb1UnunE5n/DNZBXKH9xd0QxJ/TIS5tYWfVfYTB2m8zSky0xA5xMbjPGLe6c5pwv/r5846M32fOBMnG4uf0bd875+ykMRBfajcBEy+aWSOVQK2ZI7a5SDMYh6eQRRc4rftrCYS2gW8leiI8WnGezSmKPYS3N02v0ASiyfwW4EmT71ceCPkmhJFcjIQnvuWLUYBY+ko+0DclTnZFVfPgAssgADom5OhqH0f036K/9aOT3vZhxubrP4K8mk1jO x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: cc3ea2b8-3e72-495b-6f7f-08d582eb4f5c x-microsoft-antispam: UriScan:(80341031608730); BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989060)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(5600026)(4604075)(3008032)(2017052603325)(7153060)(7193020); SRVR:YQBPR0101MB2148; x-ms-traffictypediagnostic: YQBPR0101MB2148: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(80341031608730); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231220)(944501244)(52105095)(93006095)(93001095)(6041288)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:YQBPR0101MB2148; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB2148; x-forefront-prvs: 06022AA85F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(366004)(39380400002)(39860400002)(396003)(189003)(199004)(13464003)(2900100001)(786003)(5250100002)(105586002)(25786009)(229853002)(5890100001)(6346003)(97736004)(3280700002)(8936002)(110136005)(316002)(53936002)(55016002)(2906002)(305945005)(186003)(86362001)(59450400001)(102836004)(26005)(74482002)(6246003)(3660700001)(93886005)(5660300001)(6506007)(76176011)(68736007)(7696005)(9686003)(106356001)(53546011)(14454004)(81156014)(99286004)(33656002)(2950100002)(478600001)(6436002)(74316002)(81166006)(491001); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB2148; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-microsoft-antispam-message-info: rKDcPppJnG/TQzRrXcoI/hgPVxG9oQf4WEc6sEAWyiM07oiNy3su3Dds+fyVr9XxWZMHP/7tWHCTx6cK1p5Ufhnxhq1P0nUVD48K/7EHRnguwydiMQiKEu0GRMOY4YkXCEhagcBOXuNoA2O0CbQCIOKlfMNPkcJg6/6g4W1vvZf0BdrrUd34nAcydQH0RVBke5AkV8g0XN/IufQ4HcZaToF9GTFxeWQc550sg9ZNJGl7NDpQeolovBA0VjgK/V9hE/5miJTiTzvXEUgJRI1autEraBDLiBPF5lnk4T/iewmyx+eq+TjKhD7D6JD1G+U9m+xUdq6y6YGe3OGPAmM6Jw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: cc3ea2b8-3e72-495b-6f7f-08d582eb4f5c X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2018 22:49:10.2082 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB2148 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 22:49:12 -0000 Nope, that isn't supported, rick (Hope no one is too upset by a top post.) ________________________________________ From: NAGY Andreas Sent: Monday, March 5, 2018 8:22:10 AM To: Rick Macklem; 'freebsd-stable@freebsd.org' Subject: RE: NFS 4.1 RECLAIM_COMPLETE FS failed error in combination with E= SXi client Thanks, I am actually compiling with both patches. I try now to get NFS 4.1 multipathing working. So I have now two connection= on different subnets between the ESXi host and the FreeBSD host with expor= ts for the same mountpoint on both subnets. Now I get the following errors in the vmkernel.log: 2018-03-05T13:06:07.488Z cpu10:66503)WARNING: NFS41: NFS41_Bug:2361: BUG - = Invalid BIND_CONN_TO_SESSION error: NFS4ERR_NOTSUPP Is there session trunking available in the FreeBSD NFS41 implementation? Br, andi -----Original Message----- From: Rick Macklem [mailto:rmacklem@uoguelph.ca] Sent: Montag, 5. M=E4rz 2018 02:16 To: NAGY Andreas ; 'freebsd-stable@freebsd.org= ' Subject: Re: NFS 4.1 RECLAIM_COMPLETE FS failed error in combination with E= SXi client NAGY Andreas wrote: [stuff snipped] >In the source I saw nfs_async =3D 0; is it right that NFS will work in asy= nc mode if I >compile the kernel with nfs_async =3D 1? > >I know the risk of running it async, but is it not the same risk having th= e datastore >connected via iSCSI which standard is also not sync? If you want to use it, you can just set it by setting the sysctl vfs.nfsd.a= sync=3D1. - If the server crashes/reboots you can lose data. Also, after the reboot, = the client will only see an temporarily unresponsive server and will not have= any indication of data loss. (I am not familiar with iSCSI, so I can't comment on how safe that is.) - If you are using ZFS, there is also a ZFS config (sync=3Ddisabled). I'm n= ot a ZFS guy, so I don't know anything more, but I'm sure others reading this list= can tell you how to set it. [more stuff snipped] >So far I did not see any issue with the mount. Only in the vmkernel.log th= ere are >often following entrees: >WARNING: NFS41: NFS41ValidateDelegation:608: Server returned improper >>reason for no delegation: 2 The attached patch *might* get rid of these, although I don't think it matt= ers much, since it is just complaining about the "reason" the server return= s for not issuing a delegation (issuing delegations is entirely at the disc= retion of the server and is disabled by default). [more stuff snipped] Good luck with it, rick