On 18.05.2011 20:59, Serge Hallyn wrote: > Certainly not for loopback. Just make sure to create it as having > a big hole in the middle, something like > > dd if=/dev/zero of=/srv/container1.rootfs.img bs=1M skip=10000 count=1 > Cool, I didn't know I can use sparse files for that. Good to know, thanks!
> However, if the container fills a 1G file and then deletes it, that > space won't be freed. > > For LVM volumes, you can create one canonical container which takes > up the space, then create other containers as snapshots of it. The > snapshot containers won't take up space until the container starts > changing blocks. That's a very interesting idea. I think it should provide very good performance too, because a lot of data/ pages will be shared between the different containers, right? I'll try that one, thanks again! :) Corin ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users