<html><head>

<style type="text/css"><!--#x2270d26f1fa34d6 blockquote.cite2
{margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right: 0px; border-left: 1px solid rgb(204, 204, 204); margin-top: 3px; padding-top: 0px;}
#x2270d26f1fa34d6
{font-family: "Segoe UI"; font-size: 11pt;}
--></style><style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] {  list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 11pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
--></style>
</head>
<body><div>I think I fixed it. Sorry. I went into Cockpit and saw it there.</div>
<div style="clear:both"><br /></div>
<div><br /></div>
<div>
<div>------ Original Message ------</div>
<div>From "Joshua Blake" <<a href="mailto:maddogmcree2@gmail.com">maddogmcree2@gmail.com</a>></div>
<div>To <a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a></div>
<div>Date 29/09/2023 10:40:26</div>
<div>Subject Issue accidentally creating a '--type' defined pool</div></div><div><br /></div>
<div id="x2270d26f1fa34d6"><blockquote cite="emf958318c-c848-4879-af58-7094cffceb8b@077ff343.com" type="cite" class="cite2">
<div>Hello,</div><div><br /></div><div>I seem to have accidentally created a pool called "--type", but it doesn't appear in 'virsh pool-list'. See below.</div><div><br /></div><div>[root@vh01 /]# virsh pool-define-as --name --type dir --target /data/storage/
</div><div>Pool --type defined</div><div><br /></div><div>[root@vh01 /]# virsh pool-list
</div><div> Name     State    Autostart
</div><div>------------------------------
</div><div> isos     active   yes
</div><div> jblake   active   yes</div>
<div><br /></div><div id="signature_old" style="clear:both"></div><div>[root@vh01 /]# virsh pool-destroy '--type'
</div><div>error: command 'pool-destroy' doesn't support option --type</div><div><br /></div><div>I can't also create a new "default" type because the directory exists for this defined '--type'</div><div><br /></div><div>[root@vh01 /]# virsh pool-define-as --name default --type dir --target /data/storage/
</div><div>error: Failed to define pool default
</div><div>error: operation failed: Storage source conflict with pool: '--type'</div><div><br /></div><div>[root@vh01 /]# virsh pool-delete "--type"
</div><div>error: command 'pool-delete' doesn't support option --type</div><div><br /></div><div>Any help would be greatly appreciated.</div>
</blockquote></div>
</body></html>