Hi Khoa<div>As already stated by Carlos, the save state is an intermediate state in which the running VM image is saved to the disk. This might take a little time and in the the mean time, the VM state is save (means it is saving the image so that it can be resumed from the state at which it was stopped). You cannot perform resume  at save (saving...)  state. It will always give an error. Once the VMs image is saved completely, the state changes to stop (means the VM is stopped). You can only resume a VM from a stopped or suspended state. So if you are not getting to 'stop' state, please check your vm.log file for any error. You can find the log file in /var/log/<VMID>/vm.log. Do post back the logs in case you find it cryptic !!!</div>
<div><br></div><div>Regards,</div><div>Prakhar<br><br><div class="gmail_quote">2011/4/8 Khoa Nguyen <span dir="ltr"><<a href="mailto:vankhoa011@gmail.com">vankhoa011@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Carlos Martín Sánchez<br><br>When the VM is in save status, How to change from saving  to running status?<br>I try to enable VM , but it display Erros: wrong state. <br>I can't solve problem.<div><div></div><div class="h5">
<br><br><br><br><div class="gmail_quote">
2011/4/5 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi there,<br><br>If you take a look at the Virtual Machine Life-cycle diagram [1], the 'save' state is a intermediate state, and the VM should end in either the 'suspended' or 'stopped' state. If the VM is stuck in 'save', you may find some error messages in oned.log or the VM's log (in <vm-id>/vm.log).<br>




<br>About #2, it may be a monitorization problem. Can you check using virsh or xentop the actual memory consumption?<br><br>Best regards,<br>Carlos.<br><br>[1] <a href="http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle" target="_blank">http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle</a><br>




<br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial,sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34)">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>




<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34)">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34)">opennebula</span>.org</a></span><br>





<br><br><div class="gmail_quote"><div><div></div><div>On 17 March 2011 05:01, Khoa Nguyen <span dir="ltr"><<a href="mailto:vankhoa011@gmail.com" target="_blank">vankhoa011@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>

I have two question but I can't explain .<br>1.When i suspend or stop a VM, It changes to save status. Unfortunaly,I want to resume or restart  VM to changing running status , It display "Error: Wrong state to perform action". I don't know why. Is OpenNebula wrong??<br>





<br>2. Status's VM is ruunig but MEMORY = 0. <br><br>Anyone know? Please help me.<br><br> <br>oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm list<br>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME<br>





   39 oneadmin ttylinux runn   0     <b> 0K</b>   172.29.70.137 00 00:05:05<br>oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm suspend 39<br>oneadmin1@oneadmin-desktop:/home/oneadmin$ onevm list<br>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME<br>





   39 oneadmin ttylinux save   0     <b> 0K</b>   172.29.70.137 00 00:05:21<br>oneadmin1@oneadmin-desktop:/home/oneadmin$ <b>onevm resume 39<br>Error: Wrong state to perform action</b><br>oneadmin1@oneadmin-desktop:/home/oneadmin$ <b>onevm restart 39<br>





Error: Wrong state to perform action</b><br><br>Thank you for advance.<br clear="all"><br>,-- <br>Nguyễn Vũ Văn Khoa<br>Đại học Khoa Học Tự Nhiên TP HCM<br><br><br>
<br></div></div>_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br>Nguyễn Vũ Văn Khoa<br>Đại học Khoa Học Tự Nhiên TP HCM<br><br><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>