ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Alexey Shabalin" <a.shabalin@gmail.com>
To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Собрать raid после сбоя и перезагрузки
Date: Fri, 24 Oct 2008 14:16:49 +0400
Message-ID: <b966c1e40810240316i310c31e2i5b63e1f18184247c@mail.gmail.com> (raw)
In-Reply-To: <49018851.4070300@rambler.ru>

24 октября 2008 г. 12:33 пользователь Денис Ягофаров написал:
> Доброго времени суток.
>
> Создал raid массив:
> mdadm  --create /dev/md0 --level=10  --name=test10 --raid-devices=4
> /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
>
> Потом один из дисков (тестово) полетел...
> mdadm --manage /dev/md0 --fail /dev/sdb1
>
> Добавил другой вместо него (вынутый-вставленный "полетевший"):
> mdadm --manage /dev/md0 --add /dev/sde1
>
> Массив перестроился.
>
> После этого перезагрузился. Устройство /dev/md0 есть, массива нет.
> # chkconfig --list | grep mdadm
> mdadm           0:off   1:off   2:off   3:off   4:off   5:off   6:off
>
> Собираю руками:
> # mdadm --assemble /dev/md0 --scan
> mdadm: no devices found for /dev/md0
>
> В конфиге:
> DEVICE /dev/sd[a-d]1
может ошибаюсь, но Вы же добавили диск sde. А в конфиг он не попадает.

> ARRAY /dev/md0 level=10 num-devices=4
> UUID=4aa4c1e1:a3e5:464c:8305:a2be835250b6
> MAILADDR root
> PROGRAM /sbin/mdadm-syslog-events
>
> Как мне собрать массив?


-- 
Alexey Shabalin

  parent reply	other threads:[~2008-10-24 10:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24  8:33 Денис Ягофаров
2008-10-24  8:51 ` Денис Ягофаров
2008-10-24 10:16 ` Alexey Shabalin [this message]
2008-10-24 10:56   ` Денис Ягофаров
2008-10-24 14:15     ` Денис Ягофаров
2008-10-25 16:53     ` Konstantin A. Lepikhov
2008-10-25 20:35       ` Maks Re
2008-10-26  9:22         ` Ivan Fedorov
2008-10-26 22:38           ` Aleksey Avdeev
2008-10-27  8:22             ` Yuri Bushmelev
2008-10-27 12:18             ` Ivan Fedorov
2008-10-27 14:28               ` Aleksey Avdeev
2008-10-28 10:17                 ` Денис Ягофаров
2008-10-28 11:11                   ` Aleksey Avdeev
2008-10-29 11:14                   ` Sergey Vlasov
2008-10-29 12:19                     ` Aleksey Avdeev
2008-10-29 11:20       ` Sergey Vlasov
2008-10-29 11:44         ` Maks Re

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=b966c1e40810240316i310c31e2i5b63e1f18184247c@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=shaba@altlinux.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