From owner-freebsd-net@freebsd.org Fri Aug 31 11:19:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7085EF7D193 for ; Fri, 31 Aug 2018 11:19:08 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670088.outbound.protection.outlook.com [40.107.67.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDBBA8E248; Fri, 31 Aug 2018 11:19:07 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM (52.132.44.160) by YTOPR0101MB1515.CANPRD01.PROD.OUTLOOK.COM (52.132.48.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.15; Fri, 31 Aug 2018 11:19:02 +0000 Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::7d32:736f:ee9e:e78c]) by YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::7d32:736f:ee9e:e78c%4]) with mapi id 15.20.1101.016; Fri, 31 Aug 2018 11:19:02 +0000 From: Rick Macklem To: =?iso-8859-1?Q?Gerrit_K=FChn?= , Alan Somers CC: FreeBSD Net Subject: Re: Fw: 100.chksetuid handging on nfs mounts Thread-Topic: Fw: 100.chksetuid handging on nfs mounts Thread-Index: AQHUQPQEXK3OkyK1V066YM56TmswgaTZtb8Y Date: Fri, 31 Aug 2018 11:19:02 +0000 Message-ID: References: <20171215143456.278a3dc31bb09c9217e83927@aei.mpg.de> <30015_1513349242_5A33E07A_30015_587_1_20171215154659.c8a7f21317a06ab64e480955@aei.mpg.de> <20180830090941.0b92d2012406299b19a68be2@aei.mpg.de> <20180830154404.5da83b6ff0481b17cd6d044e@aei.mpg.de> , <20180831082933.085ee4f3c7a006549d0974db@aei.mpg.de> In-Reply-To: <20180831082933.085ee4f3c7a006549d0974db@aei.mpg.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YTOPR0101MB1515; 6:NwFX9pmWpa4KWHQ8FE8zV8Ni8dDKchOt1y0c5B7wXYVJfsfi7OPE8Jao0hVPfM+GqudiRi/jzv4DQcKd//exhSsZOH+B7rbSOlz5/xUrVNV1f5mGbAYJ6Rylp8Eb4q06BMycW8DyNqPFAsu057b+0qZYI/BEJpzIislzIdAL2CLwklzydGEnSzaAMKyNBm9dejnw43/deV/DgeLUCO91pvyRreSmBqT0voTucLeC8K6eP8kHOFY2JbGh8lSkmhqdIKA8es4+TTskLYIO8fGiO8zB0geyVaJPOXam5ni/5AWQN9x7YyghCbmFU8eQIziT0lGvKRmfKNbUtGCJHnEZYhhEWgC3djrKiIrAWrIDi4hxm9B2tW1gfMnbILAYsR0fpsz6LeTe7kCXlT1H+eaocrXbbntLMvfyPP6ANabjsWdUr0wVFWCFVltqA3LLN2Ke8dquof4l3B1D7rrsvckCOQ==; 5:LUcoEB9q5YrAdb44xQrAzzlcMd5eIYkWv43427m2jmIBt6J6hnrQYRiCI6sk1PSX+rkxHaAjBLnQ2vH6R1VoiCMYQM4LRz05bhuVZYVelUMRtkHsh1f50FQOuFz8m3tRx3gga2GjBxt9N+dkdztjKTLS+FjTOXIedutrn281vmY=; 7:0iruc189Oc3uAoRNa1gi9sCc2ODK/JBdTb9IdsP0qQhwUDpEHfdOvVlDUW2Mgo1xo/tgrMO5hxSQn8I/0BKkiGDv2UBIJDrR/1kcrVGF3gnUWCWKCYqk7qRmHeoX+5dcdABNYZt1OO4Awf70WQ1FuY1RW9KXAEzNRLO9uuQWUVo8fqHakSAcD0+gFeXN6Fx+zssyJefKK27mcQljeXV0OuccTH+iwSt54RMMfRubRvISEZ+GA44Q9jnrJJ4AXWS5 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 93e2cf60-5d2e-4037-8ec9-08d60f338e4f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:YTOPR0101MB1515; x-ms-traffictypediagnostic: YTOPR0101MB1515: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(75325880899374); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:YTOPR0101MB1515; BCL:0; PCL:0; RULEID:; SRVR:YTOPR0101MB1515; x-forefront-prvs: 07817FCC2D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(39860400002)(136003)(366004)(189003)(199004)(316002)(8676002)(305945005)(102836004)(786003)(966005)(93886005)(97736004)(76176011)(186003)(476003)(110136005)(68736007)(26005)(7696005)(486006)(4326008)(81166006)(6306002)(81156014)(33656002)(9686003)(6506007)(25786009)(14454004)(478600001)(74482002)(86362001)(55016002)(6246003)(2906002)(446003)(74316002)(6436002)(5660300001)(256004)(2900100001)(105586002)(229853002)(5250100002)(11346002)(8936002)(99286004)(53936002)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:YTOPR0101MB1515; H:YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: CvcF+zU9f0HiFYJbluQcBGXFCYT0yum+gSfn//noAYp6unYljzAh+NOZ7JeTrZZA7+qI4B6F5+EwRNIrHxFndVxV4jg//I7Xew4YAdIQlPnYQM0D5IFVIorutwye3su3Cb3YIGlmDupuIYtIT/jbOIoXdoVFK6R5TBFollfU2pJDnPICLGU2U4siQfNRmS0j8N5nvtdVUpztLdzb3vGq7QAALj68gVyHI4iZaKnFbYJgGg7OhFDsVRq1/fxvKRYIlwRvhaGwgXZyvO6Gi5rKJWuDwxjQfh3/hK8wv3StiDqKiqoHj7eSnw0SNUULuoMndEICrvub/pYixCss6NL8m6SAyB1RzDvEG2BTgljwbVg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 93e2cf60-5d2e-4037-8ec9-08d60f338e4f X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2018 11:19:02.3425 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB1515 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2018 11:19:08 -0000 Gerrit K=FChn wrote: >On Thu, 30 Aug 2018 08:07:52 -0600 Alan Somers 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"