Re: [lxc-users] Strange freezes with btrfs backend
On Sat, Dec 3, 2016 at 12:05 PM, Ingo Baab wrote: > Hi Sergiusz, > > I am using a vm running ubuntu 16.04 with ~6GB Ram utilizing ZFS as > loopback running multiple containers > (multiple wordpress containers and one mailserver container.. What do you > suggest as minimum Ram > requirement for using ZFS? It has many factors, how many containers, how busy PHP is, if you use compression, etc. 6GB is enough for a simple ZFS based server. Run 'htop' and monitor the usage. S. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Strange freezes with btrfs backend
Hi Sergiusz, I am using a vm running ubuntu 16.04 with ~6GB Ram utilizing ZFS as loopback running multiple containers (multiple wordpress containers and one mailserver container.. What do you suggest as minimum Ram requirement for using ZFS? Thank you Ingo Am 03.12.2016 um 05:49 schrieb Sergiusz Pawlowicz: With 1GB of memory is is not recommended to use ZFS not BTRFS, especially via a disk image file. Just forget about it. S. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Strange freezes with btrfs backend
With 1GB of memory is is not recommended to use ZFS not BTRFS, especially via a disk image file. Just forget about it. S. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
[lxc-users] Strange freezes with btrfs backend
Hi all, I'm running LXD on a Ubuntu 16.04 VPS with ~1GB RAM. My setup uses a disk image file, running on the default ext4 base filesystem, as the btrfs backend. The server runs four containers, of which only one is on the high side of lightly loaded. I'm getting random freezes such that all containers err, although the host OS continues running. When I reboot, the server gets stuck at the boot prompt requiring a manual fsck to get going. Anyone seeing this? Should I switch to ZFS? Is it sensible to run ZFS on a 1GB RAM VPS? Realistically, I'll be using ZFS in the same manner - via a disk image file. Is this a stupid idea? Pierce ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
[lxc-users] How to set lxc.network.ipv4/hwaddr/ipv4.gateway=auto in LXD 2.6 managed container?
I am trying to move from LXC 1.1.x (macvlan) [1] containers to recent LXD [2]. I am stuck with problem: - how can I set static ipv4/hwaddr and ipv4.gateway=auto? I switched default profile to maclvan [3]. I created test container: # lxc init ubuntu:16.04 ubuntu-1604-macvlan-test Starting it confirms that macvlan iface works. Disbled DHCP configuration of eth0@if2, and now setting IP# fails: # lxc config device set ubuntu-1604-macvlan-test virt ipv4.address 10.30.3.205 error: The device doesn't exist It's confusing as virt device is visible in lxc config show [4], but not in lxc config device list ubuntu-1604-macvlan-test [5]? TIA, regards, [1]: Old LXC network config lxc.network.type = macvlan lxc.network.macvlan.mode = bridge lxc.network.hwaddr = 00:16:3e:00:31:12 lxc.network.ipv4 = 10.30.3.112/23 lxc.network.ipv4.gateway = auto [2]: versions: lxc-2.0.6 lxd-2.6 [3]: # lxc profile show default name: default config: {} description: Default LXD profile devices: virt: nictype: macvlan parent: eth0 type: nic usedby: - /1.0/containers/ubuntu-1604-macvlan-test [4]: # lxc config show --expanded ubuntu-1604-macvlan-test name: ubuntu-1604-macvlan-test profiles: - default config: image.architecture: amd64 image.description: ubuntu 16.04 LTS amd64 (release) (20161130) image.label: release image.os: ubuntu image.release: xenial image.serial: "20161130" image.version: "16.04" volatile.base_image: fc6d723a6e662a5a4fe213eae6b7f4c79ee7dd566c99856d96a5ca677a99b15d volatile.idmap.base: "0" volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":100,"Nsid":0,"Maprange":10}, {"Isuid":false,"Isgid":true,"Hostid":100,"Nsid":0,"Maprange":10}]' volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":100,"Nsid":0,"Maprange":10}, {"Isuid":false,"Isgid":true,"Hostid":100,"Nsid":0,"Maprange":10}]' volatile.last_state.power: STOPPED volatile.root.hwaddr: 00:16:3e:be:9b:1b volatile.root.name: eth1 volatile.virt.hwaddr: 00:16:3e:e3:22:75 volatile.virt.name: eth0 devices: root: path: / type: disk virt: nictype: macvlan parent: eth0 type: nic ephemeral: false [5]: # lxc config device list ubuntu-1604-macvlan-test root: disk -- Mateusz Korniak "(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś, krótko mówiąc - podpora społeczeństwa." Nikos Kazantzakis - "Grek Zorba" ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users