]> git.proxmox.com Git - pve-storage.git/commitdiff
nexenta: recursively delete all snapshots on vdisk_free
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 17 Sep 2012 08:32:09 +0000 (10:32 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 17 Sep 2012 08:32:09 +0000 (10:32 +0200)
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 {