ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] mkinitrd EVMS RAID1 ALS 4.0.1
Date: Thu, 25 Oct 2007 17:14:30 +0400
Message-ID: <472096B6.7030501@solin.spb.ru> (raw)
In-Reply-To: <200710250045.59354.alexey.borovskoy@gmail.com>

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

Alexey Borovskoy пишет:
> * Среда 24 октября 2007 Aleksey Avdeev
> 
>> Alexey Borovskoy пишет:
>>> Добрый день.
>>>
>>> Дано: ALS 4.0.1, EVMS, RAID1.
>>>
>>> Необходимо сдвинуть корень на MD.
>>> /etc/raidtab и mdadm нет.
>>>
>>> mkinitrd --with-raid --preload raid1.ko не добавляет в
>>> initrd вызов raidautorun.
>>                        ^^^^^^^^^
>>
>>   --preload возможно стоит заменить на --with (у меня, при
>> --preload raid пытался подняться до активации дисковых
>> контроллеров) + добавить --with-raid (как правило его
>> использую).
> 
> Внутри генерируемого initrd, в скрипте init нету строчки
> /bin/raidautorun /safedev/md255

  Новый mkinitrd (mkinitrd-3.0.5-alt1 -- точно) использует несколько
другой механизм (смотрю на initrd-2.6.18-std-smp-alt6.img):

1. /bin/raidautorun -- отсутствует как класс.

2. Активизация raid`ов выполняется при загрузке модулей.

3. Часть работы выполняет /scripts/local-top (см.
<http://lists.altlinux.org/pipermail/devel/2007-October/065190.html>).

> 
> Смотрел через --pause.
> 
> Для эксперимента генерил с исправленной копией --fstab и 
> фейковым /etc/raidtab.
> 
> Или ему нужен реально существующий и запущенный /dev/md0?

  Пока незнаю.

PS: Я сейчас с поднятием LVM поверх SoftRAID1 в 2.6.18-xen026-alt1
борюсь (см.
<http://lists.altlinux.org/pipermail/devel/2007-October/065182.html> --
возможно тред наталкнёт на мысли).

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

  reply	other threads:[~2007-10-25 13:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24  0:10 Alexey Borovskoy
2007-10-24  5:29 ` Aleksey Avdeev
2007-10-24 11:45   ` Alexey Borovskoy
2007-10-25 13:14     ` Aleksey Avdeev [this message]
2007-10-28  4:53     ` Aleksey Avdeev
2007-10-24  8:23 ` 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=472096B6.7030501@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git