Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2103321pxb; Mon, 8 Mar 2021 14:23:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwrXsByNr+jmbXpGo1U71nDxRnaKRifqCQQm4Kti2PhE2RCpNyANAoL6ximOWbCsA6OqS0 X-Received: by 2002:a17:906:8401:: with SMTP id n1mr17139288ejx.225.1615242216411; Mon, 08 Mar 2021 14:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615242216; cv=none; d=google.com; s=arc-20160816; b=c3JhZzWAUxqzZ+4qt2TSAmZ3ojH3JkgC/dc3muEeZ5GcS2JzWFPy3m4dV6zs47WtIg ux/WFn6IQn86nCncmR7oWBMRLdok4IjkZ6EbCkfYMcvyEbJBCtCFFoA8rBWrUuAjgbIp YIoHITVz7nURr9Qbs0zp/r2IhRfztrXDLfuQzzqezKGt9vybK1ei3xYYPpfRY7PBCrf3 atYDNJpLSQljD0oNLyaFmHhwAlMc+hy4jPlyYGvUfsZh59Kxta/cOLzGtFQcnJDuaYjE L+fM22rfsNvNIt9ErmP//uHt2/6qG/v8859/eF69m5nl/TLFGLH5acDsvFG4K/ogELCh o6aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:to:references :message-id:cc:date:in-reply-to:from:subject:mime-version; bh=AmAcF7cp5K3nuR3uekKqRR3CKKRa3gtWTWfBLDGK4qU=; b=dVouhBkVENrtIRGrMFACb3/wBc8l4u4TaHDdZbNVkFp/NQrwbK5y7Pi+Yw5QoJaXKH E88F6SZFeNrt+0Kjh7AnJQxLqlZv4PlR9qnfXxUBMc2tHDIjQa2lBXprU65aE9wLFfla PnhzIguFruBsjlO4B9NVRuzMW7wSfXYAoSPteTFcVdQcr6rjPch0vkMIEsaPGVmyW8K3 CjLpwgStTY7W4h3ijY8sm+bltNi1MwStrd+BQcTlaEu1Sv8sojJN5E+8vxXUBTA4jLo4 r34leMrldGEqgUuiknnykZr1Ra6IdKCqzALSvCL7T8TpSqSDp+c8aaAP+cfaLE2KWLpC Dxdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si7884599edr.249.2021.03.08.14.22.49; Mon, 08 Mar 2021 14:23:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229704AbhCHWWP convert rfc822-to-8bit (ORCPT + 99 others); Mon, 8 Mar 2021 17:22:15 -0500 Received: from us-smtp-delivery-145.mimecast.com ([216.205.24.145]:37280 "EHLO us-smtp-delivery-145.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231142AbhCHWWP (ORCPT ); Mon, 8 Mar 2021 17:22:15 -0500 X-Greylist: delayed 15603 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Mar 2021 17:22:15 EST Received: from zmcc-3-mta-2.zmailcloud.com (zmcc-3-mta-2.zmailcloud.com [35.238.170.66]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-267-bgnMDN7vMKSKwykOgkGYIA-1; Mon, 08 Mar 2021 17:22:12 -0500 X-MC-Unique: bgnMDN7vMKSKwykOgkGYIA-1 Received: from zmcc-3-mta-2.zmailcloud.com (localhost [127.0.0.1]) by zmcc-3-mta-2.zmailcloud.com (Postfix) with ESMTPS id 3C465E294B; Mon, 8 Mar 2021 16:22:11 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by zmcc-3-mta-2.zmailcloud.com (Postfix) with ESMTP id 2CFB5E2954; Mon, 8 Mar 2021 16:22:11 -0600 (CST) X-Virus-Scanned: amavisd-new at zmcc-3-mta-2.zmailcloud.com Received: from zmcc-3-mta-2.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-3-mta-2.zmailcloud.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LmM8cvtXC1ZZ; Mon, 8 Mar 2021 16:22:11 -0600 (CST) Received: from jbreitman-mac.zxcvm.com (unknown [72.22.182.150]) by zmcc-3-mta-2.zmailcloud.com (Postfix) with ESMTPSA id ED3BEE28C6; Mon, 8 Mar 2021 16:22:10 -0600 (CST) Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: NFS Mount Hangs From: Jason Breitman In-Reply-To: <2b13577bb30faf3b475d2d602be57aa135023a53.camel@hammerspace.com> Date: Mon, 8 Mar 2021 17:22:10 -0500 Cc: "linux-nfs@vger.kernel.org" Message-Id: <15CD7763-6DE5-4DBA-8FAE-859964AA90AC@tildenparkcapital.com> References: <5E3B228F-5CFC-4EDF-B52E-1CDB947ADC00@tildenparkcapital.com> <2b13577bb30faf3b475d2d602be57aa135023a53.camel@hammerspace.com> To: Trond Myklebust X-Mailer: Apple Mail (2.3608.120.23.2.4) Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA45A274 smtp.mailfrom=jbreitman@tildenparkcapital.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: tildenparkcapital.com Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Thank you. Do you know which kernel version is fixed? If not, is there something I can look for in the source code that will indicate that the kernel is fixed. Jason Breitman On Mar 8, 2021, at 5:15 PM, Trond Myklebust wrote: On Mon, 2021-03-08 at 13:16 -0500, Jason Breitman wrote: > Issue > NFSv4 mounts periodically hang on the NFS Client. > > During this time, it is possible to manually mount from another NFS > Server on the NFS Client having issues. > Also, other NFS Clients are successfully mounting from the NFS Server > in question. > Rebooting the NFS Client appears to be the only solution. > > I believe this issue has been discussed in the past so I included an > article that matched my symptoms. > I do not see a case statement for FIN_WAIT2 at > https://elixir.bootlin.com/linux/v4.19.171/source/net/sunrpc/xprtsock.c > . > > NFS Client > OS: Debian Buster 10.8 > Kernel: 4.19.171-2 > Protocol: NFSv4 with Kerberos Security > Mount Options: nfs- > server.domain.com:/data /mnt/data nfs4 lookupcache=pos,n > oresvport,sec=krb5,hard,rsize=1048576,wsize=1048576 00 > > Output from the NFS Client when the issue occurs > # netstat -an | grep NFS.Server.IP.X > tcp 0 0 NFS.Client.IP.X:46896 > NFS.Server.IP.X:2049 FIN_WAIT2 > Your client has closed the connection, and is waiting for the server to close the connection on its side. I'd suggest using a newer kernel, or else getting someone in the Debian project to fix theirs. -- Trond Myklebust Linux NFS client maintainer, Hammerspace trond.myklebust@hammerspace.com