Hi Lorenzo, not out of the box. You will need to manually modify the DS drivers. You will need to modify: https://github.com/OpenNebula/one/blob/release-4.4/src/datastore_mad/remotes/fs/mkfs
And replace the 'dd' command with your own. I would probably do something like: https://gist.github.com/jmelis/7768171 (I haven't tested it, so it probably has bugs. You also need to write the actual command) Let me know if you need any further advice. Cheers, Jaime On Mon, Dec 2, 2013 at 6:29 PM, Lorenzo Faleschini < lorenzo.falesch...@nordestsystems.com> wrote: > Hi > > is it possible to create in sunstone (or via CLI) an empty-datablock qcow2 > with preallocation (-o preallocation=metadata). > > I need it to avoid the auto-grow overhead. > > for now I create the prealloc qcow2 image then I import it in one. > > is it posible to avoid this step? > any suggestions or alternatives? > > thanks > > Lorenzo > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the "To" and "cc" box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation.
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org