On 11/02/2010 12:51 AM, Pierre-François Bonnefoi wrote:
> hello,
>
> I've encountered a new problem :
> I would like to decrease the disk usage of my container by sharing some big 
> directories.
> When I try to share the /lib directory between my host under Ubuntu 10.04 
> with my guest under Ubuntu 10.0.4, I've got the problem that the file 
> /lib/init/fstab from the host is shared with the container and create some 
> panic with some not needed mounts.
>    

Do you mean a kernel panic ?

> I've try to define a /etc/fstab but I can't prevent the guest system to 
> analyze the /lib/init/fstab file.
> (And I don't want to modify my host Ubuntu...).
>
> How could I perform this ?
>    
You can bind mount a private file on /lib/init/fstab within the 
container with the configuration line:

lxc.mount.entry="privatefstab /lib/init/fstab none bind 0 0" /bin/bash

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to