<div dir="ltr">All,<div><br></div><div>Thanks for the help. I&#39;m headed in the right direction I think. A couple more things. I&#39;m trying to create a domain, but am having trouble with the filesystems. I&#39;ve create an empty ploop volume using the following XML:</div><div><br></div><div><div>&lt;volume type=&#39;ploop&#39;&gt;</div><div>  &lt;name&gt;testploop&lt;/name&gt;</div><div>  &lt;allocation unit=&#39;MiB&#39;&gt;10240&lt;/allocation&gt;</div><div>  &lt;capacity unit=&#39;MiB&#39;&gt;10240&lt;/capacity&gt;</div><div>  &lt;target&gt;</div><div>    &lt;format type=&#39;ploop&#39;/&gt;</div><div>    &lt;path&gt;/vz/private/testploop&lt;/path&gt;</div><div>    &lt;capacity unit=&#39;MiB&#39;&gt;10240&lt;/capacity&gt;</div><div>  &lt;/target&gt;</div><div>&lt;/volume&gt;</div></div><div><br></div><div>This seems to have finished successfully, and it creates what I would expect to see. However, when I attempt to create a domain using virsh define and the following XML, I get an error about the filesystem type being unsupported:</div><div><br></div><div><div>&lt;domain type=&#39;vz&#39;&gt;</div><div>  &lt;name&gt;<a href="http://testing123.com">testing123.com</a>&lt;/name&gt;</div><div>  &lt;uuid&gt;5869cd3e-13fc-4e69-b99a-d37c020987b6&lt;/uuid&gt;</div><div>  &lt;memory unit=&#39;KiB&#39;&gt;1024000&lt;/memory&gt;</div><div>  &lt;currentMemory unit=&#39;KiB&#39;&gt;1024000&lt;/currentMemory&gt;</div><div>  &lt;vcpu placement=&#39;static&#39;&gt;1&lt;/vcpu&gt;</div><div>  &lt;os&gt;</div><div>    &lt;type arch=&#39;x86_64&#39;&gt;exe&lt;/type&gt;</div><div>    &lt;init&gt;/sbin/init&lt;/init&gt;</div><div>  &lt;/os&gt;</div><div>  &lt;clock offset=&#39;utc&#39;/&gt;</div><div>  &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;</div><div>  &lt;on_reboot&gt;restart&lt;/on_reboot&gt;</div><div>  &lt;on_crash&gt;destroy&lt;/on_crash&gt;</div><div>  &lt;devices&gt;</div><div>    &lt;filesystem type=&#39;template&#39;&gt;</div><div>        &lt;source name=&#39;centos-7-x86_64&#39;/&gt;</div><div>        &lt;target dir=&#39;/&#39;/&gt;</div><div>    &lt;/filesystem&gt;</div><div>    &lt;filesystem type=&#39;file&#39; accessmode=&#39;passthrough&#39;&gt;</div><div>      &lt;driver type=&#39;ploop&#39; format=&#39;ploop&#39;/&gt;</div><div>      &lt;source file=&#39;/vz/private/testploop&#39;/&gt;</div><div>      &lt;target dir=&#39;/&#39;/&gt;</div><div>    &lt;/filesystem&gt;</div><div>    &lt;interface type=&#39;bridge&#39;&gt;</div><div>      &lt;mac address=&#39;fa:16:3e:c6:5c:90&#39;/&gt;</div><div>      &lt;source bridge=&#39;ovsbr0&#39;/&gt;</div><div>      &lt;target dev=&#39;veth5869cd3e-13fc-4e69-b99a-d37c020987b6&#39;/&gt;</div><div>      &lt;link state=&#39;up&#39;/&gt;</div><div>    &lt;/interface&gt;</div><div>    &lt;input type=&#39;mouse&#39; bus=&#39;parallels&#39;/&gt;</div><div>    &lt;input type=&#39;keyboard&#39; bus=&#39;parallels&#39;/&gt;</div><div>    &lt;graphics type=&#39;vnc&#39; port=&#39;-1&#39; autoport=&#39;yes&#39; listen=&#39;1.2.3.4&#39;&gt;</div><div>      &lt;listen type=&#39;address&#39; address=&#39;1.2.3.4&#39;/&gt;</div><div>    &lt;/graphics&gt;</div><div>    &lt;video&gt;</div><div>      &lt;model type=&#39;parallels&#39; heads=&#39;1&#39;/&gt;</div><div>    &lt;/video&gt;</div><div>  &lt;/devices&gt;</div><div>&lt;/domain&gt;</div></div><div><br></div><div><br></div><div><br></div><div>How exactly does one specify the template to use for the ploop storage? Is this done during volume creation? After digging through the code it appears the vz driver doesnt support the &quot;template&quot; filesystem type, but the openvz driver does. Any thoughts? </div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 7:20 AM, Maxim Nestratov <span dir="ltr">&lt;<a href="mailto:mnestratov@virtuozzo.com" target="_blank">mnestratov@virtuozzo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">10-Aug-16 13:47, Sergey Bronnikov пишет:<div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 13:27 Wed 10 Aug , Sergey Bronnikov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, Frank<br>
<br>
On 09:43 Tue 09 Aug , Frank Laszlo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
1) Am I able to create containers using libvirt? (specifically from XML<br>
passed to virsh) What does this XML look like?<br>
</blockquote></blockquote>
BTW you can find XML example on the libvirt site -<br>
<a href="http://libvirt.org/drvvirtuozzo.html" rel="noreferrer" target="_blank">http://libvirt.org/drvvirtuozz<wbr>o.html</a><br>
<br>
Sergey<br>
</blockquote></div></div>
No, it is an example of VM xml, not CT one.<br>
Replied to the fist letter.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Frank Laszlo<br>Nexcess - Beyond Hosting<br>21700 Melrose Ave.<br>Southfield, MI. 48075<div>Cell: +1.248.602.6123<br>Phone: +1.866.639.2377<br>Fax:   +1.248.281.0473 </div></div></div>
</div></div>