[openstack-dev] Why nova mounts FS for LXC container instead of libvirt?

Dmitry Guryanov dguryanov at parallels.com
Tue Dec 30 14:18:19 UTC 2014


Hello,

Libvirt can create loop or nbd device for LXC container and mount it by 
itself, for instance, you can add something like this to xml config:

<filesystem type='file'>
  <driver type='loop' format='raw'/>
  <source file='/fedora-20-raw'/>
  <target dir='/'/>
</filesystem>

But nova mounts filesystem for container by itself. Is this because rhel-6 
doesn't support filesystems with type='file' or there are some other reasons?

-- 
Dmitry Guryanov



More information about the OpenStack-dev mailing list