return undef, as nexenta have a implicit protection system when creatin clones
Signed-off-by: Alexandre Derumier <[email protected]> --- PVE/Storage/NexentaPlugin.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm index 9622548..08accb1 100644 --- a/PVE/Storage/NexentaPlugin.pm +++ b/PVE/Storage/NexentaPlugin.pm @@ -394,4 +394,10 @@ sub volume_has_feature { return undef; } +sub volume_protect { + my ($class, $scfg, $storeid, $volname, $snap, $read_only) = @_; + #nexenta doesn't need to protect + return undef; +} + 1; -- 1.7.10.4 _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
