From: Sergey Vlasov <vsu@altlinux.ru> To: community@altlinux.ru Subject: Re: [Comm] Загрузка с softraid1 Date: Sat, 25 Jun 2005 17:56:04 +0400 Message-ID: <20050625135604.GD11285@procyon.home> (raw) In-Reply-To: <42BC1665.7000900@stc.donpac.ru> [-- Attachment #1: Type: text/plain, Size: 1630 bytes --] On Fri, Jun 24, 2005 at 06:19:17PM +0400, Eugene Prokopiev wrote: > >В ALM 2.4 этот патч (и соответствующая поддержка в mkinitrd) уже есть; > >установка / на RAID (без LVM) средствами инсталятора вроде бы > >предусмотрена, но глючит. > > > > > >>И можно ли как-нибудь обойтись без raidtab внутри initrd? А то > >>получается что этот initrd слишком уж привязан к конфигурации текущей > >>системы и его не перенести без исправлений на другую. > > > > > >При использовании raidautorun файл raidtab внутри initrd не нужен - > >запускаются все массивы, компоненты которых находятся в разделах с типом > >0xfd. raidtab нужен только для штатного mkinitrd. > > Хорошо, как с помощью этого initrd сделать правильный initrd с > поддержкой raid? Вот что делаю я: [skip] Похоже, egrep -s '^/dev/md/?[0-9]+[ ]' "$FSTAB_FILE" | fgrep -qsv noauto не нашёл ничего подходящего в fstab, поэтому поддержка RAID не включилась. В текущей версии mkinitrd в Сизифе есть опция --with-raid, включающая эту поддержку независимо от содержимого fstab. Либо можно подсунуть через опцию --fstab другой файл fstab, содержащий фиктивную запись с /dev/mdX. > Или нужно помещать busybox в initrd вручную? busybox там есть всегда (под именем /bin/sh), просто не создан нужный симлинк и файл устройства /safedev/md255, а также нет команды запуска raidautorun /safedev/md255 в linuxrc. > Кстати, а можно ли как-нибудь посоветовать initrd создать образ в ext2? Собрать ядро без поддержки romfs, но со встроенной поддержкой ext2. Если в ядро встроены и romfs, и ext2, mkinitrd выберет romfs - см. функцию MakeImageFile. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-06-25 13:56 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-06-23 13:10 Eugene Prokopiev 2005-06-23 13:30 ` Eugene Ostapets 2005-06-23 16:10 ` Eugene Prokopiev 2005-06-23 19:01 ` Eugene Ostapets 2005-06-23 14:17 ` Sergey Vlasov 2005-06-23 16:07 ` Eugene Prokopiev 2005-06-23 18:57 ` Yura Kalinichenko 2005-06-23 19:02 ` Eugene Ostapets 2005-06-24 14:22 ` Eugene Prokopiev 2005-06-24 14:30 ` Eugene Ostapets 2005-06-23 20:49 ` [Comm] " Konstantin A. Lepikhov 2005-06-24 8:51 ` [Comm] " Sergey Vlasov 2005-06-24 14:19 ` Eugene Prokopiev 2005-06-25 13:56 ` Sergey Vlasov [this message] 2005-06-26 18:35 ` Eugene Prokopiev 2005-06-26 18:43 ` Sergey Vlasov 2005-06-26 18:37 ` Eugene Prokopiev 2005-06-24 4:53 ` Mike Lykov 2005-06-25 12:49 ` Alexey Borovskoy 2005-06-25 13:30 ` Alexander Volkov 2005-06-25 16:09 ` [Comm] Продолжение битвы с Bluetooth Sarin 2005-06-26 18:19 ` [Comm] Загрузка с softraid1 Eugene Prokopiev 2005-07-17 12:50 ` Alexey Borovskoy 2005-06-27 13:04 ` [Comm] [SUMMARY] " Eugene Prokopiev
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=20050625135604.GD11285@procyon.home \ --to=vsu@altlinux.ru \ --cc=community@altlinux.ru \ /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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git