Fix ZFSPoolPlugin path for subvol
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
ce37886b59
commit
d6d924d0bf
@ -150,7 +150,7 @@ sub path {
|
|||||||
if ($vtype eq "images") {
|
if ($vtype eq "images") {
|
||||||
if ($volname =~ m/^subvol-/) {
|
if ($volname =~ m/^subvol-/) {
|
||||||
# fixme: we currently assume standard mount point?!
|
# fixme: we currently assume standard mount point?!
|
||||||
$path = "$scfg->{pool}/$volname";
|
$path = "/$scfg->{pool}/$volname";
|
||||||
} else {
|
} else {
|
||||||
$path = "/dev/zvol/$scfg->{pool}/$volname";
|
$path = "/dev/zvol/$scfg->{pool}/$volname";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user