From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: installer: Как создать LVM тома через vm-profile.scm?
Date: Fri, 9 Oct 2015 13:17:25 +0300
Message-ID: <56179435.1000403@solin.spb.ru> (raw)
In-Reply-To: <20151009092455.GI23351@imap.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]
09.10.2015 12:24, Michael Shigorin пишет:
> On Thu, Oct 08, 2015 at 08:36:41PM +0300, Aleksey Avdeev wrote:
>> Поддерживает ли текущий installer создание LVM томов
>> при использовании разбивки по умолчанию?
>
> Не слышал такого. Копал бы guile-evms по словам raid plain.
Из того, что раскопал (в alterator-vm) на данный момент:
1. Разбором vm-profile.scm занимается interfaces/guile/vm/profile.scm
(см.
<http://git.altlinux.org/gears/a/alterator-vm.git?p=alterator-vm.git;a=blob;f=interfaces/guile/vm/profile.scm;h=3d0095c0bc64f8fcebbaf32f1c1df6e546d0c6dd;hb=1831d114bf5f2763c3178c9ab9ca65cd6c31ebdc>)
2. Обработка методов lvm и raid+lvm была оторвана коммитом
bf8d4c140269118549cb57b9e77a6058988dccc0 (см.
http://git.altlinux.org/gears/a/alterator-vm.git?p=alterator-vm.git;a=commitdiff;h=bf8d4c140269118549cb57b9e77a6058988dccc0).
(Хотя, не исключено что данный коммит отрывает так и не реализованные
заглушки.)
Пока вырисовывается, что для моих задач в profile.scm нужно добавлять
возможность разбора примерно такой actiondata:
1. ("<имя_vg>" (size ...) (fsim . "LVM") (methods raid plain)) -- для
создания раздела включённого группу томов <имя_vg> и самой <имя_vg>.
2. ("<точка_монтирования>" (size ...) (fsim ...) (methods (lvm .
"<имя_vg>"))) -- для создания в группе <имя_vg> тома, монтируемого в
<точка_монтирования>.
--
С уважением. Алексей.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 278 bytes --]
next prev parent reply other threads:[~2015-10-09 10:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 17:36 Aleksey Avdeev
2015-10-09 9:24 ` Michael Shigorin
2015-10-09 10:17 ` Aleksey Avdeev [this message]
2015-10-26 10:54 ` [devel] I: alterator-vm-0.4.4-alt1.1: Доработка разбора vm-profile.scm (was: Q: installer: Как создать LVM тома через vm-profile.scm?) Aleksey Avdeev
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=56179435.1000403@solin.spb.ru \
--to=solo@solin.spb.ru \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git