[one-users] Set root disk size at runtime

Ricardo Duarte rjtd21 at hotmail.com
Mon Sep 24 04:01:26 PDT 2012


Hi there,

I had a look at cloud-init, and also other cloud softwares, and this is what they do:

- The images themselves are very small in size
- The size of the root disk is selected when launching a instance, and as so, it can be part of the service offering (ex.: small 8GB, medium 10GB, etc).
- The virtual disk is grown to the size selected when launching the instance. Partition size inside is kept.
- Cloud-init, inside the guest, resizes the partition on first boot, by using resize2fs. This is just a small command, so it could be done without cloud-init quite easily

Is this currently possible to do with existing OpenNebula functionality?

Thanks,
Ricardo
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120924/0fde872b/attachment.htm>


More information about the Users mailing list