[pve-devel] applied: [PATCH storage] fix: check connection for nfs v4 only server
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jan 26 19:15:30 CET 2021
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 <a.antreich at proxmox.com>
> ---
> 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!
More information about the pve-devel
mailing list