[Lxc-users] connecting lxc-console is impossible after deny cgroup by default activated

Thierry mysolo at cynetek.com
Mon Nov 5 21:35:21 UTC 2012


Le 05/11/2012 22:25, Serge Hallyn a écrit :
> Quoting Thierry (mysolo at cynetek.com):
>>       lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount '/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# /etc/filesystems'
>>       lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with error: No such device
> 
> (And a bunch more)  Does /dev/vg1/debian-dev exist on the host?
> 
> -serge
> 

yes. This device /dev/vg1/debian-dev is idem for config working and
config not working.

copy/paste  this section of log file. End section is mounted
/dev/vg1/debian-dev  with ext4 filesystem.

Only lxc-console not working. A guest system is ok by ssh ip internal.


      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '#
/etc/filesystems'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '#'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# This file
defines the filesystems search order used by a'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# 'mount -t
auto' command.'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '#'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype ''
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# Uncomment
the following line if your modular kernel has vfat'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# support and
you want mount to try vfat.'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '#vfat'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype ''
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# Keep the
last '*' intact as it directs mount to use the'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# filesystems
list available at /proc/filesystems also.'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# Don't remove
it unless you REALLY know what you are doing!'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '*'
      lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with
error: No such device
      lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype 'reiserfs'
      lxc-start 1352149909.277 DEBUG    lxc_conf - mount failed with
error: Invalid argument
      lxc-start 1352149909.277 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype 'ext3'
      lxc-start 1352149909.301 DEBUG    lxc_conf - mount failed with
error: Invalid argument
      lxc-start 1352149909.301 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype 'ext2'
      lxc-start 1352149909.325 DEBUG    lxc_conf - mount failed with
error: Invalid argument
      lxc-start 1352149909.325 DEBUG    lxc_conf - trying to mount
'/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype 'ext4'
      lxc-start 1352149909.431 INFO     lxc_conf - mounted
'/dev/vg1/debian-dev' on '/usr/lib/lxc/rootfs', with fstype 'ext4'
      lxc-start 1352149909.431 DEBUG    lxc_conf - mounted
'/dev/vg1/debian-dev' on '/usr/lib/lxc/rootfs'
      lxc-start 1352149909.431 INFO     lxc_conf - mount points have
been setup





More information about the lxc-users mailing list