I've been playing with boot from volume for a bit. You can use it from the 'euca-run-instances', use the '-b, --block-device-mapping' option to specify the volume (or snapshot) e.g.<br>#euca-run-instances -b /dev/sda=vol-0000000f -b /dev/sdb=vol-0000000c ami-00000015 -t m1.tiny --kernel aki-00000014 --ramdisk ari-00000013<br>
<br>I recently added the functionality in novaclient to boot from volume (or snapshot) using the OS API. The changes are still pending review. But you can pull from my public repository to get the changes:<br><a href="https://github.com/rackspace/python-novaclient/">https://github.com/rackspace/python-novaclient/</a><br>
<br>The usage is:<br>root@server9-clone:~/openstack/creds/novaadmin# nova boot ---help<br>usage: nova boot [--flavor <flavor>] [--image <image>] [--meta <key=value>]<br>                 [--file <dst-path=src-path>] [--key_path [<key_path>]]<br>
                 [--key_name <key_name>] [--user_data <user-data>]<br>                 [--availability_zone <availability-zone>]<br>                 [--security_groups <security_groups>]<br>                 [--block_device_mapping <dev_name=mapping>]<br>
                 <name><br>
<br>The format of mapping is:<br>
<dev_name=<id>:<type>:<size(GB)>:<delete_on_terminate><br>
<br>e..g<br>nova boot --flavor 1 --image 50 --block_device_mapping /dev/vda=10:snap:10:True<br><br>Hope it helps!<br><br><div class="gmail_quote">On Thu, Nov 3, 2011 at 2:00 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com">vishvananda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Passing this on to the main openstack list because I'm not sure that the boot from volume athours and users are on this mailing list.<br>
<div><div><div class="h5"><div>On Nov 3, 2011, at 1:35 PM, Renuka Apte wrote:</div><br></div></div><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div link="blue" vlink="purple" lang="EN-US">
<div><div class="h5"><div><div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif">Hello,<u></u><u></u></div><div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif">
<u></u> <u></u></div><div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif">What is the current state of “boot from volume”? Is there any documentation about how it works, design etc. Who is the best point of contact for more information?<u></u><u></u></div>
<div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif"><u></u> <u></u></div><div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif">
Is anyone in the community currently using this feature?<u></u><u></u></div><div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif"><u></u> <u></u></div>
<div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif">Thanks,<u></u><u></u></div><div style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif">
Renuka.<u></u><u></u></div></div></div></div><span class="HOEnZb"><font color="#888888">--<span> </span><br>Mailing list:<span> </span><a href="https://launchpad.net/%7Eopenstack-volume" style="color:blue;text-decoration:underline" target="_blank">https://launchpad.net/~openstack-volume</a><br>
Post to     :<span> </span><a href="mailto:openstack-volume@lists.launchpad.net" style="color:blue;text-decoration:underline" target="_blank">openstack-volume@lists.launchpad.net</a><br>Unsubscribe :<span> </span><a href="https://launchpad.net/%7Eopenstack-volume" style="color:blue;text-decoration:underline" target="_blank">https://launchpad.net/~openstack-volume</a><br>
More help   :<span> </span><a href="https://help.launchpad.net/ListHelp" style="color:blue;text-decoration:underline" target="_blank">https://help.launchpad.net/ListHelp</a><br></font></span></div></span></blockquote></div>
<br></div><br>--<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack-volume" target="_blank">https://launchpad.net/~openstack-volume</a><br>
Post to     : <a href="mailto:openstack-volume@lists.launchpad.net">openstack-volume@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack-volume" target="_blank">https://launchpad.net/~openstack-volume</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br>