<div dir="ltr">Well this is embarrassing, I just tried on a clean `Ubuntu Precise` install and I was unable to reproduce the problem.<div><div><br></div><div>For now this can be considered resolved, as there must be something on my test box which is causing the problem, I'll report back once I've found the root cause.</div>
<div><br></div><div>Really sorry for wasting peoples time with this, in hindsight I should have checked on a clean install first, rookie mistake.</div><div><br></div><div>Thank you to everyone for the feedback/advice, really appreciate it.</div>
<div><br></div><div>Cal</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 7:20 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"><div class="im">Quoting Cal Leeming [Simplicity Media Ltd] (<a href="mailto:cal.leeming@simplicitymedialtd.co.uk">cal.leeming@simplicitymedialtd.co.uk</a>):<br>
> On Fri, Dec 13, 2013 at 9:46 AM, Jinn Ko <<a href="mailto:lxc-users@mx.ixido.net">lxc-users@mx.ixido.net</a>> wrote:<br>
><br>
> > When you run 'lsof | grep /tmp/lol/disk2.img' does that say '(deleted)'<br>
> > next to it? If so, it should also identify the process id holding the file<br>
> > handle open, which is preventing the release of the space.<br>
> ><br>
><br>
> No, there is no entry in lsof for that file.<br>
><br>
> It also doesn't seem to show any entry even when lxc-start is running. I'm<br>
> thinking perhaps it doesn't show up in here because it's a kernel module<br>
> maybe, but my knowledge on that isn't great.<br>
><br>
><br>
> ><br>
> > From the log output it looks like the failure to mount /proc inside your<br>
> > container causes a failure, so I haven't understood how it is that<br>
> > lxc-execute works. Therefore I'm wondering if the failure handling is<br>
> > missing the logic to release the mounted image. I'm curious to know if the<br>
> > space is released when /proc is properly mounted and the container comes up<br>
> > cleanly.<br>
> ><br>
><br>
> Sadly I'm still able to reproduce this problem when the container comes up<br>
> cleanly.<br>
><br>
> Scenario here;<br>
> <a href="http://pastebin.com/VB2iRQ6z" target="_blank">http://pastebin.com/VB2iRQ6z</a><br>
<br>
</div>I tried to reproduce this on trusty (3.12 kernel) but the file went away<br>
fine for me.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>