]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/NFSPlugin.pm
rbd: allow to use client custom ceph conf for each storeid
[pve-storage.git] / PVE / Storage / NFSPlugin.pm
index e1107fd90342bc421129e34fc8416ddc0a06daf3..df00f373d2562a0b3e2b7b5144fe065ade5b1827 100644 (file)
@@ -22,7 +22,7 @@ sub nfs_is_mounted {
 
     $mountdata = PVE::ProcFSTools::parse_proc_mounts() if !$mountdata;
     return $mountpoint if grep {
-       $_->[2] eq 'nfs' &&
+       $_->[2] =~ /^nfs/ &&
        $_->[0] =~ m|^\Q$source\E/?$| &&
        $_->[1] eq $mountpoint
     } @$mountdata;