<div>Another question.</div><div><br></div>If I start a ubuntu template lxc container tm1 and do "lxc-start-ephemeral  -o tm1", overlayfs mount will not include those ramfs (e.g. /proc, /sys, /run) in original container root directory, right ? Actually, I think this script run outside container tm1 and it even can't see those ramfs directories in original container.<div>
<br></div><div>Thanks</div><div>Jin <br><br><div class="gmail_quote">2012/6/5 Jin Chen <span dir="ltr"><<a href="mailto:ciccinocj@gmail.com" target="_blank">ciccinocj@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you, Stéphane. It seems that I need to talk with my lab members about which cow fs is more proper. <div><br></div><div>Wishes,<br>Jin</div><div><div><div class="h5"><br><div class="gmail_quote">2012/6/5 Stéphane Graber <span dir="ltr"><<a href="mailto:stgraber@ubuntu.com" target="_blank">stgraber@ubuntu.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 06/05/2012 04:01 PM, Jin Chen wrote:<br>
> Currently, I am trying to implement full container clone (with all<br>
> processes running in container). For performance, copy-on-write<br>
> filesystem will be a good choice. Does lxc container support fs like<br>
> unionfs-fuse? Any reply will be appreciated.<br>
><br>
> Thanks.<br>
> Jin<br>
<br>
</div>I don't think we explicitly tried unionfs, but both overlayfs and aufs<br>
work fine. Look at lxc-start-ephemeral in Ubuntu for a tool that already<br>
does that.<br>
<br>
Essentially you can do: lxc-start-ephemeral -o <base container><br>
which will spawn a new clone of "<base container>" with all changes<br>
stored on tmpfs using overlayfs/aufs.<br>
<span><font color="#888888"><br>
--<br>
Stéphane Graber<br>
Ubuntu developer<br>
<a href="http://www.ubuntu.com" target="_blank">http://www.ubuntu.com</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><div class="im">-- <br>陈进<div>电话:<span style="line-height:19px;font-size:13px;font-family:sans-serif"><a href="tel:%2B86-21-51355360" value="+862151355360" target="_blank">+86-21-51355360</a></span></div>
<div>
复旦大学并行处理研究所</div><div>上海浦东新区张衡路825号,软件楼320</div><div><br></div><div>Jin Chen</div><div>Phone: <span style="line-height:19px;font-size:13px;font-family:sans-serif"><a href="tel:510%20-%20375%203168" value="+15103753168" target="_blank">510 - 375 3168</a></span></div>

<div><div>Room 320, Software Building</div><div>No. 825, Zhangheng Road</div><div>Pudong District, Shanghai</div></div><br>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>陈进<div>电话:<span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">+86-21-51355360</span></div><div>复旦大学并行处理研究所</div>
<div>上海浦东新区张衡路825号,软件楼320</div><div><br></div><div>Jin Chen</div><div>Phone: <span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">510 - 375 3168</span></div><div><div>Room 320, Software Building</div>
<div>No. 825, Zhangheng Road</div><div>Pudong District, Shanghai</div></div><br>
</div>