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: Thu, 23 Jun 2005 18:17:27 +0400
Message-ID: <20050623141727.GD6457@master.mivlgu.local> (raw)
In-Reply-To: <42BAB4AD.3090203@stc.donpac.ru>

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

On Thu, Jun 23, 2005 at 05:10:05PM +0400, Eugene Prokopiev wrote:
> А вчитайтесь лучше в то, что имеет отношение к softraid. Проблема в том, 
> что мне явно пришлось вызвать raidstart и положить в inird 
> соответствующий конфиг (в загрузившейся системе его уже нет). Как 
> загрузить softraid с помощью mdadm без конфига или как сделать так, 
> чтобы вообще ничего явно не грузить, я не понял.

Проблема в том, что поддержка уровней 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.)

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

  parent reply	other threads:[~2005-06-23 14:17 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 [this message]
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
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=20050623141727.GD6457@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