]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/ZFSPoolPlugin.pm
fix regression in zfs volume activation
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 29 Sep 2020 16:49:44 +0000 (18:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Sep 2020 16:52:32 +0000 (18:52 +0200)
commit59fdc2b71e5da8eaf3c821a5c55f410f58da200a
treeed79c18c3383e60235f6b7cbcf1053b8f08c1ec0
parente3eb131ec5150867a88260b73182d804fda1a32a
fix regression in zfs volume activation

commit 815df2dd08ac4c7295135262e60d64fbb57b8f5c introduced a small issue
when activating linked clone volumes - the volname passed contains
basevol/subvol, which needs to be translated to subvol.

using the path method should be a robust way to get the actual path for
activation.

Found and tested by building the package as root (otherwise the zfs
regressiontests are skipped).

Reported-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/Storage/ZFSPoolPlugin.pm