diff --git a/PVE/Storage/ZFSDirPlugin.pm b/PVE/Storage/ZFSDirPlugin.pm index e5145c3..4e39488 100644 --- a/PVE/Storage/ZFSDirPlugin.pm +++ b/PVE/Storage/ZFSDirPlugin.pm @@ -388,5 +388,14 @@ sub volume_snapshot_delete { $class->zfs_request($scfg, undef, 'destroy', "$scfg->{pool}/$volname\@$snap"); } +sub activate_volume { + my ($class, $storeid, $scfg, $volname, $exclusive, $cache) = @_; + return 1; +} + +sub deactivate_volume { + my ($class, $storeid, $scfg, $volname, $exclusive, $cache) = @_; + return 1; +} 1; diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 9bc1c83..f7a061c 100644 --- a/PVE/Storage/ZFSPlugin.pm +++ b/PVE/Storage/ZFSPlugin.pm @@ -311,16 +311,6 @@ sub deactivate_storage { return 1; } -sub activate_volume { - my ($class, $storeid, $scfg, $volname, $exclusive, $cache) = @_; - return 1; -} - -sub deactivate_volume { - my ($class, $storeid, $scfg, $volname, $exclusive, $cache) = @_; - return 1; -} - sub volume_resize { my ($class, $scfg, $storeid, $volname, $size, $running) = @_;