From: Sergey Vlasov <vsu@altlinux.ru> To: ALT Devel discussion list <devel@altlinux.ru>, sisyphus@altlinux.ru Subject: Re: [devel] md failed Date: Fri, 28 Nov 2003 11:18:28 +0300 Message-ID: <20031128081828.GB1762@sirius.home> (raw) In-Reply-To: <20031128081753.1caf5d01.bga@altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 1699 bytes --] On Fri, Nov 28, 2003 at 08:17:53AM +0300, Grigory Batalov wrote: > On Thu, 27 Nov 2003 23:43:09 +0300 > Marat Khairullin <xmm@altlinux.ru> wrote: > > > Попробовал поставить Мастер2.2 с root на md raid1: > > при инсталяции предупредили о необходимости отдельного /boot (зачем? - отказался) > > А что ответило lilo, прочитав lilo.conf? > > > При старте md грузится раньше распаковки initrd с модулем raid1. > > > > Я могу загрузиться с root=/dev/hda1 и пересобрать ядро с встроенным raid1 С таким способом загрузки надо обращаться аккуратно. Самый надёжный способ - вообще отключить второй диск, потом разобраться с инициализацией RAID, потом как минимум один раз загрузиться с RAID, и уже потом подключать второй диск и пересинхронизировать RAID. Либо можно после такой загрузки затереть зеркало /dev/hda1 на втором диске (полностью через dd). Т.е. если шла работа с разделом мимо RAID, необходимо его пересинхронизировать - иначе при следующем запуске RAID эти изменения так и не попадут на второй диск, а при чтении будут читаться данные то с одного, то с другого диска. С некорневыми разделами эта проблема не возникнет - там RAID запустится из скриптов при загрузке. > > и пересоздать raid, но может есть способ быстрее/правильнее? > > Взять mkinitrd из Сизифа (у меня mkinitrd-2.8.9-alt2, работает). Именно. Причём будет работать и с ядром из Master 2.2. > Учитывая, что модуль raid1 загружен, я бы посмотрел > на lilo.conf, fstab, raidtab и таблицу разделов дисков. Тут дело совсем не в этом. После загрузки модулей RAID из initrd команду на запуск RAID необходимо давать тоже из initrd, а старый mkinitrd этого делать не умеет. Этот вопрос уже многократно обсуждался. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-11-28 8:18 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-11-27 20:43 Marat Khairullin 2003-11-28 5:17 ` Grigory Batalov 2003-11-28 8:18 ` Sergey Vlasov [this message] 2003-11-28 3:47 ` Victor V Ismakaev 2003-11-28 12:59 ` Marat Khairullin
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=20031128081828.GB1762@sirius.home \ --to=vsu@altlinux.ru \ --cc=devel@altlinux.ru \ --cc=sisyphus@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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git