NFSv4 stuck
Slawa Olhovchenkov
slw at zxy.spb.ru
Wed Jan 11 22:59:26 UTC 2017
On Wed, Jan 11, 2017 at 10:39:42PM +0000, Rick Macklem wrote:
> "umount -f" is your only chance. However, if there is already a non-forced
> dismount stuck, it won't work because the non-forced dismount will have
> the mounted-on vnode locked.
I am use 'intr,soft' flags -- why ignored?
> Btw, the processes waiting on "rpccon" are trying to make a new TCP
> connection to the server. Are you sure the client can talk to the server
> over your net?
root at edge16:/home/admin # ping stat
PING stat.int.integros.com (185.38.13.26): 56 data bytes
64 bytes from 185.38.13.26: icmp_seq=0 ttl=63 time=0.103 ms
# netstat -an | grep 185.38.13
tcp4 0 0 185.38.12.42.709 185.38.13.26.2049 CLOSE_WAIT
tcp4 0 0 185.38.12.42.1006 185.38.13.26.2049 CLOSED
root at edge16:/home/admin # telnet -NK 185.38.13.26 2049
Trying 185.38.13.26...
Connected to 185.38.13.26.
Escape character is '^]'.
^C^]
telnet> q
I am don't know how to check more -- currently no sockets try
> ________________________________________
> From: owner-freebsd-net at freebsd.org <owner-freebsd-net at freebsd.org> on behalf of Slawa Olhovchenkov <slw at zxy.spb.ru>
> Sent: Wednesday, January 11, 2017 5:08:18 PM
> To: freebsd-net at freebsd.org
> Subject: NFSv4 stuck
>
> 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
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list