ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ovz и mount --bind. забавный глюк.
@ 2007-08-20  8:06 Alexey Borovskoy
  2007-08-20  8:08 ` Mikhail A. Pokidko
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Alexey Borovskoy @ 2007-08-20  8:06 UTC (permalink / raw)
  To: sysadmins

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

Добрый вечер.

Есть следующее:

202.mount

#!/bin/bash

mount --bind /mnt/ovz/samba/scans /var/lib/vz/root/202/mnt/scans
mount --bind /mnt/ovz/samba/install /var/lib/vz/root/202/mnt/install

202.umount

#!/bin/bash

umount /var/lib/vz/root/202/mnt/scans
umount /var/lib/vz/root/202/mnt/install

При vzctl mount 202 и vzctl umount 202 все хорошо.

Но при vzctl start 202 и vzctl stop 202 получаем глюк

# vzctl stop 202
Stopping VE ...
VE was stopped
umount: /mnt/ovz/samba/scans: not mounted
umount: /mnt/ovz/samba/scans: not mounted
umount: /mnt/ovz/samba/install: not mounted
umount: /mnt/ovz/samba/install: not mounted
Error executing umount script /etc/vz/conf/202.umount


Что это и как лечить? В запасе есть кувалда, но это не кошерно.

-- 
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63  2753 E37A 9E3F 11F3 BDE1

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-08-21  8:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-20  8:06 [Sysadmins] ovz и mount --bind. забавный глюк Alexey Borovskoy
2007-08-20  8:08 ` Mikhail A. Pokidko
2007-08-20  8:24   ` Alexey Borovskoy
2007-08-20  8:39 ` Pavlov Konstantin
2007-08-20  8:50   ` Alexey Borovskoy
2007-08-20  9:51 ` Ivan Fedorov
2007-08-20 11:10   ` Alexey Borovskoy
2007-08-20 11:22 ` Slava Dubrovskiy
2007-08-20 11:55   ` Alexey Borovskoy
2007-08-21  8:00 ` Michael Shigorin

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