From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (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 lists.proxmox.com (Postfix) with ESMTPS id BD20F6B6E8 for ; Tue, 26 Jan 2021 19:15:33 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B2DAA1BA52 for ; Tue, 26 Jan 2021 19:15:33 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS id A44CB1BA42 for ; Tue, 26 Jan 2021 19:15:32 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 6895E4611E for ; Tue, 26 Jan 2021 19:15:32 +0100 (CET) To: Proxmox VE development discussion , Alwin Antreich References: <20201216115904.2790788-1-a.antreich@proxmox.com> From: Thomas Lamprecht Message-ID: Date: Tue, 26 Jan 2021 19:15:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Thunderbird/85.0 MIME-Version: 1.0 In-Reply-To: <20201216115904.2790788-1-a.antreich@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.065 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [nfsplugin.pm] Subject: [pve-devel] applied: [PATCH storage] fix: check connection for nfs v4 only server X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 18:15:33 -0000 On 16.12.20 12:59, Alwin Antreich wrote: > the check_connection is done by querying the exports of the nfs server > in question. With nfs v4 those exports aren't listed anymore since nfs > v4 employs a pseudo-filesystem starting from root (/). > > rpcinfo allows to query the existence of an nfs v4 service. > > Signed-off-by: Alwin Antreich > --- > Note: scan_nfs will not work with nfs v4 only, since it also employs > showmount. The path has to be provided manually. > > PVE/Storage/NFSPlugin.pm | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > applied, thanks!