sheepdog volume and number of copies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi libvirt devs!
Sheepdog have ability to specify number of copies (full replica or
erasure) for each vdi when it created,
Now xml looks like:
<volume>
  <name>{VDI_NAME}</name>
  <key>sheep/{VDI_NAME}</key>
  <source></source>
  <allocation unit="G">{VDI_SIZE}</allocation>
  <capacity unit="G">{VDI_SIZE}</capacity>
  <target>
    <path>sheepdog:{VDI_NAME}</path>
    <format type='unknown'/>
    <permissions>
      <mode>00</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>
</volume>

in case of erasure we need to specify number of strips and number of
parity strips. In case of copies - number of copies. How the best
encode this in xml?
P.S. I van to create patch for libvirt to allow this, but stuck at xml
definition.

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@xxxxxxxxx

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]