From: Ivan Fedorov <ns_alt_sysadmins@neural.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] ovz и mount --bind. забавный глюк.
Date: Mon, 20 Aug 2007 12:51:29 +0300
Message-ID: <46C96421.2010701@neural.ru> (raw)
In-Reply-To: <200708202106.50780.alexey.borovskoy@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
Alexey Borovskoy пишет:
> Добрый вечер.
>
> Есть следующее:
>
> 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
>
>
> Что это и как лечить? В запасе есть кувалда, но это не кошерно.
Это не глюк. Это фича - альтовские скрипты сами все отмонтируют при
выключении машины.
Так что на самом деле совет с "||" самый правильный.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
next prev parent reply other threads:[~2007-08-20 9:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 8:06 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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46C96421.2010701@neural.ru \
--to=ns_alt_sysadmins@neural.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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