In-Reply-To:
This is first draft, that supports vzstorage in storage pools.i
Virtuozzo Storage is a fault-tolerant distributed storage system, optimized
for virtualization workloads.
Vzstorage pool supports the same volume formats as directory, nfs, etc.
In terms of volume management - there is no difference between these pools.
You can find more information here:
https://openvz.org/Virtuozzo_Storage
XML:
<pool type='vz'>
<name>vz7_pool</name>
<uuid>b27a72b5-a92e-4e58-a172-a80ba73b30fe</uuid>
<capacity unit='bytes'>0</capacity>
<allocation unit='bytes'>0</allocation>
<available unit='bytes'>0</available>
<source>
<host name='127.0.0.2'/>
<device path='vz7-vzstorage'/>
<dir path='/pool1'/>
</source>
<target>
<path>/vz7-vzstorage</path>
</target>
</pool>
To compile libvirt with vz pool support use key --with-storage-vz
I need some help to resolve some problems:
- how to detect that pool is alredy mounted.
- when we show pool sources do we need to show folders that may reside on vzstorage
- I am not quite sure that we need host name in xml.
I will be glad to here your opinion.