[Lxc-users] lxc-start: Device or resource busy - could not unmount old rootfs
Pier Fumagalli
pier at betaversion.org
Tue Apr 13 23:04:03 UTC 2010
It seems to me this is pretty much what I'm seeing too with 0.6.5.
http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00029.html
In my case, I downgraded to 0.6.3 and it works just fine.
Pier
On Wed, Apr 14, 2010 at 05:33, Matt Bailey <mbailey at system42.net> wrote:
> With lxc 0.6.5, I am having a problem starting a container. Here is
> the debug output. (FWIW, my /var is a separate partition on the host)
>
> # lxc-start -n test -l DEBUG -o $(tty)
> lxc-start 1271189821.303 INFO lxc_conf - tty's configured
> lxc-start 1271189821.303 DEBUG lxc_start - sigchild handler set
> lxc-start 1271189821.303 INFO lxc_start - 'test' is initialized
> lxc-start 1271189821.313 DEBUG lxc_conf - instanciated veth
> 'veth5RnMGB/veth28579F', index is '14'
> lxc-start 1271189821.394 DEBUG lxc_cgroup - using cgroup
> mounted at '/cgroup'
> lxc-start 1271189821.395 DEBUG lxc_cgroup - '/cgroup/2229'
> renamed to '/cgroup/test'
> lxc-start 1271189821.554 DEBUG lxc_conf - move 'br0' to '2229'
> lxc-start 1271189821.554 INFO lxc_conf - 'test' hostname has
> been setup
> lxc-start 1271189821.571 DEBUG lxc_conf - 'eth0' has been setup
> lxc-start 1271189821.571 INFO lxc_conf - network has been setup
> lxc-start 1271189821.571 DEBUG lxc_cgroup - using cgroup
> mounted at '/cgroup'
> lxc-start 1271189821.571 DEBUG lxc_conf - cgroup
> 'devices.deny' set to 'a'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 1:3 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 1:5 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 5:1 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 5:0 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 4:0 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 4:1 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 1:9 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 1:8 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 136:* rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 5:2 rwm'
> lxc-start 1271189821.572 DEBUG lxc_conf - cgroup
> 'devices.allow' set to 'c 254:0 rwm'
> lxc-start 1271189821.572 INFO lxc_conf - cgroup has been setup
> lxc-start 1271189821.572 INFO lxc_conf - mount points have been
> setup
> lxc-start 1271189821.572 INFO lxc_conf - console
> '/dev/pts/0' mounted to '/var/lib/urizen-slicer/fs/test/dev/console'
> lxc-start 1271189821.572 INFO lxc_conf - 4 tty(s) has been setup
> lxc-start 1271189821.572 DEBUG lxc_conf - temporary
> mountpoint for old rootfs is './lxc-oldrootfs-y10fSV'
> lxc-start 1271189821.572 DEBUG lxc_conf - pivot_root syscall
> to '/lxc-oldrootfs-y10fSV' successful
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/dev/pts'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/dev/shm'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/sys/fs/fuse/connections'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/sys/kernel/debug'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/sys/kernel/security'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/proc'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var/run'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var/lock'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/lib/init/rw'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/cgroup'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var/lib/urizen-slicer/fs/test/dev/console'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var/lib/urizen-slicer/fs/test/dev/tty1'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var/lib/urizen-slicer/fs/test/dev/tty2'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var/lib/urizen-slicer/fs/test/dev/tty3'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var/lib/urizen-slicer/fs/test/dev/tty4'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/dev'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/sys'
> lxc-start 1271189821.573 DEBUG lxc_conf - umounted
> '/lxc-oldrootfs-y10fSV/var'
> lxc-start 1271189821.573 ERROR lxc_conf - Device or resource
> busy - could not unmount old rootfs
> lxc-start: Device or resource busy - could not unmount old rootfs
> lxc-start 1271189821.573 ERROR lxc_conf - failed to
> pivot_root to '/var/lib/urizen-slicer/fs/test'
> lxc-start: failed to pivot_root to '/var/lib/urizen-slicer/fs/test'
> lxc-start 1271189821.573 ERROR lxc_conf - failed to set
> rootfs for 'test'
> lxc-start: failed to set rootfs for 'test'
> lxc-start 1271189821.573 ERROR lxc_start - failed to setup
> the container
> lxc-start: failed to setup the container
> lxc-start 1271189821.573 NOTICE lxc_start - '/sbin/init'
> started with pid '2229'
> lxc-start 1271189821.573 DEBUG lxc_utils - closing fd '1'
> lxc-start 1271189821.573 DEBUG lxc_utils - closing fd '0'
> lxc-start 1271189821.573 DEBUG lxc_utils - closed all
> inherited file descriptors
> lxc-start 1271189821.634 DEBUG lxc_start - child exited
> lxc-start 1271189821.634 INFO lxc_error - child <2229> ended
> on error (255)
> lxc-start 1271189821.634 DEBUG lxc_cgroup - using cgroup
> mounted at '/cgroup'
> lxc-start 1271189821.714 DEBUG lxc_cgroup - '/cgroup/test' unlinked
>
>
> Thanks,
> --
> Matt Bailey
>
>
> ------------------------------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20100414/d4965915/attachment.html>
More information about the lxc-users
mailing list