<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>This all is good news. And I think this will solve my problem of a bit slow (a few minutes) of deploying a VM, that is cloning is really time consuming.</p>
<p>Although I really like this RBD format 2, I'm not quite adept yet on how to implement it in nebula. And my ceph version is dumpling 0.67, does it support rbd format 2?</p>
<p> If you have any docs, I'd greatly appreciate it. Or rather I'm willing to wait a little longer, maybe on the next release of nebula(?), to make rbd format 2 to be the default format?</p>
<div>---<br />
<pre><span style="font-size: small; font-family: verdana,geneva;"><span style="font-size: x-small; font-family: helvetica; color: #000000;">Thanks,
Kenneth</span><br /><span style="font-size: x-small; font-family: helvetica; color: #000000;">Apollo Global Corp.</span><br /></span></pre>
</div>
<p>On 12/12/2013 09:48 PM, Campbell, Bill wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div style="font-family: trebuchet ms,sans-serif; font-size: 10pt; color: #000000;">
<div>Ceph's RBD Format 2 images support the copy-on-write clones/snapshots for quick provisioning, where essentially the following happens:</div>
<div> </div>
<div>Snapshot of Image created --> Snapshot protected from deletion --> Clone image created from snapshot</div>
<div> </div>
<div>The protected snapshot acts as a base image for the clone, where only the additional data is stored in the clone.  See more here:  <a href="http://ceph.com/docs/master/rbd/rbd-snapshot/#layering">http://ceph.com/docs/master/rbd/rbd-snapshot/#layering</a></div>
<div> </div>
<div> </div>
<div>For our environment here I have modified the included datastore/tm drivers for Ceph to take advantage of these format 2 images/layering for Non-Persistent images.  It works rather well, and all image functions work appropriately for non-persistent images (save as, etc.).  One note/requirement is to be using a newer Ceph release (recommend Dumpling or newer) and newer versions of QEMU/Libvirt (there were some bugs in older releases, but the versions from Ubuntu Cloud Archive for 12.04 work fine).   I did submit them for improvement prior to the 4.0 release, but the simple format 1 images are the default currently for OpenNebula.</div>
<div> </div>
<div>I think this would be a good question for the developers.  Would creating the option for Format 2 images (either in the image template as a parameter or on the Datastore as a configuration attribute) and then developing the DS/TM drivers further to accommodate this option be worth the effort?  I can see use cases for both (separate images vs. cloned images having to rely on the base image), but cloned images are WAY faster to deploy.  </div>
<div> </div>
<div>I have the basic code for format 2 images, I think the logic for looking up the parameter/attribute and then applying appropriate action should be rather simple.  Could collaborate/share if you'd like.</div>
<div> </div>
<hr id="zwchr" />
<div style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><strong>From: </strong>"Kenneth" <kenneth@apolloglobal.net><br /><strong>To: </strong>users@lists.opennebula.org<br /><strong>Sent: </strong>Thursday, December 12, 2013 6:11:15 AM<br /><strong>Subject: </strong>Re: [one-users] Ceph and thin provision<br />
<div> </div>
<p>Yes, that is possible. But as I said, all my images were all preallocated as I haven't created any image from sunstone.</p>
<p> </p>
<div>---<br />
<pre><span style="font-size: small; font-family: verdana,geneva;"><span style="font-size: x-small; font-family: helvetica; color: #000000;">Thanks,
Kenneth</span><br /><span style="font-size: x-small; font-family: helvetica; color: #000000;">Apollo Global Corp.</span><br /></span></pre>
</div>
<p>On 12/12/2013 06:25 PM, Michael wrote:</p>
<blockquote style="padding-left: 5px; border-left: #1010ff  2px  solid; margin-left: 5px; width: 100%;">
<pre>This doesn't appear to be the case, I've 2TB of images on Ceph and 380GB 
data reported by Ceph (760G after replication). All of these Ceph images 
were created through the Opennebula Sunstone template GUI.

-Michael

On 12/12/2013 09:11, Kenneth wrote:</pre>
<blockquote style="padding-left: 5px; border-left: #1010ff  2px  solid; margin-left: 5px; width: 100%;">I haven't tried creating a thin or thick provision in ceph rbd from scratch. So basically, I can say that a 100GB disk will consume 100GB RBD in ceph (of course it will be 200GB in ceph storage since ceph duplicates the disks by default).</blockquote>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br />_______________________________________________<br />Users mailing list<br />Users@lists.opennebula.org<br />http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</div>
<div> </div>
</div>
<br /><strong>NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.</strong> </blockquote>
</body></html>