ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Загрузка с softraid1
Date: Fri, 24 Jun 2005 12:51:08 +0400
Message-ID: <20050624085108.GA8365@master.mivlgu.local> (raw)
In-Reply-To: <42BADE31.6010601@stc.donpac.ru>

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

On Thu, Jun 23, 2005 at 08:07:13PM +0400, Eugene Prokopiev wrote:
> >Проблема в том, что поддержка уровней RAID вынесена из ядра в загружаемые
> >модули (как, впрочем, и драйверы SCSI, а в последних ядрах std26 - и IDE).
> >В результате встроенный в ядро код автозапуска RAID не может без
> >дополнительных утилит в userspace запустить массивы.
> >
> >Однако есть возможность после загрузки необходимых модулей выполнить
> >автозапуск RAID повторно - путём вызова ioctl RAID_AUTORUN.  Именно это и
> >делает утилита raidautorun, собираемая в пакете mkinitrd-busybox (в
> >стандартном наборе утилит busybox raidautorun отсутствует - добавляется
> >патчем).  mkinitrd при обнаружении /dev/md* в /etc/fstab и наличии
> >/etc/raidtab включает в initrd модули для поддержки RAID (список
> >используемых уровней RAID берётся из raidtab) и добавляет вызов
> >raidautorun /dev/md255 в linuxrc после загрузки всех модулей.  (/dev/md255
> >используется для обхода ошибки в старых ядрах (<= 2.4.20) - применение
> >raidautorun к устройству, которое при этом запускается, приводило к oops.)
> 
> правильно ли я понимаю, что в ALM 2.4 mkinitrd-busybox c этим патчем 
> отсутствует? Где брать патч?

В ALM 2.4 этот патч (и соответствующая поддержка в mkinitrd) уже есть;
установка / на RAID (без LVM) средствами инсталятора вроде бы
предусмотрена, но глючит.

> И можно ли как-нибудь обойтись без raidtab внутри initrd? А то 
> получается что этот initrd слишком уж привязан к конфигурации текущей 
> системы и его не перенести без исправлений на другую.

При использовании raidautorun файл raidtab внутри initrd не нужен -
запускаются все массивы, компоненты которых находятся в разделах с типом
0xfd.  raidtab нужен только для штатного mkinitrd.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-06-24  8:51 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     ` Sergey Vlasov [this message]
2005-06-24 14:19       ` [Comm] " Eugene Prokopiev
2005-06-25 13:56         ` Sergey Vlasov
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=20050624085108.GA8365@master.mivlgu.local \
    --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