<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <div class="moz-forward-container"> <br>
      Following my ideas about using ZFS (ZVol) instead of LVM for the
      volume (<a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="https://lists.launchpad.net/openstack/msg13009.html">https://lists.launchpad.net/openstack/msg13009.html</a>).
      I write a piece of code : in attachment or on <a
        moz-do-not-send="true"
href="https://github.com/nicolas2bonfils/cinder/blob/master/cinder/volume/driver_zvol.py">github/nicolas2bonfils</a>
      (for line comments or push request).<br>
      I write and test the code with <a moz-do-not-send="true"
        href="http://zfsonlinux.org/">ZFSOnLinux</a> and Debian sid.<br>
      <br>
      What it does :<br>
      <ul>
        <li>create ZVol instead of LVM,</li>
        <li>use ISCSI sharing from the existing cinder driver,</li>
        <li>use ZFS snapshot for the snapshot feature,</li>
        <li>is working for create/delete volume,</li>
        <li>can create/delete native ZFS snapshot (see below for the
          linked problem).</li>
      </ul>
      <br>
      What need to be improve :<br>
      <ul>
        <li>check if native ZFS snapshot can be use for volume snapshot
          (same use/meaning ?),</li>
        <li>when deleting a volume with snapshot (ZFS one), do we delete
          the derived snapshot or export them as independent volume.<br>
        </li>
      </ul>
      <br>
      What it does not (yet) :<br>
      <ul>
        <li>share with native ZFS ISCSI (due to ZFSOnLinux limitation)<br>
        </li>
      </ul>
      <br>
      Thanks for all your ideas, advice, ...<br>
      <br>
      --- Nicolas de Bonfils<br>
    </div>
  </body>
</html>