aaccli question

Joseph Mays mays at win.net
Tue Oct 13 16:09:39 UTC 2009


> Set the disk as a global spare, the rebuild should happen immediately  
> once you do that.

Tried that now, but no luck. Perhaps I did it wrong. Tried setting the disk specifically as a failover for the container, too.

AAC0> container set global_failover 03
Executing: container set global_failover (ID=3)

AAC0> disk list
Executing: disk list

C:ID:L  Device Type     Blocks    Bytes/Block Usage            Shared Rate
------  --------------  --------- ----------- ---------------- ------ ----
0:01:0   Disk            71775284  512         Initialized      NO     320
0:02:0   Disk            71775284  512         Initialized      NO     320
0:03:0   Disk            71775284  512         Initialized      NO     320
0:04:0   Disk            71775284  512         Initialized      NO     320

AAC0> container list
Executing: container list
Num          Total  Oth Stripe          Scsi   Partition
Label Type   Size   Ctr Size   Usage   C:ID:L Offset:Size
----- ------ ------ --- ------ ------- ------ -------------
 0    RAID-5 68.3GB      256KB Open    0:01:0 64.0KB:34.1GB
 /dev/aacd0           admin4           0:02:0 64.0KB:34.1GB
                                       0:04:0 64.0KB:34.1GB

AAC0> task list
Executing: task list

Controller Tasks

TaskId Function  Done%  Container State Specific1 Specific2
------ -------- ------- --------- ----- --------- ---------

No tasks currently running on controller

AAC0> container set failover 0 03
Executing: container set failover 0 (ID=3)

AAC0> task list
Executing: task list

Controller Tasks

TaskId Function  Done%  Container State Specific1 Specific2
------ -------- ------- --------- ----- --------- ---------

No tasks currently running on controller



More information about the freebsd-scsi mailing list