3 ms·
Huh, well that's interesting news. I'm currently setting up a couple servers using LXC with btrfs. I ending up choosing LXC (as opposed to LXD, docker, rkt, e
by ansible 11y ago
Huh, well that's interesting news.
I'm currently setting up a couple servers using LXC with btrfs.
I ending up choosing LXC (as opposed to LXD, docker, rkt, etc.) because I wanted something relatively straight-forward. I just wanted some containers I could create, log in to and configure.
If this was a bigger deployment, I'd take the time to use docker or something else. But for now, just being able to get going quickly is nice. For backup / failover, I can btrfs send / receive the containers to another host and start them there.
- baldfat 11y agoBTRFS uses less memory so I prefer BTRFS to ZFS for containers.
- ryao 11y agoHow did you determine that? The two should use about the same amount of memory. The only diffence is that ZFS uses ARC and btrfs uses the page cache. ARC is not reported the same way as the page cache though, which might give the appearance of requiring more.
- stubish 11y agoYeah, thats all fine and good. Nothing to announce with lxc/lxd + btrfs because it already works fine :) I do like the wizard to easily setup the zfs backend, rather than you needing to manually replace /var/lib/lxc with a btrfs partition or however you are doing it. I've been using lxc + btrfs daily for quite a while, setting up and tearing down hundreds of containers on a busy day. I stopped using lxc snapshots after I had a btfs subvolume that would crash the system when I mounted it. After that, no problems.
- ansible 11y agoI stopped using lxc snapshots after I had a btfs subvolume that would crash the system when I mounted it. After that, no problems. That's unfortunate. What operating system version were you using at the time? I've actually switched to using Ubuntu 15.10 for the container hosts so that I can get a more recent version of the btrfs tools. The intention is to upgrade to 16.04 as soon as is reasonable, and leave them there for a long time.