]> git.proxmox.com Git - pve-storage.git/commit
fix: check connection for nfs v4 only server
authorAlwin Antreich <a.antreich@proxmox.com>
Wed, 16 Dec 2020 11:59:04 +0000 (12:59 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Jan 2021 18:15:17 +0000 (19:15 +0100)
commit89b9ac961a0427cf5a886ddedbb35f3af65d1cae
tree1dddf044a5e01a2d493769fbc05bcc7f8f694e93
parentd7fedf266ab8b9ab16e5a4731b4dcc8a29bef56a
fix: check connection for nfs v4 only server

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 <a.antreich@proxmox.com>
PVE/Storage/NFSPlugin.pm