[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt-users] lxc - pass filesystem off host's automounts



On Mon, Jun 10, 2019 at 12:28:02PM +0100, lejeczek wrote:
> hi guys
> 
> in my qutest I have this:
> 
> ...
> 
>     <filesystem type='mount' accessmode='passthrough'>
>       <source dir='/home'/>
>       <target dir='/home'/>
>     </filesystem>
> 
> ...
> 
> and on the host /home/* are user home dirs which are automounted off a
> glusterfs volume.
> 
> The guest starts okey, I can see dirs under /home but if I go to
> /home/userA I get:
> 
> ls: cannot access /home/userA/: Too many levels of symbolic links
> 
> Do you know if what I'm trying should just work a okey?

Unfortunately I don't believe the setup you describe can work.

When we passthrough /home it will be marked as a private mount
inside the container. This means that any child mounts within
it will *not* propagate into the container.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]