ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Developers List <devel@altlinux.ru>
Subject: [devel] mkinitrd raid support
Date: Wed, 13 Aug 2003 17:39:02 +0400
Message-ID: <20030813173902.452cef44.vsu@altlinux.ru> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 865 bytes --]

Hello!

В mkinitrd-2.8.8-alt1 вошла поддержка software raid - это хорошо. Но
там надо бы сделать несколько исправлений - см. приложенный патч.

1) Улучшен regexp для поиска raid-устройств в fstab (просто поиск
^/dev/md может поймать, например, LVM volume group с названием,
начинающимся с md).

2) Исправлены имена модулей для raid4 и linear.

3) Файл устройства для raidautorun, во-первых, перемещён в /safedev
(на случай появления devfs), во-вторых, заменён на md255. Причина этой
замены - баг в старых ядрах (2.4.20-alt*, включая и последнее alt9):
если устройство, через которое выдаётся RAID_AUTORUN, запускается этим
вызовом, для него портится счётчик ссылок, в результате raidstop может
его остановить, даже если оно смонтировано (очень неприятно, если
корень на md0 - raidstop вызывается в стандартном скрипте halt).

-- 
Sergey Vlasov

[-- Attachment #1.2: mkinitrd-2.8.8-raid-fix.patch --]
[-- Type: application/octet-stream, Size: 1006 bytes --]

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

             reply	other threads:[~2003-08-13 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-13 13:39 Sergey Vlasov [this message]
2003-08-13 18:30 ` Grigory Milev

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=20030813173902.452cef44.vsu@altlinux.ru \
    --to=vsu@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 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