ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Terechkov Evgenii <evg-krsk@yandex.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] systemd and software raid
Date: Wed, 08 Aug 2012 20:44:48 +0800
Message-ID: <m3y5lpy2m7.fsf@thinkpad.evg-krsk.dyndns.org> (raw)

Здравствуйте.

Играюсь с systemd в виртуалке. А именно, смигрировал на него сизиф по
рекомендациям на вики.

Однако наблюдается проблема с загрузкой програмного рейда (два
виртуальных диска побиты на разделы и разделы попарно сформированы в
raid1, все фс ext4 монтируются со своих рейдов). Выглядит следующим
образом:

Система успешно загружается с корня на /dev/md2, говорит что нашла своп
на /dev/md1, но не может его активировать, т.к. swapon не нашел нужного
заголовка на разделе. Также не монтируются /home (md5) и /var (md6) с
руганью mount-а о ненайденном суперблоке. Соответственно, предлагается
войти рутом и поправить ситуацию.

Входим, смотрим /proc/mdstat и видим что /dev/md1 и /dev/md6 в отличном
здравии, но от /dev/md5 осталась только одна половинка, да и та в
состоянии spare, (S). Делаем mount /var && swapon /dev/md1 - проходят
успешно. Делаем mdadm --stop /dev/md5 && mdadm --assemble --scan &&
mount /home - тоже всё проходит успешно. Выходим из спасательного шелла
и система успешно загружается до конца.

Обновил систему до сегодняшнего сизифа (новые systemd+udev) - изменений
не увидел.

Такое ощущение, что наткнулся на гонку. Подскажите, что можно
посмотреть. Или сразу в багзиллу?

-- 
                                                С уважением, Терешков
                                                Евгений.

             reply	other threads:[~2012-08-08 12:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08 12:44 Terechkov Evgenii [this message]
2012-08-08 14:28 ` Alexey Shabalin
2012-08-09 16:22   ` Евгений Терешков

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=m3y5lpy2m7.fsf@thinkpad.evg-krsk.dyndns.org \
    --to=evg-krsk@yandex.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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