<div class="gmail_quote">On Thu, Nov 25, 2010 at 2:52 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@canonical.com">serge.hallyn@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Quoting Geordy Korte (<a href="mailto:gkorte@gmail.com">gkorte@gmail.com</a>):<br>
> This basically tells me that pivot_root is umounting the mount I just made.<br>
><br>
> Can anyone help me with this??? I have also tried putting the mount inside<br>
> the fstab for the container but same problem.<br>
<br>
</div>Have you entered the container to verify?  I would have guessed that<br>
the unmounting is just a part of unmounting the *old* fs tree.<br></blockquote><div><br>I checked and no files are to be found in /mnt2/1TB-Movies.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

You have /var/lib/lxc, under which is the container's rootfs, and the<br>
debug tells you that the original / is left under /var/lib/lxc/mnt.<br>
Meaning that after the pivot_root, you have '/' as the container's<br>
root (the old /var/lib/lxc), and '/mnt' containing the old '/'.  Now<br>
lxc recursively unmounts /mnt.  It's just a part of the pivot_root<br>
procedure.  (see man 8 pivot_root)<br>
</blockquote></div><br>Sorry but I do not understand what your are telling me.<br><br clear="all"><br>-- <br>==============<br>Geordy Korte<br>MSN <a href="mailto:geordy@geordy.nl">geordy@geordy.nl</a><br>