From owner-freebsd-net@freebsd.org Wed Jan 11 22:29:36 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7D24CAB6C1 for ; Wed, 11 Jan 2017 22:29:36 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C6651A18 for ; Wed, 11 Jan 2017 22:29:36 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1cRR46-000JZq-9F for freebsd-net@freebsd.org; Thu, 12 Jan 2017 01:08:18 +0300 Date: Thu, 12 Jan 2017 01:08:18 +0300 From: Slawa Olhovchenkov To: freebsd-net@freebsd.org Subject: NFSv4 stuck Message-ID: <20170111220818.GD30374@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 22:29:36 -0000 I am have NFSv4 mount dir and some time got stucked after access. Mounted by automount: # cat /etc/nfs.map /NFS -nfsv4,intr,soft,sec=krb5i,gssname=host stat:/ # mount -v map -hosts on /net (autofs, fsid 01ff00cfcf000000) map nfs.map on /NFS (autofs, fsid 02ff00cfcf000000) map nfs.map on /NFS (autofs, fsid 03ff00cfcf000000) map nfs.map on /NFS (autofs, fsid 04ff00cfcf000000) map nfs.map on /NFS (autofs, fsid 05ff00cfcf000000) stat:/ on /NFS (nfs, nfsv4acls, automounted, fsid 0aff003a3a000000) # procstat -a | grep -e rpc -e gss -e nfs 840 1 840 840 0 1 root select FreeBSD ELF64 rpcbind 956 1 956 956 0 1 root pause FreeBSD ELF64 nfsuserd 957 956 956 956 0 1 root sbwait FreeBSD ELF64 nfsuserd 958 956 956 956 0 1 root select FreeBSD ELF64 nfsuserd 960 956 956 956 0 1 root select FreeBSD ELF64 nfsuserd 961 956 956 956 0 1 root sbwait FreeBSD ELF64 nfsuserd 969 1 969 969 0 1 root select FreeBSD ELF64 rpc.statd 972 1 972 972 0 1 root rpcsvc FreeBSD ELF64 rpc.lockd 10629 1098 10629 10629 0 1 root gssstate FreeBSD ELF64 sshd 10687 10652 10687 10647 10647 1 admin gssstate FreeBSD ELF64 csh 14521 1098 14521 14521 0 1 root gssstate FreeBSD ELF64 sshd 14924 14896 14924 14892 14892 1 admin nfs FreeBSD ELF64 automount 45455 45454 45455 45455 45455 1 slw gssstate FreeBSD ELF64 tcsh 63495 63481 42791 42791 0 1 root rpccon FreeBSD ELF64 find 79451 0 0 0 0 1 - rpccon - nfscl 79452 79450 79452 79452 79452 1 slw rpccon FreeBSD ELF64 tcsh How to unlock system w/o reboot? automount -u don't work