ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Собрать raid после сбоя и перезагрузки
Date: Sat, 25 Oct 2008 20:53:37 +0400
Message-ID: <20081025165337.GA4787@lks.home> (raw)
In-Reply-To: <4901A9FA.602@rambler.ru>

Hi Денис!

Friday 24, at 01:56:58 PM you wrote:

<skip>
> sde стал после перезагрузки sdb.... (т.к. полетел sdb, его "вытащили", 
> затем "вставили" новый, он стал sde)
> 
> пробую так:
> # mdadm --assemble /dev/md0 --run -v
> mdadm: looking for devices for /dev/md0
> mdadm: /dev/sdd1 has wrong uuid.
> mdadm: /dev/sdc1 has wrong uuid.
> mdadm: /dev/sdb1 has wrong uuid.
> mdadm: /dev/sda1 has wrong uuid.
> mdadm: no devices found for /dev/md0
> 
> # blkid
> /dev/sda1: UUID="4aa4c1e1-a3e5-464c-8305-a2be835250b6" SEC_TYPE="ext2" 
> TYPE="ext3"
> /dev/hda1: UUID="7deb64be-1be5-49dc-9e0f-4ac9381173f2" SEC_TYPE="ext2" 
> TYPE="ext3"
> /dev/sdc1: UUID="75a37462-2c1e-240b-ce20-a292849720eb" TYPE="mdraid"
> /dev/sdd1: UUID="75a37462-2c1e-240b-ce20-a292849720eb" TYPE="mdraid"
> /dev/sdb1: UUID="75a37462-2c1e-240b-ce20-a292849720eb" TYPE="mdraid"
> 
> в конфиге:
> DEVICE /dev/sd[a-d]1
> ARRAY /dev/md0 UUID=4aa4c1e1:a3e5:464c:8305:a2be835250b6
> MAILADDR root
> PROGRAM /sbin/mdadm-syslog-events
После замены диска mdadm перестроил массив, изменив при этом его  uuid,
чтобы нельзя было добавить не то диск. А в конфиге у вас указан масссив со
старыми uuid'ами. Собственно, не совсем понятно, чем вы удивлены и на
какое поведение вы расчитываете.


> 
> П.С. А как бы я собирал массив из дисков на сервере В, если на сервере А 
> полетел контроллер и на В они (диски) опознались по другим именам?
что значит "опознались по другим именам"?

-- 
WBR et al.


  parent reply	other threads:[~2008-10-25 16:53 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
2008-10-24 10:56   ` Денис Ягофаров
2008-10-24 14:15     ` Денис Ягофаров
2008-10-25 16:53     ` Konstantin A. Lepikhov [this message]
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=20081025165337.GA4787@lks.home \
    --to=lakostis@unsafe.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