[lxc-users] [Unable to start using lvm backend]

Andrea Masi eraclitux at gmail.com
Fri Jan 23 16:02:08 UTC 2015


Hi,
I'm using lxc 1.0.6 on ubuntu 14.04.
I've no problems creating/running on dir backing store but when I use lvm I
cannot start containers getting these errors:

lxc-start 1422026234.562 ERROR    bdev - failed to determine fs type for
'/dev/lxc/lvm-cont'
lxc-start 1422026234.563 ERROR    lxc_conf - failed to determine fs type
for '/dev/dm-0'
lxc-start 1422026234.564 ERROR    lxc_conf - failed to mount rootfs
lxc-start 1422026234.564 ERROR    lxc_conf - failed to setup rootfs for
'lvm-cont'
lxc-start 1422026234.565 ERROR    lxc_conf - Error setting up rootfs mount
after spawn
lxc-start 1422026234.565 ERROR    lxc_start - failed to setup the container
lxc-start 1422026234.566 ERROR    lxc_sync - invalid sequence number 1.
expected 2
lxc-start 1422026234.566 ERROR    lxc_start - failed to spawn 'lvm-cont'
lxc-start 1422026234.574 ERROR    lxc_start_ui - The container failed to
start.
lxc-start 1422026234.575 ERROR    lxc_start_ui - Additional information can
be obtained by setting the --logfile and --logpriority options.

I've tried different template createds with -t download for example:
lxc-create -t download -n lvm-cont -B lvm -- -d ubuntu -r utopic -a amd64

I can manually mount with no problem /dev/lxc/lvm-cont

Any idea on what can it be wrong?

Thanks.

-- 
www.eraclitux.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150123/03ee5ec4/attachment-0001.html>


More information about the lxc-users mailing list