[Lxc-users] Broken my lxc vms
Nigel Magnay
nigel.magnay at gmail.com
Fri Apr 2 16:55:51 UTC 2010
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 ?
More information about the lxc-users
mailing list