NFSv4 stuck
Rick Macklem
rmacklem at uoguelph.ca
Wed Jan 11 22:39:44 UTC 2017
"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.
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?
rick
________________________________________
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