
On Tue, 18 Feb 2014, Petros <Petros.Listig@fdrive.com.au> wrote:
I want to try Linux Containers (LVC 1.0 is out) and BTRFS (in a way I use FreeBSD and Jails and ZFS).
I want to use filesystem cloning (at the moment under FreeBSD "cd /usr/src; make buildworld; make distribution; zfs snapshot; zfs clone")
I also want to have a small but useful userland.. I am thinking of a "minimalist" Debian installation but other ideas are welcome too.
Do you have good advice to achieve this? (TW: I am not a huge Busybox fan, the tools always seem to miss the one option I want to use.. so, no scaled down tools, just a good set of "standard tools")
I do not know about the memory footstep and minimal requirements of BTRFS and ZFS under Linux, comments and advice is welcome as well.
ZFS manages kernel memory differently to every filesystem driver that was written for Linux. In my tests a lightly loaded Samba server with 4G of RAM regularly had problems with kernel OOM, I upgraded it to 12G of RAM because more RAM was cheaper for my client than paying me to figure out ZFS problems. BTRFS doesn't seem to have any real RAM issues on somewhat modern systems. I have a system with 512M of RAM that's running BTRFS with no problems at all. BTRFS support is included in kernels from most distributions, Debian/Unstable has kernels that work well and Oracle supported BTRFS last time I checked. ZFS isn't supported by anyone. BTRFS doesn't have any sort of RAID-5/6 support that's remotely usable. RAID- Z/Z2/Z3 works really well on ZFS. If you use a BTRFS root filesystem with systemd then you can't balance or scrub the filesystem because systemd journal file use triggers a BTRFS data corruption bug. But then root on ZFS is pretty much unusable on Linux anyway. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/