[Voyage-linux] Cannot start LXC container
Gustin Johnson
(spam-protected)
Fri Feb 5 06:08:59 HKT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Malcolmson wrote:
> I've been looking at the lightweight virtualization software OpenVZ to
> run protected services on my Alix 2d3 box running Voyage .6. Just as I
> was getting the hang of it I learned that the OpenVZ kernel will not be
> in Squeeze and seems to be at the end of its road. Fortunately there's
> a recent project called Linux Containers (LXC) with support in stock
> kernels > 2.6.31 and user space tools in Lenny.
>
> I've got it working on my Intel Core2 laptop running Lenny under a
> 2.6.32 kernel compiled from the Debian source package in Sid but when
> using the same kernel, configuration, and root filesystem under Voyage I
> get the following message when I start the container:
>
> lxc-start: failed to clone(0x6c020000): No space left on device
> lxc-start: No space left on device - failed to fork into a new namespace
> lxc-start: failed to spawn '/sbin/init'
>
It could be a number of things. Do you have rw access to lxc.mount and
lxc.rootfs. Have you checked all of the paths in the init script and
config files to make sure they are writable or have enough space?
> I've followed all the steps in the LXC Howto at http://lxc.teegra.net/
>
> I've run 'remountrw' and have over 600M free space on this CF card. I
> wasn't using swap before but tried adding a 500M swap partition - didn't
> help. The root file system of my container is only 160M.
Perhaps you need to make this larger?
<snip>
> I'm guessing the 'device' lxc-start wants space on is somehow different
> under Voyage. Does anyone have a guess on what this difference could be
> or at least how can I monitor what storage the program is trying to
> use.?
Try using strace to get more info.
Hth,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAktrRXsACgkQwRXgH3rKGfPFwwCeKfcsrRRhbxavSl/kGiv+3VAP
mnAAoJs0SlmAogXljbis98TBS4llNbPk
=thbd
-----END PGP SIGNATURE-----
More information about the Voyage-linux
mailing list