On 9/29/23 11:40, Joshua Blake wrote:
> Hello,
> 
> I seem to have accidentally created a pool called "--type", but it
> doesn't appear in 'virsh pool-list'. See below.
> 
> [root@vh01 /]# virsh pool-define-as --name --type dir --target
> /data/storage/
> Pool --type defined
> 
> [root@vh01 /]# virsh pool-list
>  Name     State    Autostart
> ------------------------------
>  isos     active   yes
>  jblake   active   yes
> 
> [root@vh01 /]# virsh pool-destroy '--type'
> error: command 'pool-destroy' doesn't support option --type

You may want to use:

virsh pool-destroy --pool --type


Michal

Reply via email to