From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA30115823F for ; Fri, 17 Nov 2023 16:44:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 728C02BC029; Fri, 17 Nov 2023 16:44:32 +0000 (UTC) Received: from smarthost01b.sbp.mail.zen.net.uk (smarthost01b.sbp.mail.zen.net.uk [212.23.1.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2390B2BC020 for ; Fri, 17 Nov 2023 16:44:31 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01b.sbp.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1r41xG-009oaM-5b for gentoo-user@lists.gentoo.org; Fri, 17 Nov 2023 16:44:30 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Debugging NFS mounts Date: Fri, 17 Nov 2023 16:44:29 +0000 Message-ID: <2707341.mvXUDI8C0e@wstn> In-Reply-To: <1913374.2JyYDzQ6dc@invader> References: <4526220.LvFx2qVVIh@wstn> <1913374.2JyYDzQ6dc@invader> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01b-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: c3eeb809-2aac-4c44-9bfb-8c400f68aac4 X-Archives-Hash: 610de6f7999446c8633d98342c71c892 On Thursday, 16 November 2023 20:38:45 GMT Marco Rebhan wrote: > On Wednesday, 15 November 2023 17:29:19 CET Peter Humphrey wrote: > > Hello list, > > > > My little server needs help with compiling, so I NFS-export /var (which > > has > > its own partition) to a chroot on my workstation. I mount all the > > partitions on both server and workstation. Then when I chroot, env-update > > hangs for ever. Well, over an hour anyway. > > > > Is it possible to export /var in this way? I can't see anything else > > wrong. > > I don't see why it shouldn't work, but there's a couple commands I use to > debug NFS. They're not *great*, but they work. > > I haven't used Gentoo in a while so I forget exactly what env-update does, > but I assume mounting the network share works successfully and this is just > a command that accesses /var. > > You can use these commands to make the kernel driver output debugging > information to dmesg. > > On the client: > > # rpcdebug -m nfs -s all > > On the server: > > # rpcdebug -m nfsd -s all > > On both sides, if the others don't give useful info, this is for the lower > > level protocol: > > # rpcdebug -m rpc -s all > > Then, try running the command again. It will spew a lot of info but > hopefully you can figure out from it what's going on. I'll try that - thanks. -- Regards, Peter.