Re: [Lxc-users] Container size minialisation

2011-12-17 Thread Derek Simkowiak
I have had good luck with ext4 on multi-terabyte systems the last 3 years or so. These systems run regular rsync (using rsnapshot) with no filesystem problems. I also have a ~30 TB system with xfs, no problems. (I switched to ext4 when I read benchmarks showing that it was on par with

Re: [Lxc-users] Container size minialisation

2011-12-16 Thread Matteo Bernardini
2011/12/16 Ulli Horlacher frams...@rus.uni-stuttgart.de: On Tue 2011-12-13 (18:43), Zhu Yanhai wrote: My concern is deploying Btrfs only for COW is a really heavy solution for this...Is Btrfs ready for production system? I have tested Btrfs with kernel 2.6.38: copying 30 GB with rsync

Re: [Lxc-users] Container size minialisation

2011-12-15 Thread Ulli Horlacher
On Tue 2011-12-13 (18:43), Zhu Yanhai wrote: My concern is deploying Btrfs only for COW is a really heavy solution for this...Is Btrfs ready for production system? I have tested Btrfs with kernel 2.6.38: copying 30 GB with rsync corrupted the file system completely and the kernel run into an

Re: [Lxc-users] Container size minialisation

2011-12-13 Thread Ivan Vilata i Balaguer
Zhu Yanhai (2011-12-13 12:00:20 +0800) wrote: On 12/12/2011 09:47 AM, István Király - LaKing wrote: As next step I would like to minimize container size. My question is, what the best, most elegant and fail proof  technique for that? It's not only an issue about disk space, it's about

Re: [Lxc-users] Container size minialisation

2011-12-13 Thread Zhu Yanhai
2011/12/13 Ivan Vilata i Balaguer i...@selidor.net: Zhu Yanhai (2011-12-13 12:00:20 +0800) wrote: On 12/12/2011 09:47 AM, István Király - LaKing wrote: As next step I would like to minimize container size. My question is, what the best, most elegant and fail proof  technique for that?

Re: [Lxc-users] Container size minialisation

2011-12-13 Thread Ivan Vilata i Balaguer
Zhu Yanhai (2011-12-13 18:43:41 +0800) wrote: 2011/12/13 Ivan Vilata i Balaguer i...@selidor.net: I've carried out some tests with union mount points and Btrfs seeds and CoW copies, and all of them seem to work without problems with LXC. Thank you Ivan. My concern is deploying Btrfs

[Lxc-users] Container size minialisation

2011-12-12 Thread István Király - LaKing
Hi folks. I'm trying to compose a system, where lxc containers behave like virtual hosts for a web server. As next step I would like to minimize container size. My question is, what the best, most elegant and fail proof  technique for that? At this moment I'm thinking of a master container

Re: [Lxc-users] Container size minialisation

2011-12-12 Thread Gordon Henderson
On Mon, 12 Dec 2011, István Király - LaKing wrote: Hi folks. I'm trying to compose a system, where lxc containers behave like virtual hosts for a web server. As next step I would like to minimize container size. My question is, what the best, most elegant and fail proof  technique for

Re: [Lxc-users] Container size minialisation

2011-12-12 Thread Derek Simkowiak
/I'm trying to compose a system, where lxc containers behave like virtual hosts for a web server./ It is possible to use shared, read-only mounts between the host and containers. However, you will need to carefully consider your security requirements and maintenance procedures. If

Re: [Lxc-users] Container size minialisation

2011-12-12 Thread Zhu Yanhai
2011/12/13 Zhu Yanhai zhu.yan...@gmail.com: Hi, 2011/12/13 Derek Simkowiak de...@simkowiak.net: I'm trying to compose a system, where lxc containers behave like virtual hosts for a web server.     It is possible to use shared, read-only mounts between the host and containers.  However, you