]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/NexentaPlugin.pm
nexenta: recursively delete all snapshots on vdisk_free
[pve-storage.git] / PVE / Storage / NexentaPlugin.pm
index 4f28c81e7e34b5a0ccaed0c967cdf74f5710c6c4..05be58f403c60fedf2362a71a54fdb70f3e44f94 100644 (file)
@@ -84,7 +84,7 @@ sub nexenta_create_zvol {
 sub nexenta_delete_zvol {
     my ($scfg, $zvol) = @_;
 
-    nexenta_request($scfg, 'destroy', 'zvol', "$scfg->{pool}/$zvol", '');
+    nexenta_request($scfg, 'destroy', 'zvol', "$scfg->{pool}/$zvol", '-r');
 }
 
 sub nexenta_list_zvol {