Возникла ситуёвина:
В машинке (FreeBSD 6.2-STABLE; AMD Athlon(tm) 64 X2 Dual Core Processor 4200+) стоит сата-рэйд контроллер (Adaptec 21610sa, 16 сата1 дырок), на нем взведено 4 RAID5 по 4 320гб диска в каждом:
Код: Выделить всё
aacd2: <RAID 5> on aac0
aacd2: 915522MB (1874989056 sectors)
...
Код: Выделить всё
GEOM_STRIPE: Device str0 created (id=1912026787).
GEOM_STRIPE: Disk aacd0 attached to str0.
GEOM_STRIPE: Disk aacd1 attached to str0.
...
С некоторых пор один из рэйдов (спасибо отключениям питания) то ли потерял свой конфиг, то ли рассыпался, вобщем, случился с ним offline. Плюс к этому в массиве есть отвалившийся мембер с dead partition, переинитить кот. нельзя, ибо контроллер не признает сам массив. В онлайн же массив не встает, ибо есть лост мембер.
Чуть подробнее:
Код: Выделить всё
Executing: container list
Num Total Oth Stripe Scsi Partition
Label Type Size Ctr Size Usage C:ID:L Offset:Size
----- ------ ------ --- ------ ------- ------ -------------
0 RAID-5 894GB 256KB Valid 0:01:0 64.0KB: 298GB
/dev/aacd0 0 0:00:0 64.0KB: 298GB
0:05:0 64.0KB: 298GB
0:04:0 64.0KB: 298GB
1 RAID-5 894GB 256KB Valid 0:07:0 64.0KB: 298GB
/dev/aacd1 1 0:06:0 64.0KB: 298GB
0:03:0 64.0KB: 298GB
0:02:0 64.0KB: 298GB
2 RAID-5 894GB 256KB Valid 1:00:0 64.0KB: 298GB
/dev/aacd2 2 1:01:0 64.0KB: 298GB
1:03:0 64.0KB: 298GB
1:02:0 64.0KB: 298GB
3 RAID-5 894GB 256KB UnCfged 1:04:0 64.0KB: 298GB
1:05:0 64.0KB: 298GB
1:06:0 64.0KB! 298GB
1:07:0 64.0KB: 298GB
Код: Выделить всё
Executing: container restore RAID5 3
Command Error: <This operation is only valid for a RAID-5 set. You may have attempted to execute this operation in error. If not, select the proper RAID-5 set and retry the operation.>
Код: Выделить всё
Executing: container readwrite 3
Command Error: <The specified container was not found.>
Код: Выделить всё
AAC0> dis rem ?
disk remove dead_partitions - This command will remove all dead
partitions from a disk.
Код: Выделить всё
AAC0> conta set fail ?
container set failover - Assigns failover space to a specific container.
FORMAT - container set failover {container} {scsi_device} [{scsi_device}...]
но
Код: Выделить всё
AAC0> conta set fail 3 (1:06:0)
Executing: container set failover 3 (BUS=1,ID=6,LUN=0)
Command Error: <The specified container was not found.>
Код: Выделить всё
AAC0> conta crea rai ?
container create raid5 - Creates a RAID5 set.
FORMAT - container create raid5 {free_space} [{scsi_device}...]
/cache - Enables the containers RAW mode cache.
/chunk_size - Same as /stripe_size.
/stripe_size - Specifies the stripe size for the RAID5 set. Defaults to 64K.
/label - Specifies the label to assign to the RAID5 set to be created.
/scrub - Specifies that parity should be created by scrubbing. Access
will be allowed immediately. Default is TRUE.
/wait - If specified, command will return only after the parity is
created. Default is FALSE.
/clear - If you specify TRUE, the command sets up the parity during
RAID-5 creation by clearing the entire RAID-5 set. The default is FALSE
(i.e., the command does not clear the entire RAID-5 set).
Количество контейнеров, тем не менее, правильное:
Код: Выделить всё
AAC0> conta sho fail
Executing: container show failover
Container Scsi C:ID:L
--------- ----------------------------------
0 --- No Devices Assigned ---
1 --- No Devices Assigned ---
2 --- No Devices Assigned ---
Command Error: <The specified container was not found.>
Прошивка контроллера последняя, с адаптековского сайту.
На днях попробую с виндовой программкой (http://3nity.ru/viewtopic.htm?t=7874) - о результатах отпишусь.
Заранее спасибо за ответы.