ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] lxc: карта с граблями
@ 2009-11-16  2:56 Alexey Borovskoy
  2009-11-16  6:45 ` Konstantin Pavlov
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Borovskoy @ 2009-11-16  2:56 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Добрый день.

Решил взглянуть на lxc. За час возни с ним получилось следующее.

1. lxc-destroy сносит каталог /var/lib/lxc

2. lxc-execute ругается вот так

# lxc-execute -n test-lxc mount
lxc-execute: No such file or directory - failed to exec /usr/lib/lxc-init

[root@book etc]# lxc-execute -n test-lxc /sbin/mount
lxc-execute: No such file or directory - failed to exec /usr/lib/lxc-init

lxc-init лежит в /usr/lib/lxc.

3. Контейнер от ovz не запустился с такой диагностикой

# lxc-start -n test-lxc

Setting hostname localhost.localdomain:
                                               [ DONE ]
Checking root filesystem
/:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

fsck.ext2: Is a directory while trying to open /

Как его правильно готовить то?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-16  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16  2:56 [sisyphus] lxc: карта с граблями Alexey Borovskoy
2009-11-16  6:45 ` Konstantin Pavlov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git