From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id A22F11FF13B for ; Wed, 25 Mar 2026 13:47:06 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C8CFE1779A; Wed, 25 Mar 2026 13:47:27 +0100 (CET) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Subject: superseded: [PATCH storage v2 0/2] nfs: use rpcinfo as a showmounts fallback for nfs3 In-Reply-To: <20260319104241.191910-1-m.sandoval@proxmox.com> (Maximiliano Sandoval's message of "Thu, 19 Mar 2026 11:42:30 +0100") References: <20260319104241.191910-1-m.sandoval@proxmox.com> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Wed, 25 Mar 2026 13:47:22 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1774442795407 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.126 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: XWEQ3ULG46BA3R4MLFJBJ3TKHMP6V6CI X-Message-ID-Hash: XWEQ3ULG46BA3R4MLFJBJ3TKHMP6V6CI X-MailFrom: m.sandoval@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Maximiliano Sandoval writes: > See the respective commit messages. > > This came up in enterprise support. In this case the NFS appliance only > supported NFSv3 and the showmounts command failed, but rpcbind > succeeded (with -T tcp). > > This possibility was discussed with Friedrich and Fiona off-list. > > Tested: > - Created a NFS share on host "B" > - On host "A" a NFS storage was added (using B's share) with --options vers=3 > - Ran `ss -tulpn4 |grep mountd` on host B to see ports used by showmounts > - The ports listed were blocked on host "A", so that showmount fails: > > /sbin/showmount --no-headers --exports $B > rpc mount export: RPC: Unable to send; errno = Operation not permitted > > - Ran `pvesm status` on A and checked that the NFS storage is available > - Created a VM on A with a disk image in the the NFS storage > > The later two operations would have failed without the changes here. > > Differences from v1: > - the name of the helper function was fixed > > Maximiliano Sandoval (2): > nfs: create a helper to run rpcinfo commands > nfs: use rpcinfo as a showmounts fallback for nfs3 > > src/PVE/Storage/NFSPlugin.pm | 33 +++++++++++++++++++++++---------- > 1 file changed, 23 insertions(+), 10 deletions(-) Superseded-by: https://lore.proxmox.com/all/20260325124646.298999-1-m.sandoval@proxmox.com/T/#u -- Maximiliano