From: Michael Shigorin <mike@osdn.org.ua> To: ALT Developers List <devel@altlinux.ru>, devel-kernel <devel-kernel@altlinux.ru> Subject: Re: [d-kernel] software raid root Date: Thu, 10 Jul 2003 16:48:58 +0300 Message-ID: <20030710134858.GK1734@osdn.org.ua> (raw) In-Reply-To: <20030709202051.44fbda1d.vsu@altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 1695 bytes --] On Wed, Jul 09, 2003 at 08:20:51PM +0400, Sergey Vlasov wrote: > Я позанимался вопросом загрузки системы с корнем на software > RAID (на простом md - без EVMS). Сейчас это у нас не работает - > а зря. Именно. > Причина неработоспособности очевидна: автоопределение разделов > с RAID происходит слишком рано - ещё до обработки initrd, когда > никакие модули RAID ещё не загружены; в самом initrd тоже нет > средств для запуска RAID. Да. В RH -- есть. > Возможны два подхода к решению этой проблемы: > 1) Использование уже имеющихся средств автооопределения > разделов RAID с соответствующими исправлениями, чтобы > автозапуск RAID выполнялся из initrd после загрузки всех нужных > модулей. В шляпе так и лежит: --- initrd#uzip:/linuxrc #!/bin/nash echo "Loading scsi_mod module" insmod /lib/scsi_mod.o echo "Loading sd_mod module" insmod /lib/sd_mod.o echo "Loading aic7xxx module" insmod /lib/aic7xxx.o echo "Loading raid1 module" insmod /lib/raid1.o echo "Loading jbd module" insmod /lib/jbd.o echo "Loading ext3 module" insmod /lib/ext3.o echo Mounting /proc filesystem mount -t proc /proc /proc echo Creating root device mkrootdev /dev/root raidautorun /dev/md0 echo 0x0100 > /proc/sys/kernel/real-root-dev echo Mounting root filesystem mount --ro -t ext3 /dev/root /sysroot umount /proc pivot_root /sysroot /sysroot/initrd --- > 2) Запуск RAID с помощью raidstart из initrd. Мне тоже не очень нравится. Если есть удобная вещь -- почему бы ей и не пользоваться? > Получился следующий набор патчей (два в mkinitrd и два в ядро): О, а вот это я постараюсь проверить до конца недели. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-07-10 13:48 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-07-09 17:57 ` Алексей Любимов 2003-07-10 13:48 ` Michael Shigorin [this message] 2003-07-11 15:50 ` [d-kernel] " Sergey Vlasov 2003-07-18 14:20 ` Sergey Vlasov 2003-07-18 14:24 ` Anton Farygin 2003-07-12 16:46 ` [d-kernel] " Michael Shigorin 2003-07-12 17:21 ` Michael Shigorin 2003-07-14 12:00 ` [d-kernel] " Sergey Vlasov 2003-07-14 12:33 ` Michael Shigorin 2003-07-14 13:08 ` Sergey Vlasov 2003-07-14 13:44 ` Michael Shigorin 2003-07-14 14:26 ` Sergey Vlasov 2003-07-14 14:57 ` Michael Shigorin
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=20030710134858.GK1734@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=devel-kernel@altlinux.ru \ --cc=devel@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 kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git