ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Андрей Заика" <ice_one1@mail.ru>
To: "Рассылка Altlinux" <community@altlinux.ru>
Subject: [Comm] raid
Date: Wed, 25 Dec 2002 12:25:30 +0300
Message-ID: <E18R7n8-000DJ5-00@f10.mail.ru> (raw)

Извините что отнимаю у Вас время у меня возникла проблема
по райду 1 никак не могу найти человека разбирающегося может поможете
 
 
У меня рейд 1 массив - два винта
Решил добавить еще два. Сделал raidhotadd 3 и 4 винта
Написало все ОК

Подправил raidtab
=================================
raiddev         /dev/md1
raid-level      1
nr-raid-disks   4
chunk-size      32
nr-spare-disks  0
persistent-superblock   1
device          /dev/scsi/host1/bus0/target0/lun0/disc
raid-disk       0
device          /dev/scsi/host1/bus0/target1/lun0/disc
raid-disk       1
device          /dev/scsi/host1/bus0/target2/lun0/disc
raid-disk       2
device          /dev/scsi/host1/bus0/target3/lun0/disc
raid-disk       3
========================

смотрю /proc/mdstat
========================
Personalities : [raid1]
read_ahead 1024 sectors
md1 : active raid1 scsi/host1/bus0/target3/lun0/disc[3] 
scsi/host1/bus0/target2/lun0/disc[2] 
scsi/host1/bus0/target1/lun0/disc[1] 
scsi/host1/bus0/target0/lun0/disc[0]
      35843584 blocks [2/2] [UU]

unused devices: <none>
========================
Все винты стали, но только два винта в зеркале.

Смотрю /var/log/messages
========================
raid1: spare disk scsi/host1/bus0/target3/lun0/disc
raid1: spare disk scsi/host1/bus0/target2/lun0/disc
raid1: device scsi/host1/bus0/target1/lun0/disc operational as mirror 1
raid1: device scsi/host1/bus0/target0/lun0/disc operational as mirror 0
raid1: raid set md1 active with 2 out of 2 mirrors
========================
т.е. два винта которые я добавил стали spare disk
А мне нужно чтоб они стали operational as mirror 2 и 3
соответственно.
В чем грабли в soft-raid HOW-TO про такое не написано. Может сталкивались.

Спасибо за внимание


Ice.
_______________________________________
@Mail.ru  Национальная почтовая служба
http://www.mail.ru
_______________________________________


             reply	other threads:[~2002-12-25  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-25  9:25 Андрей Заика [this message]
2002-12-25 10:10 ` Владимир
2002-12-27 22:15 ` Andrew Grechko
2002-12-28  9:25   ` [Comm] raid Michael Shigorin
2002-12-28  9:53     ` Andrew Grechko

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=E18R7n8-000DJ5-00@f10.mail.ru \
    --to=ice_one1@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