ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Borovskoy <alexey_borovskoy@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Подключение диска к RAID1
Date: Wed, 27 Jul 2005 01:48:53 +1300
Message-ID: <200507270149.02489.alexey_borovskoy@mail.ru> (raw)
In-Reply-To: <200507261120.58552.slavutich@grecea.net>

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

* Вторник 26 Июль 2005 21:20 Slava Grecea

> Добрый день.
>
> На момент установки М2.4 на RAID1 был в наличии всего один
> винт. Его я и подключил к RAID-у. Второй принесли позже.
> Пытаюсь подключить. Кусок raidtab-а:
> raiddev /dev/md0
>  raid-level   1
>  persistent-superblok 1
>  nr-raid-disks  2

nr-spare-disks 0

>  chunk-size   64k
>  device   /dev/hda1
>  raid-disk   0
>  device   /dev/hdc1
>  raid-disk   1
>
> Пытаюсь подключить разделы со 2-го диска
> raidhotadd /dev/md0 /dev/hdc1
> В ответ получаю:
>
> lsraid -a /dev/md0
> [dev 9, 0] /dev/md0 xxxxxx.xxxxxxx.xxxxxxx.xxxxxxx online
> [dev 3, 1] /dev/hda1 xxxxxx.xxxxxxx.xxxxxxx.xxxxxxx good
> [dev 22, 1] /dev/hdc1 xxxxxx.xxxxxxx.xxxxxxx.xxxxxxx spare

mdadm -f /dev/md0 /dev/hdc1
mdadm -r /dev/md0 /dev/hdc1
mdadm -a /dev/md0 /dev/hdc1

-- 
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63  2753 E37A 9E3F 11F3 BDE1

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2005-07-26 12:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-26  8:20 Slava Grecea
2005-07-26 12:41 ` Aleksey Avdeev
2005-07-26 14:29   ` Slava Grecea
2005-07-27 10:22     ` Aleksey Avdeev
2005-07-29 22:33     ` [Comm] [faq] " Michael Shigorin
2005-07-26 12:48 ` Alexey Borovskoy [this message]

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=200507270149.02489.alexey_borovskoy@mail.ru \
    --to=alexey_borovskoy@mail.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git