ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] U: Работает ли автостарт softraid в XEN?
Date: Thu, 25 Oct 2007 21:12:42 +0400
Message-ID: <20071025171242.GA5037@procyon.home> (raw)
In-Reply-To: <471ED43A.4040504@solin.spb.ru>

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

On Wed, Oct 24, 2007 at 09:12:26AM +0400, Aleksey Avdeev wrote:
> > Т.е., после md_run (или mdassemble) нужно лишний раз дёрнуть
> > /sys/block/md0/uevent, чтобы для него прочитался uuid.  Хотя,
> > возможно, для mdassemble этого будет мало.
> 
>   OK, проверю.

Оказывается, в ядре kernel-image-xen026-2.6.18-alt1 отсутствуют
какие-либо патчи, кроме kernel-feat-arch-xen (причём это ядро
собирается ещё по старой схеме).  С таким ядром монтирование корня на
/dev/mdX по UUID/LABEL работать не будет; для правильной работы
необходимы патчи к драйверу md, используемые в ядре std-smp - как
минимум вот эти:

http://git.altlinux.org/people/vsu/packages/kernel-image-2.6.18.git?p=kernel-image-2.6.18.git;a=commitdiff;h=beb72c9273b911102ec6a0fee5ee318f8c156530
http://git.altlinux.org/people/vsu/packages/kernel-image-2.6.18.git?p=kernel-image-2.6.18.git;a=commitdiff;h=a6138c85672b4f537de02a63563db982b5c0e957

Без этих патчей udevd не может правильно сформировать ссылки с UUID
при запуске RAID, поскольку ядро не формирует соответствующие события.
Правда, можно попытаться обойти эту проблему через посылку событий по
всем /sys/block/md*/uevent после mdassemble.

Кстати, в Сизифе обнаружилось ядро kernel-image-xen-dom0-2.6.18-alt2,
которое вроде бы предназначено для xen dom0, но при этом основано на
kernel-image-std-smp-2.6.18-alt7 - там есть нужные патчи для md.

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

  reply	other threads:[~2007-10-25 17:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 12:46 Aleksey Avdeev
2007-10-23 19:25 ` Sergey Vlasov
2007-10-23 19:28   ` Aleksey Avdeev
2007-10-23 19:51     ` Peter V. Saveliev
2007-10-24  5:15       ` [devel] U: Работаея┌ п╩п╦ п╟п╡я┌п╬я│я┌п╟я─я┌ softraid п╡ XEN? Aleksey Avdeev
2007-10-23 20:30     ` [devel] U: Работает ли автостарт softraid в XEN? Sergey Vlasov
2007-10-24  5:12       ` Aleksey Avdeev
2007-10-25 17:12         ` Sergey Vlasov [this message]
2007-10-25 18:12           ` Михаил Якушин
2007-10-25 15:46     ` Aleksey Avdeev
2007-10-25 16:01       ` Aleksey Avdeev

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=20071025171242.GA5037@procyon.home \
    --to=vsu@altlinux.ru \
    --cc=devel@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 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