Am 19.09.14 15:05, schrieb Carlos Martín Sánchez: > Hi, > > Do you have any related messages in /var/log/one/oned.log? The image may be > in the error state if a VM failed, to let you know that the contents may be > corrupted. Its state can be changed again to ready with the 'oneimage > enable' command.
I had no specific errors in oned.log. But i guess you're right about a failed VM causing this situation. 'oneimage enable' solved the problem. Didn't know the command existed. thanks and regards t. > Regards > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | [email protected] | @OpenNebula > <http://twitter.com/opennebula> <[email protected]> > > On Fri, Sep 19, 2014 at 10:58 AM, Thomas Stein <[email protected]> > wrote: > >> Hello. >> >> I have an image with state error. It's a qcow2 image and qemu-img check >> shows no errors. How can i find out what the problem is? >> >> oneadmin@one-frontend ~ $ oneimage show 18 >> IMAGE 18 INFORMATION >> >> ID : 18 >> NAME : my_gentoo_3.10.54 >> USER : customer1 >> GROUP : users >> DATASTORE : default >> TYPE : OS >> REGISTER TIME : 09/15 20:33:51 >> PERSISTENT : No >> SOURCE : >> /var/lib/one//datastores/1/dab298b8624da9580e02be69be31dc00 >> FSTYPE : save_as >> SIZE : 30G >> STATE : err >> RUNNING_VMS : 0 >> >> PERMISSIONS >> >> OWNER : um- >> GROUP : --- >> OTHER : --- >> >> IMAGE TEMPLATE >> >> DEV_PREFIX="vd" >> DRIVER="qcow2" >> SAVED_DISK_ID="0" >> SAVED_IMAGE_ID="17" >> SAVED_VM_ID="37" >> SAVE_AS="YES" >> SAVE_AS_HOT="YES" >> >> VIRTUAL MACHINES >> >> oneadmin@one-frontend ~ $ >> >> oneadmin@one-frontend ~ $ qemu-img check >> /var/lib/one//datastores/1/dab298b8624da9580e02be69be31dc00 >> No errors were found on the image. >> 87113/491520 = 17.72% allocated, 1.19% fragmented, 0.00% compressed >> clusters >> Image end offset: 5711265792 >> oneadmin@one-frontend ~ $ >> >> Thanks for your help. >> >> best regards >> t. >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
