From nobody Mon May 29 00:54:54 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTxs26GPfz4Y7DN for ; Mon, 29 May 2023 00:55:18 +0000 (UTC) (envelope-from terry-freebsd@glaver.org) Received: from gate.glaver.org (gate.glaver.org [204.141.35.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate.glaver.org", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTxs20vTKz3Gd4 for ; Mon, 29 May 2023 00:55:18 +0000 (UTC) (envelope-from terry-freebsd@glaver.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of terry-freebsd@glaver.org designates 204.141.35.61 as permitted sender) smtp.mailfrom=terry-freebsd@glaver.org; dmarc=none Received: from www.glaver.org (www@gate.glaver.org [204.141.35.61]) by gate.glaver.org (8.15.2/8.15.2/TMK-10.4-20200422) with ESMTP id 34T0sstK019446 for ; Sun, 28 May 2023 20:54:57 -0400 (EDT) (envelope-from terry-freebsd@glaver.org) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 28 May 2023 20:54:54 -0400 From: Terry Kennedy To: freebsd-stable@FreeBSD.org Subject: Re: Sorry to mail you directly with a NFS question... Message-ID: <4943d4e5b65716a7a72cc11f1db251e2@glaver.org> User-Agent: Roundcube Webmail/1.3.9 X-Originating-IP: 204.141.35.54 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on gate.glaver.org X-Spamd-Result: default: False [1.81 / 15.00]; FAKE_REPLY(1.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.86)[-0.855]; NEURAL_SPAM_MEDIUM(0.76)[0.763]; R_SPF_ALLOW(-0.20)[+ip4:204.141.35.61:c]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22691, ipnet:204.141.35.0/24, country:US]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; HAS_XOIP(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@FreeBSD.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_NA(0.00)[glaver.org] X-Rspamd-Queue-Id: 4QTxs20vTKz3Gd4 X-Spamd-Bar: + X-ThisMailContainsUnwantedMimeParts: N [This is the first time I'm trying to use the new FreeBSD list serer, and it is behaving really bizarrely - it stripped out the attachment in my first message, and when I sent the attachment in a subsequent email, it REPLACED my prior email which has vanished. I'm trying to reconstruct what I said. Fortunately I still have the hung terminal windows open so I have that data.] I can easily reproduce this bug by editing a file on the NFS filesystem, making a trivial change and doing "save and exit" - instant hang. I gathered the data Rick requested which is in my previous post. In another terminal window on the 13.2 system (165h) with the hang, both filesystems show up, even after the hang: (0:19) 165h:/tmp# df -h Filesystem Size Used Avail Capacity Mounted on ... gate:/usr/local/src 7.7G 3.3G 3.8G 46% /usr/local/src gate:/sysprog 62G 22G 35G 39% /sysprog ... In that other terminal window, I can create a file with 'touch' (and it is indeed created, looking at the directory from other clients running 12.4). But any attempt to list the directory results in a hang: (0:22) 165h:/tmp# touch /usr/local/src/envir/foo (0:23) 165h:/tmp# ls /usr/local/src/envir load: 0.00 cmd: ls 97107 [nfs] 25.89r 0.00u 0.00s 0% 2864k load: 0.00 cmd: ls 97107 [nfs] 52.44r 0.00u 0.00s 0% 2864k load: 0.00 cmd: ls 97107 [nfs] 175.41r 0.00u 0.00s 0% 2864k In yet another terminal window, a create + write (as opposed to just a "touch") hangs: (0:2) 165h:/sysprog/terry# echo "Testing 123" > /usr/local/src/envir/bar load: 0.00 cmd: tcsh 97128 [nfs] 61.17r 0.02u 0.00s 0% 4248k load: 0.01 cmd: tcsh 97128 [nfs] 2736.92r 0.02u 0.00s 0% 4248k From another 12.4 client that has the same filesystem mounted, things continue to work normally: (0:634) new-gate:~terry# echo "Testing 123" > /usr/local/src/envir/baz (0:635) new-gate:~terry# cat /usr/local/src/envir/baz Testing 123 Based on this, I think it is a client-side problem on the 13.2 system.