On Mon, Apr 3, 2017 at 12:03 PM, Harald Dunkel wrote:
> Hi folks,
>
> using sysvinit-core on the host the systemd based containers get
> stuck in /sbin/init. lxc-attach shows:
>
> root@lxcclient:~# ps -ef
> UIDPID PPID C STIME TTY TIME CMD
> root 1 0 0 11:49 ?
Hi folks,
using sysvinit-core on the host the systemd based containers get
stuck in /sbin/init. lxc-attach shows:
root@lxcclient:~# ps -ef
UIDPID PPID C STIME TTY TIME CMD
root 1 0 0 11:49 ?00:00:00 /sbin/init
root24 0 0 12:05 pts/000:00:00
You'd need to pass /dev/zfs, something like this should do:
lxc config device add CONTAINER zfs unix-char path=/dev/zfs
But I'm a bit concerned as to how zfs will behave since it's not aware
of mount namespaces, so it may attempt to do mounts at the host level or
mount in the container nameps
Stéphane,
for the use case I have in mind it might actually be ok, I'm just trying to
avoid installing and running some stuff on the root box, but I have no
problems with the entire zfs pool being exposed to this specific container.
How would I go about doing that?
thanks,
Spike
On Sun, Apr 2,
On Sun, Apr 02, 2017 at 06:51:30PM +, Spike wrote:
> Hi,
>
> I'm playing with various combinations of virtualization and backends to
> find the best way to manage some samba and nfs exports and one of the
> options I'm considering is the following:
>
> - run a lxd container backed up by zfs
>
Hi,
I'm playing with various combinations of virtualization and backends to
find the best way to manage some samba and nfs exports and one of the
options I'm considering is the following:
- run a lxd container backed up by zfs
- create a ZVOL on zfs
- export the VZOL to the container as a block d
thanks for clarifying, that's very helpful, especially the part about
libvirt, which I was reading more about and wasn't sure if indeed it was
directly using lxc or what. I most definitely don't want to use a "3rd
party" implementation even tho virt-manager is pretty appealing for some of
the end-u
On Sun, Apr 02, 2017 at 05:37:49PM +, Spike wrote:
> Dear all,
>
> when I started to look into containers LXD was "the thing" so I picked that
> up and ran with it.
>
> however after a few months and a few more users who would like to use
> containers + the need for some kvm machines, has bro
Dear all,
when I started to look into containers LXD was "the thing" so I picked that
up and ran with it.
however after a few months and a few more users who would like to use
containers + the need for some kvm machines, has brought me to reconsider
that decision.
First off, I'm not really sure