Hi,<div><br></div><div>please send us the following information:</div><div><br></div><div>$ onedatastore show -x <lvm_datastore_id></div><div>$ oneimage show -x <image_id> (after creating the image and before deleting it)</div>


<div>$ cat /var/lib/one/remotes/datastore/lvm/lvm.conf</div><div><br></div><div>cheers,<br>Jaime</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 9:06 AM, 邹欣哲 <span dir="ltr"><<a href="mailto:zouxinzhe@gmail.com" target="_blank">zouxinzhe@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-size:10.5pt;font-family:宋体">Hi 
everyone,I have found several problems when I use LVM datastore on 
OpenNebula3.8. </span>
<div><span style="font-size:10.5pt;font-family:宋体">First,when I 
delete the image which is registed in the LVM datastore, OpenNebula doesn't 
remove the lv.</span></div>
<div><span style="font-size:10.5pt;font-family:宋体">Following is error 
record written in the oned.log:</span></div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ReM][D]: Req:3040 UID:0 ImageDelete 
result SUCCESS, 7</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG I 7 rm: 
Removing localhost:/dev/-/- from the image repository</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImM][I]: rm: Removing localhost:/dev/-/- 
from the image repository</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG E 7 rm: 
Command " sudo lvremove -f -/-" failed: lvremove: invalid option -- '/'</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImM][E]: rm: Command " sudo lvremove -f 
-/-" failed: lvremove: invalid option -- '/'</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG I 7 Error 
during parsing of command line.</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImM][I]: Error during parsing of command 
line.</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG E 7 Error 
removing localhost:/dev/-/-</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImM][E]: Error removing 
localhost:/dev/-/-</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG I 7 
ExitCode: 3</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImM][I]: ExitCode: 3</div>
<div dir="ltr">Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: RM FAILURE 7 
Error removing localhost:/dev/-/-</div>
<div style="margin-right:0px" dir="ltr">Mon Oct 29 00:30:57 2012 [ImM][E]: Error 
removing image from datastore. Manually remove image source - to completely 
delete the image: Error removing localhost:/dev/-/-</div>
<div dir="ltr"><strong><span style="font-size:10.5pt;font-family:Calibri"><span style="font-family:宋体;font-size:10.5pt;font-weight:normal">This problem has 
happened 3 times when I delete 6 images.</span></span></strong></div><div><br></div>Oscar<br><br><br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>