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><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 class="im">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 class="HOEnZb"><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>-- <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>