From 2570fb94e8987910fee222d1b6659ee9c8325c5a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 17 Sep 2012 10:32:09 +0200 Subject: [PATCH] nexenta: recursively delete all snapshots on vdisk_free --- PVE/Storage/NexentaPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm index 4f28c81..05be58f 100644 --- a/PVE/Storage/NexentaPlugin.pm +++ b/PVE/Storage/NexentaPlugin.pm @@ -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 {