From: Leonid Krivoshein <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Multipath feature
Date: Mon, 29 Jan 2024 15:03:25 +0300
Message-ID: <363829e3-42c5-4370-a95a-a659449302ca@gmail.com> (raw)
In-Reply-To: <ZbZg3__eGvNt5hVj@example.org>
Привет!
On 1/28/24 17:12, Alexey Gladkov wrote:
> On Wed, Jan 24, 2024 at 03:09:55AM +0300, Leonid Krivoshein wrote:
>> Доброго времени!
>>
>>
>> On 1/24/24 01:44, Konstantin Lepikhov wrote:
>>> Hi Vladimir!
>>>
>>> On 01/18/2024, at 04:54:58 PM you wrote:
>>>
>>>> Мне кажется, какая-то проблема со службой multipathd. Когда я пытаюсь
>>>> запустить ее руками в шелле initrd, она выкидывает ошибки:
>>>>
>>>> $ multipathd -d -s
>>>>
>>>> multipathd v0.9.3alt2: start up
>>>>
>>>> Checker 'tur' not found in /lib64/multipath
>>>>
>>>> failed to initialize checkers
>>>>
>>>> multipathd: shut down
>>>>
>>> Я не Алексей, но судя по ошибкам, как-то нет уверенности что multipath
>>> работает :) А вы пробовали проверить конфигурацию не для корневой системы,
>>> а какого-то другого раздела, чтобы убедится, что все работает как нужно
>>> без initrd? Если проверка будет успешной, тогда уже можно смотреть что не
>>> так с фичей в mk-i.
>> Видимо в config.mk фичи надо паковать всю /%_lib/multipath, как в спеке
>> multipath-tools, т.к. там ещё и плагины. На стабильных бранчах в
>> установщике multipath рабочий, в обычной rootfs тоже.
> Кто-нибудь может проверить эту теорию ?
Проверил на предоставленном стенде на реальном железе. Теорию
подтверждаю. Виноват make-initrd, не установщик. Если хочешь, могу
скинуть личным письмом более подробную диагностику. Вот так не заработало:
$ cat /etc/initrd.mk
# trying to detect modules and features to access to root volume
AUTODETECT = all
FEATURES += lvm multipath
PUT_DIRS += /lib64/multipath
А вот так заработало, корень системы на multipath:
$ 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)
Т.е. ещё проблема с PUT_DIRS.
$ rpm -qa 'make-initrd*'
make-initrd-mdadm-2.31.0-alt4.noarch
make-initrd-luks-2.31.0-alt4.noarch
make-initrd-lvm-2.31.0-alt4.noarch
make-initrd-integrity-0.5.0-alt1.noarch
make-initrd-2.31.0-alt4.x86_64
make-initrd-devmapper-2.31.0-alt4.noarch
make-initrd-multipath-2.31.0-alt4.noarch
$ sudo initrd-ls /boot/initrd-6.1.29-un-def-alt1.img |grep ./lib64/multipath
(пусто при первом варианте). И не пусто при втором, и кстати даты странные:
1 drwxr-xr-x 2 0 0 0 Jan 01 03:00:00 1970 ./lib64/multipath
1 -rw-r--r-- 1 0 0 14312 Jan 01 03:00:00 1970
./lib64/multipath/libcheckcciss_tur.so
1 -rw-r--r-- 1 0 0 14432 Jan 01 03:00:00 1970
./lib64/multipath/libcheckdirectio.so
1 -rw-r--r-- 1 0 0 14464 Jan 01 03:00:00 1970
./lib64/multipath/libcheckemc_clariion.so
1 -rw-r--r-- 1 0 0 14232 Jan 01 03:00:00 1970
./lib64/multipath/libcheckhp_sw.so
1 -rw-r--r-- 1 0 0 14456 Jan 01 03:00:00 1970
./lib64/multipath/libcheckrdac.so
1 -rw-r--r-- 1 0 0 14240 Jan 01 03:00:00 1970
./lib64/multipath/libcheckreadsector0.so
1 -rw-r--r-- 1 0 0 14408 Jan 01 03:00:00 1970
./lib64/multipath/libchecktur.so
1 -rw-r--r-- 1 0 0 30696 Jan 01 03:00:00 1970
./lib64/multipath/libforeign-nvme.so
1 -rw-r--r-- 1 0 0 14296 Jan 01 03:00:00 1970
./lib64/multipath/libprioalua.so
1 -rw-r--r-- 1 0 0 14288 Jan 01 03:00:00 1970
./lib64/multipath/libprioana.so
1 -rw-r--r-- 1 0 0 14008 Jan 01 03:00:00 1970
./lib64/multipath/libprioconst.so
1 -rw-r--r-- 1 0 0 14312 Jan 01 03:00:00 1970
./lib64/multipath/libpriodatacore.so
1 -rw-r--r-- 1 0 0 14304 Jan 01 03:00:00 1970
./lib64/multipath/libprioemc.so
1 -rw-r--r-- 1 0 0 14304 Jan 01 03:00:00 1970
./lib64/multipath/libpriohds.so
1 -rw-r--r-- 1 0 0 14304 Jan 01 03:00:00 1970
./lib64/multipath/libpriohp_sw.so
1 -rw-r--r-- 1 0 0 14304 Jan 01 03:00:00 1970
./lib64/multipath/libprioiet.so
1 -rw-r--r-- 1 0 0 14304 Jan 01 03:00:00 1970
./lib64/multipath/libprioontap.so
1 -rw-r--r-- 1 0 0 14312 Jan 01 03:00:00 1970
./lib64/multipath/libpriopath_latency.so
1 -rw-r--r-- 1 0 0 14304 Jan 01 03:00:00 1970
./lib64/multipath/libpriorandom.so
1 -rw-r--r-- 1 0 0 14304 Jan 01 03:00:00 1970
./lib64/multipath/libpriordac.so
1 -rw-r--r-- 1 0 0 14296 Jan 01 03:00:00 1970
./lib64/multipath/libpriosysfs.so
1 -rw-r--r-- 1 0 0 14312 Jan 01 03:00:00 1970
./lib64/multipath/libprioweightedpath.so
--
WBR, Leonid Krivoshein.
next prev parent reply other threads:[~2024-01-29 12:03 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 [this message]
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
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=363829e3-42c5-4370-a95a-a659449302ca@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