LXC and ZFS

Added by Philip Hermans 4 months ago

We have an Gentoo - Calculate based server as host system with ZFS as filesystem, configured by a system guy who does not work here anymore. We also have a container called 'dev' on the host which has always run perfect. Today we had to move the hardware to a new environment, so we stopped the container and next shut down the host. After rebooting the host, the container 'dev' was not running. This is the command:

oseserver1 ~ # lxc-start -n dev
The configuration file contains legacy configuration keys.
Please update your configuration file!
lxc-start: dev: lxccontainer.c: wait_on_daemonized_start: 760 Received container state "STOPPING" instead of "RUNNING"
lxc-start: dev: tools/lxc_start.c: main: 371 The container failed to start.
lxc-start: dev: tools/lxc_start.c: main: 373 To get more details, run the container in foreground mode.
lxc-start: dev: tools/lxc_start.c: main: 375 Additional information can be obtained by setting the --logfile and --logpriority options.

Any suggestions?

Philip


Replies (1)

RE: LXC and ZFS - Added by Mikhail Hiretsky 3 months ago

Try to run with -F option. Maybe you have a different name for the network interface. Check lxc.network.link option in container config file.

(1-1/1)

Thank you!