diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm index c4795c4..72776e8 100644 --- a/src/PVE/Storage/ESXiPlugin.pm +++ b/src/PVE/Storage/ESXiPlugin.pm @@ -346,6 +346,10 @@ sub deactivate_storage { my ($class, $storeid, $scfg, $cache) = @_; $class->esxi_unmount($storeid, $scfg); + + my $rundir = run_path($storeid); + remove_tree($rundir); # best-effort, ignore errors for now + } sub activate_volume {