ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Денис Ягофаров" <denyago@rambler.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Собрать raid после сбоя и перезагрузки
Date: Fri, 24 Oct 2008 11:33:21 +0300
Message-ID: <49018851.4070300@rambler.ru> (raw)

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

Доброго времени суток.

Создал 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
ARRAY /dev/md0 level=10 num-devices=4 
UUID=4aa4c1e1:a3e5:464c:8305:a2be835250b6
MAILADDR root
PROGRAM /sbin/mdadm-syslog-events

Как мне собрать массив?


[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 281 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
x-mozilla-html:FALSE
version:2.1
end:vcard


             reply	other threads:[~2008-10-24  8:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24  8:33 Денис Ягофаров [this message]
2008-10-24  8:51 ` Денис Ягофаров
2008-10-24 10:16 ` Alexey Shabalin
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=49018851.4070300@rambler.ru \
    --to=denyago@rambler.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