Thanks for your reply and advice. Create a volume from glance image or through “dd” and then attach to Instance do work. However, if we have not persistent-storage (Cinder) or cannot create volume because quota limit, there will no other method to do so?
---------- zhangleiqiang (Trump) Best Regards From: Martinx - ジェームズ [mailto:[email protected]] Sent: Friday, April 25, 2014 7:17 AM To: Zhangleiqiang (Trump) Cc: [email protected]; Luohao (brian) Subject: Re: [Openstack] [Nova] How to attach an ISO image in Glance to running instance Hi! You can attach a Cinder volume to a running instance... To make a Cinder volume looks like a ISO, I think you can do the following step at your "cinder-volume" node: dd if=/my/iso/file.iso of=/dev/cinder-volumes/LOGICAL_VOLUME_OF_CINDER Then, attach it to your instance... I'm not sure if it will work but, it worth trying it... Please, keep in mind that the above "dd" command will wipe out all data at your cinder-volume logical volume "LOGICAL_VOLUME_OF_CINDER"! Also, you can format (mkfs.ext4) your cinder-volume locally at its node, mount it, copy the ISO into it, umount and attach it to your instance... Best, Thiago On 23 April 2014 22:43, Zhangleiqiang (Trump) <[email protected]<mailto:[email protected]>> wrote: HI, all: I have an ISO image in Glance which contains some data, and I want to copy data to running instance. I find maybe the only way is first creating a volume from this image and then attach volume to the instance. I think it 's more or less not convenient. Can ISO image in Glance be attach to running instance directly? ---------- zhangleiqiang (Trump) Best Regards _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected]<mailto:[email protected]> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
