all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH storage] NFS: avoid using obsolete rpcinfo option
@ 2021-02-04  8:04 Fabian Ebner
  2021-02-19 14:29 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Ebner @ 2021-02-04  8:04 UTC (permalink / raw)
  To: pve-devel

as suggested in the man page.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---
 PVE/Storage/NFSPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage/NFSPlugin.pm b/PVE/Storage/NFSPlugin.pm
index 72e06c2..cb16864 100644
--- a/PVE/Storage/NFSPlugin.pm
+++ b/PVE/Storage/NFSPlugin.pm
@@ -166,7 +166,7 @@ sub check_connection {
     if (defined($opts) && $opts =~ /vers=4.*/) {
 	# nfsv4 uses a pseudo-filesystem always beginning with /
 	# no exports are listed
-	$cmd = ['/usr/sbin/rpcinfo', '-t', $server, 'nfs', '4'];
+	$cmd = ['/usr/sbin/rpcinfo', '-T', 'tcp', $server, 'nfs', '4'];
     } else {
 	$cmd = ['/sbin/showmount', '--no-headers', '--exports', $server];
     }
-- 
2.20.1





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH storage] NFS: avoid using obsolete rpcinfo option
  2021-02-04  8:04 [pve-devel] [PATCH storage] NFS: avoid using obsolete rpcinfo option Fabian Ebner
@ 2021-02-19 14:29 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-02-19 14:29 UTC (permalink / raw)
  To: Proxmox VE development discussion, Fabian Ebner

On 04.02.21 09:04, Fabian Ebner wrote:
> as suggested in the man page.
> 
> Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
> ---
>  PVE/Storage/NFSPlugin.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied already a bit ago but it seems I forgot to reply?

anyway, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-19 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04  8:04 [pve-devel] [PATCH storage] NFS: avoid using obsolete rpcinfo option Fabian Ebner
2021-02-19 14:29 ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal