<div dir="ltr">Yes, i setup the mountpoints in advance. I actually didnt know about the rootfs trick ( TIL ) :D</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 12, 2014 at 10:49 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, I see. I thought you were using something like<br>
<br>
lxc.rootfs = aufs:/var/lib/lxc/container-name/rootfs:/var/lib/lxc/container-name/delta<br>
<br>
in the container configuration to have lxc do the aufs mount, rather<br>
than setting the aufs mounts up in advance.<br>
<div class=""><br>
Quoting Daniel, Dao Quang Minh (<a href="mailto:dqminh89@gmail.com">dqminh89@gmail.com</a>):<br>
> Hmm, those entries appear on the host’s /proc/self/mountinfo. I guess it’s because we union-mounts on /disk1/container-name and bind mount that to /var/lib/lxc/container-name ?<br>
><br>
> Here are the entries for `/proc/self/mountinfo` in the container:<br>
><br>
> 1470 43 0:32 /rootfs / rw,relatime - aufs none rw,si=cbd79e20de63b17e<br>
> 1471 1470 0:33 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw<br>
> 1472 1470 0:39 / /sys rw,relatime - sysfs sysfs rw<br>
> 1473 1472 0:18 / /sys/fs/fuse/connections rw,relatime - fusectl none rw<br>
> 1474 1472 0:6 / /sys/kernel/debug rw,relatime - debugfs none rw<br>
> 1475 1472 0:10 / /sys/kernel/security rw,relatime - securityfs none rw<br>
> 1476 1470 0:12 /10 /dev/lxc/console rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000<br>
> 1477 1470 0:12 /5 /dev/lxc/tty1 rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000<br>
> 1478 1470 0:12 /6 /dev/lxc/tty2 rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000<br>
> 1479 1470 0:12 /7 /dev/lxc/tty3 rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000<br>
> 1480 1470 0:12 /8 /dev/lxc/tty4 rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000<br>
> 44 1470 0:40 / /dev/pts rw,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=666<br>
> 50 1470 0:40 /ptmx /dev/ptmx rw,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=666<br>
> 51 1470 0:41 / /run rw,nosuid,noexec,relatime - tmpfs none rw,size=1755388k,mode=755<br>
> 52 51 0:447 / /run/lock rw,nosuid,nodev,noexec,relatime - tmpfs none rw,size=5120k<br>
> 69 51 0:1087 / /run/shm rw,nosuid,nodev,relatime - tmpfs none rw<br>
><br>
><br>
><br>
> On Wednesday, 12 March, 2014 at 10:32 pm, Serge Hallyn wrote:<br>
><br>
</div><div class="">> > Quoting Dao Quang Minh (<a href="mailto:dqminh89@gmail.com">dqminh89@gmail.com</a> (mailto:<a href="mailto:dqminh89@gmail.com">dqminh89@gmail.com</a>)):<br>
> > > We havent tested without the bind mounts ( but we can probably try it asap<br>
> > > ). We migrated to 1.0.0 from 0.7.5 about a week ago, and this is the first<br>
> > > time i've seen this bug.<br>
> > ><br>
> > > `grep shared /proc/self/mountinfo` doesnt show anything, but<br>
> > > `/proc/self/mountinfo` does display 2 entries per physical container ( i<br>
> > > guess because of the bind mounts ):<br>
> > ><br>
> > > ```<br>
> > > 1766 39 0:764 / /disk1/container-name rw,relatime - aufs none<br>
> > > rw,si=70f12540eaf98716<br>
> > > 1768 38 0:764 / /var/lib/lxc/container-name rw,relatime - aufs none<br>
> > > rw,si=70f12540eaf98716<br>
> > ><br>
> ><br>
> ><br>
> > Uh, these show up in the container, right? They should not show up on<br>
> > the host.<br>
> ><br>
> > -serge<br>
> > _______________________________________________<br>
> > lxc-users mailing list<br>
</div>> > <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a> (mailto:<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>)<br>
> > <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<div class="HOEnZb"><div class="h5">> ><br>
> ><br>
><br>
><br>
<br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div></div></blockquote></div><br></div>