[Lxc-users] lxc.mount and mount.entry not working
Geordy Korte
gkorte at gmail.com
Thu Nov 25 13:59:38 UTC 2010
On Thu, Nov 25, 2010 at 2:52 PM, Serge Hallyn <serge.hallyn at canonical.com>wrote:
> Quoting Geordy Korte (gkorte at gmail.com):
> > This basically tells me that pivot_root is umounting the mount I just
> made.
> >
> > Can anyone help me with this??? I have also tried putting the mount
> inside
> > the fstab for the container but same problem.
>
> Have you entered the container to verify? I would have guessed that
> the unmounting is just a part of unmounting the *old* fs tree.
>
I checked and no files are to be found in /mnt2/1TB-Movies.
> You have /var/lib/lxc, under which is the container's rootfs, and the
> debug tells you that the original / is left under /var/lib/lxc/mnt.
> Meaning that after the pivot_root, you have '/' as the container's
> root (the old /var/lib/lxc), and '/mnt' containing the old '/'. Now
> lxc recursively unmounts /mnt. It's just a part of the pivot_root
> procedure. (see man 8 pivot_root)
>
Sorry but I do not understand what your are telling me.
--
==============
Geordy Korte
MSN geordy at geordy.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20101125/9948fe47/attachment.html>
More information about the lxc-users
mailing list