Date: Fri, 31 Aug 2018 11:19:02 +0000 From: Rick Macklem <rmacklem@uoguelph.ca> To: =?iso-8859-1?Q?Gerrit_K=FChn?= <gerrit.kuehn@aei.mpg.de>, Alan Somers <asomers@freebsd.org> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: Fw: 100.chksetuid handging on nfs mounts Message-ID: <YTOPR0101MB18201F6BB77EDC949EF9BEBBDD0F0@YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM> In-Reply-To: <20180831082933.085ee4f3c7a006549d0974db@aei.mpg.de> References: <20171215143456.278a3dc31bb09c9217e83927@aei.mpg.de> <CAOtMX2jsQDQ3Csa5qszNMZQbx1cR=EcaPOY15T_QimnkM4%2BCWQ@mail.gmail.com> <30015_1513349242_5A33E07A_30015_587_1_20171215154659.c8a7f21317a06ab64e480955@aei.mpg.de> <20180830090941.0b92d2012406299b19a68be2@aei.mpg.de> <CAOtMX2hdC=YZ1_F1n-yceTjgwcWFcnCvrF8LtY1ZWo7dMVRW=w@mail.gmail.com> <20180830154404.5da83b6ff0481b17cd6d044e@aei.mpg.de> <CAOtMX2i%2ByyWZAH7GzFjNV5OUE_60tJ9T%2Bf5rWBQpMHDQU9BsFA@mail.gmail.com>, <20180831082933.085ee4f3c7a006549d0974db@aei.mpg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Gerrit K=FChn wrote: >On Thu, 30 Aug 2018 08:07:52 -0600 Alan Somers <asomers@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 moun= t >> 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=3D2". 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-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTOPR0101MB18201F6BB77EDC949EF9BEBBDD0F0>