Re: [lxc-users] mount ZFS issues

2016-06-25 Thread Ranjib Dey
you can use systemd mount unit to setup the zfs mount point, and declare your lxd service unit's dependency on it regards ranjib On Sat, Jun 25, 2016 at 7:09 AM, Ingo Baab wrote: > Hello LXC-User, > > I am working with LXD/LXC on a ZFS Filesystem and I am happy with it in > general, but every ti

Re: [lxc-users] How do you mount this file as an lxc rootfs?

2016-06-25 Thread John Lewis
On 06/25/2016 06:38 PM, Serge E. Hallyn wrote: > On Sat, Jun 25, 2016 at 03:20:08PM -0400, John Lewis wrote: >> On 06/20/2016 11:51 AM, Serge E. Hallyn wrote: >>> The pre-mount hook runs in the container's mount namespace but before >>> mounting the rootfs. So the fs you mount only shows up in the

Re: [lxc-users] LXC duplicate cgroup “cpu,cpuacct” - “cpuacct,cpu”

2016-06-25 Thread Serge E. Hallyn
On Mon, Jun 06, 2016 at 03:50:02PM +0200, Ondřej Vlk wrote: > Hello, > > I run priviledged containers on Centos 7. I want to have isolated Which version of lxc is this? Can you start a container with lxc-start -n name -l trace -o debug.out and mail debug.out here? This should show us

Re: [lxc-users] How do you mount this file as an lxc rootfs?

2016-06-25 Thread Serge E. Hallyn
On Sat, Jun 25, 2016 at 03:20:08PM -0400, John Lewis wrote: > On 06/20/2016 11:51 AM, Serge E. Hallyn wrote: > > The pre-mount hook runs in the container's mount namespace but before > > mounting the rootfs. So the fs you mount only shows up in the container's > > namespace, not on the host. Auto

Re: [lxc-users] How do you mount this file as an lxc rootfs?

2016-06-25 Thread John Lewis
On 06/20/2016 11:51 AM, Serge E. Hallyn wrote: > The pre-mount hook runs in the container's mount namespace but before > mounting the rootfs. So the fs you mount only shows up in the container's > namespace, not on the host. Auto-cleanup is just a nice bonus. I would > have been not entirely sur

[lxc-users] mount ZFS issues

2016-06-25 Thread Ingo Baab
Hello LXC-User, I am working with LXD/LXC on a ZFS Filesystem and I am happy with it in general, but every time I reboot my machine the ZFS filesystem i not mounted and therefore LXC are also not started.. I tried "mount -a" in rc.local and "zfs mount -a" also there. And then I get this messag