Hi -

>From the command line, you can supply an image id along with the cinder create 
>command to create a volume from a image storage in glance.

eg, cinder create --image-id 25d00ddb-203a-4d50-93e3-103ab05bfbcd ......

Just be sure that your volume is big enough to hold the image!

For more options, just type 'cinder help create'.

--ryan
________________________________________
From: ZHOU TAO A <[email protected]>
Sent: Thursday, August 21, 2014 12:13 AM
To: [email protected]
Subject: [Openstack] How to download image to volume

Hi All,

I know cinder has a subcommand upload-to-image, which can upload volume
to image service, while I want to do the opposite--download image to
volume without recreating the volume. anyone knows how to do that?


Thanks

_______________________________________________
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

_______________________________________________
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

Reply via email to