[pve-devel] applied: [PATCH storage 01/11] Remove pool with -f parameter.

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 14 11:31:41 CET 2018


applied

would maybe also make sense to trap SIG{INT,TERM,QUIT} and
call the cleanup function there too, just as a general side note.

On 03/13/2018 03:11 PM, Wolfgang Link wrote:
> The test pool will not removed if we do not force it.
> ---
>  test/run_test_zfspoolplugin.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/run_test_zfspoolplugin.pl b/test/run_test_zfspoolplugin.pl
> index bda8348..f6218b1 100755
> --- a/test/run_test_zfspoolplugin.pl
> +++ b/test/run_test_zfspoolplugin.pl
> @@ -2643,7 +2643,7 @@ sub setup_zpool {
>  sub clean_up_zpool {
>  
>      eval {
> -	run_command("zpool destroy $subvol");
> +	run_command("zpool destroy -f $subvol");
>      };
>      if ($@) {
>  	warn $@;}
> 





More information about the pve-devel mailing list