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 8C223158099 for ; Mon, 20 Nov 2023 11:28:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51E8E2BC04A; Mon, 20 Nov 2023 11:28:31 +0000 (UTC) Received: from smarthost01b.ixn.mail.zen.net.uk (smarthost01b.ixn.mail.zen.net.uk [212.23.1.21]) (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 F0DA62BC016 for ; Mon, 20 Nov 2023 11:28:30 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01b.ixn.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1r52S5-00HaqT-JQ for gentoo-user@lists.gentoo.org; Mon, 20 Nov 2023 11:28:29 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Debugging NFS mounts Date: Mon, 20 Nov 2023 11:28:29 +0000 Message-ID: <2708607.mvXUDI8C0e@wstn> In-Reply-To: References: <4526220.LvFx2qVVIh@wstn> <12327518.O9o76ZdvQC@wstn> 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: cf20f0a7-ac2e-4791-948f-a1278c49623e X-Archives-Hash: 3f6c23f096d3854668241029f8d7e187 On Sunday, 19 November 2023 15:59:37 GMT Remy Blank wrote: > Peter Humphrey wrote on 19.11.2023 16:12: > > Yes, indeed. In fact I don't know why this has only just bitten me; I've > > been doing the same thing for years without problem. > > > > That search turns up so many answers that I don't know where to start, > > even > > prefixing the phrase with "gentoo". Most of them seem to date from 10 > > years ago or more. > > You need to configure two files. Add a *.conf file below /etc/sysctl.d with > the following content: > > # Set fixed ports for lockd. > fs.nfs.nlm_tcpport = 4014 > fs.nfs.nlm_udpport = 4014 > > Then set some options in /etc/conf.d/nfs. Here's my config, the -p options > configure the ports of various NFS services. > > # /etc/conf.d/nfs > > # If you wish to set the port numbers for lockd, > # please see /etc/sysctl.conf > > # Optional services to include in default `/etc/init.d/nfs start` > # For NFSv4 users, you'll want to add "rpc.idmapd" here. > NFS_NEEDED_SERVICES="rpc.idmapd" > > # Options to pass to rpc.nfsd > OPTS_RPC_NFSD="8 -s -V 3 -N 4" > > # Options to pass to rpc.mountd > # ex. OPTS_RPC_MOUNTD="-p 32767" > OPTS_RPC_MOUNTD="-p 4010 --manage-gids" > > # Options to pass to rpc.statd > # ex. OPTS_RPC_STATD="-p 32765 -o 32766" > OPTS_RPC_STATD="-p 4011 -o 4012" > > # Options to pass to rpc.idmapd > OPTS_RPC_IDMAPD="" > > # Options to pass to rpc.gssd > OPTS_RPC_GSSD="" > > # Options to pass to rpc.svcgssd > OPTS_RPC_SVCGSSD="" > > # Options to pass to rpc.rquotad (requires sys-fs/quota) > OPTS_RPC_RQUOTAD="-p 4013" > > # Timeout (in seconds) for exportfs > EXPORTFS_TIMEOUT=30 > > # Options to set in the nfsd filesystem (/proc/fs/nfsd/). > # Format is