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

Dmitry Guryanov dguryanov at parallels.com
Tue Dec 30 16:53:21 UTC 2014


On Tuesday 30 December 2014 17:18:19 Dmitry Guryanov wrote:
> 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?

Sorry, forgot to add [Nova] prefix in the first message.


-- 
Dmitry Guryanov



More information about the OpenStack-dev mailing list