From: Alexey Gladkov <gladkov.alexey@gmail.com> To: make-initrd@lists.altlinux.org Subject: Re: [make-initrd] Multipath feature Date: Mon, 19 Feb 2024 22:41:36 +0100 Message-ID: <ZdPLEMbCMntyQHWT@example.org> (raw) In-Reply-To: <f12b439f-0a59-483e-90b6-49916e578eef@gmail.com> On Mon, Feb 19, 2024 at 08:48:59PM +0300, Leonid Krivoshein wrote: > > > On 2/19/24 16:29, Alexey Gladkov wrote: > > On Mon, Feb 19, 2024 at 03:52:03PM +0300, Leonid Krivoshein wrote: > >>>>> UUID=945fd24f-9378-43b3-b6fa-24c29eda7e83 / ext4 relatime 1 1 > >>>>> /dev/mapper/mpatha-part1 /home ext4 nosuid,relatime,usrquota,grpquota 1 2 > >>>>> > >>>>> UUID=945fd24f-9378-43b3-b6fa-24c29eda7e83 это sda2 и это обычный scsi > >>>>> диск. multipath не нужен для него. Он используется для /home. > >>>>> > >>>>> Почему вы считаете, что там должен добавляться multipath в initrd ? > >>>>> > >>>> Потому что /dev/mapper/mpatha-part1 /home, нет rootonly, /home собирается из 4-х путей и DM_MULTIPATH_DEVICE_PATH=1. > >>> Если вы отдельно не сказали смотреть на /home, то вне зависимости есть > >>> rootonly или нет, make-initrd не будет смотреть на эту точку монтирования > >>> при создании образа. При создании образа смотрится только корневая система > >>> и опционально /usr. > >> А как ему об этом сказать отдельно? > > Вариант 1: Добавить `MOUNTPOINTS += /some/mount/point` в initrd.mk. > > С этим вариантом предупреждение про устаревшую опцию. Ой. Да, я набирал по памяти. Конечно GUESS_MOUNTPOINTS. > > Вариант 2: Добавить x-initrd-mount в опции точки монтирования в fstab. > > Данный вариант к успеху не приводит. Проверял по /etc/fstab, который > попадает в initrd. Возможно тут есть баг. Хм. Если это правда, то это баг, да. Я проверю на вашем bug-report. > Видимо самый правильный вариант -- GUESS_MOUNPOINTS += /home , с ним и > точка монтирования попадает в /etc/fstab initrd, и предупреждений не > выводится. Угу. -- Rgrds, legion
next prev parent reply other threads:[~2024-02-19 21:41 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 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 [this message] 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=ZdPLEMbCMntyQHWT@example.org \ --to=gladkov.alexey@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