From: Vasyuk Maksim <vaksim@gmail.com>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] OpenVZ и quota на проброшенном разделе
Date: Tue, 19 Apr 2016 11:23:30 +0600
Message-ID: <5715C0D2.8090103@gmail.com> (raw)
In-Reply-To: <201604141903.05818.a_s_y@sama.ru>
Sergey пишет:
> On Thursday 14 April 2016, Vasyuk Maksim wrote:
>
>> mount /dev/vg00/smb02-tmp01 $VE_ROOT/mnt/tmp/
>
> А разве так можно ? мне кажется, контейнеру поплохеть должно.
> Вот что пишут: https://wiki.openvz.org/Bind_mounts
>
Извиняюсь, сильно коротко написал. Уже поднимался в рассылке вопрос как
монтировать второй раздел, я остановился на том что нужно создать файлик
ID.mount, а в него прописать:
#!/bin/bash
. $VE_CONFFILE
mount /dev/vg00/am01-01 $VE_ROOT/mnt/altlinux/
У меня там зеркало бранча лежит уже полгода, пока не поплохело ;)
Но Ваш пример по ссылку явно круче ;). Поправил у себя.
Спасибо!
У кого-нибудь получалось завести квоты в контейнере OpenVZ на разделе
отличном от корня?
--
Vasuk Maksim
next prev parent reply other threads:[~2016-04-19 5:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-14 10:50 Vasyuk Maksim
2016-04-14 15:03 ` Sergey
2016-04-19 5:23 ` Vasyuk Maksim [this message]
2016-04-20 10:30 ` Vasyuk Maksim
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=5715C0D2.8090103@gmail.com \
--to=vaksim@gmail.com \
--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