From: Leonid Krivoshein <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Multipath feature
Date: Sat, 17 Feb 2024 01:05:04 +0300
Message-ID: <0c0afefb-e29c-4a34-8fef-2a9f4e0ede52@gmail.com> (raw)
In-Reply-To: <Zbe4cOvJX6JBGDn7@example.org>
Алексей, привет!
Плохая новость: multipath починили не до конца... ((
On 1/29/24 17:38, Alexey Gladkov wrote:
> On Mon, Jan 29, 2024 at 05:21:44PM +0300, Leonid Krivoshein wrote:
>>>> $ cat /etc/initrd.mk
>>>> # trying to detect modules and features to access to root volume
>>>> AUTODETECT = all
>>>> FEATURES += lvm
>>>> FEATURES += multipath
>>>> PUT_FILES += $(shell ls /lib64/multipath/*.so)
>>> Ок. Значит получается не хватает зависимости на lvm и плагинов.
>> Нет, я не уверен насчёт LVM, зависимость от установщика там была до
>> правки /etc/initrd.mk. Помогло только добавление плагинов.
> Ок. Только плагины.
Оказалось, что не только. На сервере Supermicro с таском #340125 для p10
проверяем другой кейс: СХД по FC подключена несколькими путями как
/home, обычный раздел ext4 без LVM. На самом деле, потому, что пока не
смогли включить загрузку с него. Параметр rootonly отсутствует. При этом
в stage2 multipath корректно собирается, а если войти в rdshell с
параметром stop=runinit, видно, что в stage1 runtime initrd не собирается.
Обнаружили ещё две ошибки. Если не добавлять FEATURES += lvm в
/etc/initrd.mk, до бинарь /sbin/multipath в initrd вообще не попадает,
есть ошибки и при генерации initrd. Если добавить фичу lvm, то бинарь на
месте, но на данном железе мы видим в выводе multipath -ll только одну
ошибку:
path_discovery: error setting up udev_enumerate: No such file or directory
Других записей в выводе нет. См.:
https://yhbt.net/lore/all/20191012212703.12989-16-martin.wilck@suse.com/T/#iZ2e.:..:20191012212703.12989-16-martin.wilck::40suse.com:1libmultipath:discovery.c
-- данная ошибка говорит о том, что одна из функций udev_enumerate_*()
не смогла найти какой-то файл при обнаружении путей.
Стенд теперь наш. Вопрос в том, какую диагностику нужно собрать, чтобы
сие починить?
--
WBR, Leonid Krivoshein.
next prev parent reply other threads:[~2024-02-16 22:05 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-18 7:53 Vladimir Mokrozub
2024-01-18 13:54 ` Vladimir Mokrozub
2024-01-23 22:44 ` Konstantin Lepikhov
2024-01-24 0:09 ` Leonid Krivoshein
2024-01-24 13:00 ` Vladimir Mokrozub
2024-01-28 14:12 ` Alexey Gladkov
2024-01-28 17:17 ` Leonid Krivoshein
2024-01-29 12:03 ` Leonid Krivoshein
2024-01-29 13:47 ` Alexey Gladkov
2024-01-29 14:21 ` Leonid Krivoshein
2024-01-29 14:38 ` Alexey Gladkov
2024-01-29 16:39 ` Leonid Krivoshein
2024-01-29 16:42 ` Leonid Krivoshein
2024-01-29 16:56 ` Alexey Gladkov
2024-02-16 22:05 ` Leonid Krivoshein [this message]
2024-02-16 22:26 ` Leonid Krivoshein
2024-02-17 13:00 ` Alexey Gladkov
2024-02-17 13:15 ` Alexey Gladkov
2024-02-17 18:55 ` Leonid Krivoshein
2024-02-19 10:01 ` Leonid Krivoshein
2024-02-19 10:20 ` Leonid Krivoshein
2024-02-19 12:40 ` Leonid Krivoshein
2024-02-19 13:18 ` Alexey Gladkov
2024-02-19 15:08 ` Leonid Krivoshein
2024-02-19 15:30 ` Alexey Gladkov
2024-02-19 17:44 ` Leonid Krivoshein
2024-02-19 10:32 ` Alexey Gladkov
2024-02-19 10:55 ` Leonid Krivoshein
2024-02-19 12:47 ` Alexey Gladkov
2024-02-19 12:52 ` Leonid Krivoshein
2024-02-19 13:29 ` Alexey Gladkov
2024-02-19 15:07 ` Leonid Krivoshein
2024-02-19 17:48 ` Leonid Krivoshein
2024-02-19 21:41 ` Alexey Gladkov
2024-02-20 1:04 ` Leonid Krivoshein
2024-01-29 13:53 ` Alexey Gladkov
2024-01-29 14:16 ` Leonid Krivoshein
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=0c0afefb-e29c-4a34-8fef-2a9f4e0ede52@gmail.com \
--to=klark.devel@gmail.com \
--cc=make-initrd@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
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/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 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git