]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/ZFSPoolPlugin.pm
Fix ZFSPoolPlugin path for subvol
[pve-storage.git] / PVE / Storage / ZFSPoolPlugin.pm
index cae598dd1c49c0742b580424d1fae32b04284fd8..6b095f1b62bceaccf5d8118ab0354b9563346b60 100644 (file)
@@ -150,7 +150,7 @@ sub path {
     if ($vtype eq "images") {
        if ($volname =~ m/^subvol-/) {
            # fixme: we currently assume standard mount point?!
-           $path = "$scfg->{pool}/$volname";
+           $path = "/$scfg->{pool}/$volname";
        } else {
            $path = "/dev/zvol/$scfg->{pool}/$volname";
        }