diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 30215d4..581ef6c 100644 --- a/PVE/Storage/ZFSPlugin.pm +++ b/PVE/Storage/ZFSPlugin.pm @@ -290,16 +290,6 @@ sub free_image { return undef; } -sub activate_storage { - my ($class, $storeid, $scfg, $cache) = @_; - return 1; -} - -sub deactivate_storage { - my ($class, $storeid, $scfg, $cache) = @_; - return 1; -} - sub volume_resize { my ($class, $scfg, $storeid, $volname, $size, $running) = @_; diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 40cd753..10da7f7 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage/ZFSPoolPlugin.pm @@ -417,6 +417,16 @@ sub volume_snapshot_rollback { zfs_request($class, $scfg, undef, 'rollback', "$scfg->{pool}/$volname\@$snap"); } +sub activate_storage { + my ($class, $storeid, $scfg, $cache) = @_; + return 1; +} + +sub deactivate_storage { + my ($class, $storeid, $scfg, $cache) = @_; + return 1; +} + sub activate_volume { my ($class, $storeid, $scfg, $volname, $exclusive, $cache) = @_; return 1;