[one-users] image/transfer for qcow2 and multiple datastore
Chris Johnston
chjohnston at rim.com
Fri Mar 2 07:52:30 PST 2012
Hi all,
Just an FYI we've dropped some code into the development portal that you might find useful with 3.0 installations...
http://dev.opennebula.org/issues/1154
Cut/paste from the issue...
The attached qcow2+mds.tar.gz provides image/transfer drivers for qcow2 and multiple datastore. The primary purpose for these drivers was to provide qcow2 thin cloning and multiple datastore support. For our use cases the drivers work perfectly with 3.0.
These drivers change datastore pathing (see attached image). On the frontend, datastores are mounted under /srv/datastore/${GNAME} where GNAME is the same as VDC. On hosts, its assumed a host belongs to a single VDC, the specific datastore is mounted as /srv/vm.
The image driver (mds) supports both url and file based images and will place images into the appropriate datastore. Note the mkfs script has never been implemented and will simply log and exit.
The transfer manager (qcow2) thin cloning reduces VM provisioning to seconds and saves significant storage. Any 'saveas' operations converts the thin clone back to a full image before copying back into the image repository. Persistent VMs, just like the nfs/shared transfer manager, is a symlink. Portions of the driver borrow from the ssh driver.
Chris
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
More information about the Users
mailing list