[lxc-users] Can not start LVM-backed LXC CentOS container on CentOS 7 host
Adam Gradzki
adam.gradzki at gmail.com
Tue Dec 2 01:20:54 UTC 2014
Container created on LVM thinpool:
lxc-create -n pmx --fssize=10G -B lvm --thinpool tp -t centos
[root at codex ~]# lxc-start -n pmx --logfile log.txt
lxc-start: No such file or directory - Failed to mount /dev at
/usr/lib64/lxc/rootfs
lxc-start: failed to mount /dev in the container
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'pmx'
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the
--logfile and --logpriority options.
[root at codex ~]# cat log.txt
lxc-start 1417482606.804 ERROR lxc_conf - No such file or
directory - Failed to mount /dev at /usr/lib64/lxc/rootfs
lxc-start 1417482606.804 ERROR lxc_conf - failed to mount
/dev in the container
lxc-start 1417482606.804 ERROR lxc_start - failed to setup
the container
lxc-start 1417482606.804 ERROR lxc_sync - invalid sequence
number 1. expected 2
lxc-start 1417482606.809 ERROR lxc_start - failed to spawn 'pmx'
lxc-start 1417482606.821 ERROR lxc_start_ui - The container
failed to start.
lxc-start 1417482606.821 ERROR lxc_start_ui - Additional
information can be obtained by setting the --logfile and --logpriority
options.
More information about the lxc-users
mailing list