ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] software raid missing disk
@ 2007-02-05 15:25 Ilia Menchikh
  2007-02-05 17:01 ` Gennadiy Redko
  2007-02-05 20:56 ` Michael Shigorin
  0 siblings, 2 replies; 3+ messages in thread
From: Ilia Menchikh @ 2007-02-05 15:25 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

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

Словил сегодня благодаря аварийному выключению питания:

$ cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md5 : active raid1 hdc10[0]
      174168576 blocks [2/1] [U_]

md4 : active raid1 hdc9[0]
      39069952 blocks [2/1] [U_]

[кусь]

Диски живые но raidstart не отработал:

Feb  5 13:19:39 tormoz kernel: md: md5: raid array is not clean --
starting background reconstruction
Feb  5 13:19:39 tormoz kernel: md: md4: raid array is not clean --
starting background reconstruction
Feb  5 13:19:40 tormoz kernel: md: md4: raid array is not clean --
starting background reconstruction
Feb  5 13:19:40 tormoz kernel: raid1: device hdc9 operational as mirror
0
Feb  5 13:19:40 tormoz kernel: raid1: md4, not all disks are operational
-- trying to recover array
Feb  5 13:19:40 tormoz kernel: raid1: raid set md4 active with 1 out of
2 mirrors
Feb  5 13:19:40 tormoz kernel: md: md5: raid array is not clean --
starting background reconstruction
Feb  5 13:19:40 tormoz kernel: raid1: device hdc10 operational as mirror
0
Feb  5 13:19:40 tormoz kernel: raid1: md5, not all disks are operational
-- trying to recover array
Feb  5 13:19:40 tormoz kernel: raid1: raid set md5 active with 1 out of
2 mirrors


Вопрос, можно ли восстановить рейд без переинициализации? 
Кто-нибудь такое лечил?

PS. Чтение манов/howto просветления не принесло.

-- 
С Уважением
Илья Меньших
ЗАО Издательский дом "Комсомольская Правда"
mailto: <iluxa@kp.ru>
icq: 175037115




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] software raid missing disk
  2007-02-05 15:25 [Sysadmins] software raid missing disk Ilia Menchikh
@ 2007-02-05 17:01 ` Gennadiy Redko
  2007-02-05 20:56 ` Michael Shigorin
  1 sibling, 0 replies; 3+ messages in thread
From: Gennadiy Redko @ 2007-02-05 17:01 UTC (permalink / raw)
  To: iluxa, ALT Linux sysadmin discuss

Ilia Menchikh пишет:
> Здравствуйте!
> 
> Словил сегодня благодаря аварийному выключению питания:
<skip>
> 
> Вопрос, можно ли восстановить рейд без переинициализации? 
А а добавлять "вылетевшие" диски с помощью mdadm не пробовали?


$man mdadm

...............
For Manage mode:
       -a, --add
              hot-add listed devices.

       --re-add
              re-add a device that was recently removed from an
array.
.......................

> Кто-нибудь такое лечил?
> 
> PS. Чтение манов/howto просветления не принесло.
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] software raid missing disk
  2007-02-05 15:25 [Sysadmins] software raid missing disk Ilia Menchikh
  2007-02-05 17:01 ` Gennadiy Redko
@ 2007-02-05 20:56 ` Michael Shigorin
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2007-02-05 20:56 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

On Mon, Feb 05, 2007 at 06:25:33PM +0300, Ilia Menchikh wrote:
> md5 : active raid1 hdc10[0]
>       174168576 blocks [2/1] [U_]
> Диски живые но raidstart не отработал:
> Feb  5 13:19:39 tormoz kernel: md: md5: raid array is not clean --
> starting background reconstruction
> Вопрос, можно ли восстановить рейд без переинициализации? 

Да.

> Кто-нибудь такое лечил?

raidhotadd или mdadm --add (IIRC)

> PS. Чтение манов/howto просветления не принесло.

Главное -- "да", а теперь почитайте поспокойней.
Проверено в подобной ситуации, помогает ;)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-05 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-05 15:25 [Sysadmins] software raid missing disk Ilia Menchikh
2007-02-05 17:01 ` Gennadiy Redko
2007-02-05 20:56 ` Michael Shigorin

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