ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] raid
@ 2002-12-25  9:25 Андрей Заика
  2002-12-25 10:10 ` Владимир
  2002-12-27 22:15 ` Andrew Grechko
  0 siblings, 2 replies; 5+ messages in thread
From: Андрей Заика @ 2002-12-25  9:25 UTC (permalink / raw)
  To: Рассылка Altlinux

Извините что отнимаю у Вас время у меня возникла проблема
по райду 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
_______________________________________


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

end of thread, other threads:[~2002-12-28  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-25  9:25 [Comm] raid Андрей Заика
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

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