[libvirt] overlayfs support to lxc driver

Vasiliy Tolstov v.tolstov at selfip.ru
Mon Mar 2 15:45:18 UTC 2015


2015-03-02 18:22 GMT+03:00 Vasiliy Tolstov <v.tolstov at selfip.ru>:
> So as i understand i need to add overlayfs like
> virStorageBackendFileSystem for example virStorageBackendOvlFileSystem
> but i don't understand how can this pool be used in case of many containers.
> May be i misunderstand something?


Or you mean to add .conf/storage_conf.c overlay type fs and add logic
to processing this. And for such pools i can create xml like:
<pool type="fs">
  <name>overlay</name>
  <source>
    <dir path="/var/lib/libvirt/filesystem"/>
    <format type='overlay'/>
  </source>
  <target>
    <path>/var/lib/libvirt/overlay</path>
  </target>
</pool>


-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru




More information about the libvir-list mailing list