Gerrit Kühn wrote: >On Thu, 30 Aug 2018 08:07:52 -0600 Alan Somers <asom...@freebsd.org> wrote >about Re: Fw: 100.chksetuid handging on nfs mounts: > >> Well that's not very illuminating. I was wondering if it had weird mount >> options or something. Are you sure that's why find is hanging? What >> happens if you unmount and repeat the command? > >I just tried these things: > >find command with nfs mounted and connection working: runs fine >find command with nfs unmounted: runs fine >find command with nfs mounted and nfs-nic down: hangs Without a functioning network, NFS just keeps trying to do the RPC. This is normal behaviour for NFS and has been since 1985. If you are using NFSv3 and want the I/O attempt to fail after a couple of minutes instead of "just keep trying", you can use the mount options: "soft,retrans=2". These options are not recommended for NFSV4.
>As soon as I "up" the interface again, find continues to run: Yep. At this point, the NFS client can do the RPC. rick --- root@crest:/ # find -sx / /dev/null \( ! -fstype local \) -prune -o -type f \( \( ! -perm +010 -and -perm +001 \) -or \( ! -perm +020 -and -perm +002 \) -or \( ! -perm +040 -and -perm +004 \) \) -exec ls -liTd \{\} \+ nfs server hellpool:/samqfs/FC5/Gerrit: not responding nfs server hellpool:/samqfs/FC5/Gerrit: is alive again root@crest:/ # --- cu Gerrit _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"