<div dir="ltr"><div class="gmail_default">I noticed that too, I wasn&#39;t sure if it was a bug or just how I had setup my NFS share..</div><div class="gmail_default"><br></div><div class="gmail_default">There were three steps I did to remove the disk images, I&#39;m sure there&#39;s a 100% easier solution..: </div>



<div class="gmail_default"><br></div><div class="gmail_default">I found the easiest way (graphically) was go to your <a href="https://ovirtengine/api/disks" target="_blank">https://ovirtengine/api/disks</a> and so a search for the illegal disk. Append the extra ID eg. <span style="font-size:13px;color:rgb(136,18,128);font-family:monospace">&lt;disk</span><span style="font-size:13px;color:rgb(136,18,128);font-family:monospace"> <span>href</span>=&quot;<span>/api/disks/lk342-dfsdf...</span></span><br>



</div><div class="gmail_default">into your URL this&#39;ll give you your image ID.<br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
<span style="font-family:arial">Go to your storage share:</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial">cd /data/storage-id/master/vms/storage-id</span></div>



<div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial">grep -ir &#39;vmname&#39; *</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif">You&#39;ll find the image-id reference here too.</div>


<div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Then the image you will want to remove is in the /data/storage-id/images/image-id</div>


<div class="gmail_default" style="font-family:tahoma,sans-serif">I assume you could safely remove this whole folder if you wanted to delete the disk.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">

<br>
</div><div class="gmail_default" style="font-family:tahoma,sans-serif">To remove the illegal state I did it through the API so again with the URL above <a href="https://ovirtengine/disks/disk-id" target="_blank">https://ovirtengine/disks/disk-id</a> send a DELETE using HTTP/CURL</div>


<div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Again, this was a poor mans solution but it worked for me.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">



<span style="font-family:arial"><br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial">On Thu, Sep 26, 2013 at 4:04 AM, Dan Ferris </span><span dir="ltr" style="font-family:arial">&lt;<a href="mailto:dferris@prometheusresearch.com" target="_blank">dferris@prometheusresearch.com</a>&gt;</span><span style="font-family:arial"> wrote:</span><br>



</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>




<br>
I have another hopefully simple question.<br>
<br>
One VM that I am trying to remove says that it&#39;s disk state is &quot;illegal&quot; and when I try to remove the disk it says that it failed to initiate the removing of the disk.<br>
<br>
Is there an easy way to get rid of these illegal disk images?<br>
<br>
Dan<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</blockquote></div><br></div></div>