ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] mount --bind из HN в VE
@ 2007-04-15  8:58 Eugene Prokopiev
  2007-04-15  9:32 ` Dmitry V. Levin
  0 siblings, 1 reply; 11+ messages in thread
From: Eugene Prokopiev @ 2007-04-15  8:58 UTC (permalink / raw)
  To: Sysadmins

Здравствуйте!

Достаточно свежий сизиф:

# cat /etc/vz/conf/101.mount
#!/bin/bash

. /etc/sysconfig/vz
. $VE_CONFFILE

mount -o bind /data/distrib/alt-linux-sisyphus-current
$VE_ROOT/data/alt-linux-sisyphus-current

[root@vm ~]# cat /etc/vz/conf/101.umount
#!/bin/bash

. /etc/sysconfig/vz
. $VE_CONFFILE

umount $VE_ROOT/data/alt-linux-sisyphus-current

# vzctl start 101
Starting VE ...
/etc/vz/conf/101.umount: line 3: /etc/sysconfig/vz: No such file or 
directory
umount: /var/lib/vz/root/101/data/alt-linux-sisyphus-current: not mounted
Error executing umount script /etc/vz/conf/101.umount
Setting CPU units: 1000
VE start in progress...

На менее свежем сизифе это работало

Вопросы:

1) почему запускается 101.umount?
2) где теперь брать аналог $VE_CONFFILE (поиск по /etc ни к чему не привел)?

-- 
С уважением, Прокопьев Евгений


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

end of thread, other threads:[~2007-04-16 10:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-15  8:58 [Sysadmins] mount --bind из HN в VE Eugene Prokopiev
2007-04-15  9:32 ` Dmitry V. Levin
2007-04-15 16:12   ` Eugene Prokopiev
2007-04-15 16:19     ` Eugene Prokopiev
2007-04-15 19:47     ` Eugene Prokopiev
2007-04-15 19:53       ` Konstantin A. Lepikhov
2007-04-15 20:11         ` Eugene Prokopiev
2007-04-15 21:39           ` Konstantin A. Lepikhov
2007-04-16  5:32             ` Eugene Prokopiev
2007-04-16  6:28               ` Eugene Prokopiev
2007-04-16 10:48                 ` Dmitry V. Levin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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