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(a)selfip.ru