[Lxc-users] Broken my lxc vms

Bodhi Zazen bodhi.zazen at montanalinux.org
Fri Apr 2 18:57:28 UTC 2010


I am not an expert on lxc , and as much as I hate to advise such things, did you try to reboot ?


----- Original Message -----
From: "Nigel Magnay" <nigel.magnay at gmail.com>
To: lxc-users at lists.sourceforge.net
Sent: Friday, April 2, 2010 10:55:51 AM
Subject: [Lxc-users] Broken my lxc vms

Hi there - I've managed to get my configuration a bit broken;

I've been experimenting with lxc, latterly with ubuntu 10.04-beta as
it has a kernel that doesn't need patching (2.6.32-16)

Initially all was well; following the setup on
http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-karmic-containers/
was all very nice; it was working with an sshd I could correctly
connect to.

However, I managed to terminate a container in a rather abrupt way,
and it hasn't worked since.

I'm seeing things like

root at nirima-host:/home/magnayn# lxc-start -n ubuntu
swapon: /dev/disk/by-uuid/35b40dbb-337c-4f46-a82f-642d6fbf3faa: swapon
failed: Device or resource busy
mountall: swapon
/dev/disk/by-uuid/35b40dbb-337c-4f46-a82f-642d6fbf3faa [25] terminated
with status 255
mountall: Problem activating swap:
/dev/disk/by-uuid/35b40dbb-337c-4f46-a82f-642d6fbf3faa
[hang]

So in another shell I do
root at nirima-host:/home/magnayn# lxc-stop -n ubuntu
root at nirima-host:/home/magnayn# swapoff -a
root at nirima-host:/home/magnayn# lxc-start -n ubuntu
[hang]


Looking at the tasks in /cgroup/ubuntu/tasks shows the following are running.. :
root      1606  1605  0 17:49 ?        00:00:00 /sbin/init
root      1611  1606  0 17:49 ?        00:00:00 /sbin/plymouthd --mode=boot


root at nirima-host:/home/magnayn# lxc-console -n ubuntu
lxc-console: console denied by 'ubuntu'


Is there someplace I can prod to coax it back into life?

Also - lxc looks exactly what I want to isolate some app servers into
individual units. Is lxc considered reasonably stable (as it's
mainline now), or should I steer clear for a bit ?

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users




More information about the lxc-users mailing list