ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] p8, mdadm 3.3.4 иногда не собирает RAID1 из 4-x (=?utf-8?b?0LDQs9Cw?=) разделов
Date: Mon, 2 Mar 2020 18:04:56 +0300
Message-ID: <20200302150456.GR3555@imap.altlinux.org> (raw)
In-Reply-To: <202003021821.52321.a_s_y@sama.ru>

On Mon, Mar 02, 2020 at 06:21:52PM +0400, Sergey wrote:
> То есть md1 зеркало на 4-x разделах. Вроде как mdadm такое умеет,
> и это работает.

Да, у меня бывали такие варианты (MDRAID1 / + MDRAID10 данные).

> Но, иногда, при загрузке md1 оказывается в статусе
> 
> md1 : inactive sda1[1](S) sdc1[2](S) sdb1[0](S)
>       589632 blocks
> 
> Блоков 196544*3, как будто пытается собраться страйп. И из 3-х почему-то.
> Хотя опыт в работе с софтраид у меня минимальный, может с блоками так и
> должно быть у inactive массива?

Покопался чуть в яндексе -- вспомнил вот про такое:
https://superuser.com/questions/117824/how-to-get-an-inactive-raid-device-working-again/118251#118251
("mdadm --examine --scan >> /etc/mdadm.conf")

Если оно, после стоит перегенерировать initrd.

> md0, при этом, всегда собирается, и там всё нормально. Долгие
> годы /boot был на /dev/sda1, дошли вот руки собрать первые
> разделы в RAID1.  Кто виноват, и что делать? Метадата 0.9 у
> обоих md.

_Возможно_, см. тж. недавнее обсуждение в make-initrd@:
https://lists.altlinux.org/pipermail/make-initrd/2020-February/000201.html
-- но там на выходе было состояние auto read-only, а не inactive.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


  reply	other threads:[~2020-03-02 15:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 14:21 Sergey
2020-03-02 15:04 ` Michael Shigorin [this message]
2020-03-02 16:35   ` Sergey

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=20200302150456.GR3555@imap.altlinux.org \
    --to=mike@altlinux.org \
    --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