[openstack-dev] Why does nova mount FS for LXC container instead of libvirt?
dguryanov at parallels.com
Tue Dec 30 14:52:58 UTC 2014
On Tuesday 30 December 2014 17:18:19 Dmitry Guryanov wrote:
> 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='/'/>
> 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
You can define domain with such filesystem in rhel-6's libvirt, but container
will use host's root fs, probably there is a bug.
More information about the OpenStack-dev