content_image/1000969.jpg
## Set spare goal or Set Rebuild Areas Goal 

Selecting this option allows you to set the number of spare drives (on TRAID) or rebuild areas (on DRAID) that are required to protect the array from drive failures. 

If the number of rebuild areas available does not meet the configured goal, an error is logged in the event log, as shown in Figure 6-62. This error can be fixed by replacing failed drives in the DRAID array. 

<img src='content_image/1000969.jpg'>

Note:  This option does not change the internal DRAID configuration. It specifies only the level at which a warning event is generated. Setting the goal to 0 does not prevent array from rebuilding to a spare drive. 

In the CLI, this task is performed with charray  (see Example 6-26). 

IBM_2145:ITSO-SV1:superuser>lsarray mdisk_id mdisk_name status mdisk_grp_id mdisk_grp_name distributed 0 mdisk0 online 0 mdiskgrp0 no 16 Distributed_array online 1 mdiskgrp1 yes IBM_2145:ITSO-SV1:superuser>charray -sparegoal 2 mdisk0 IBM_2145:ITSO-SV1:superuser>charray -rebuildareasgoal 0 Distributed_array 

## Delete 

Selecting Delete  removes the array from the storage pool and deletes it. An array MDisk does not exist outside of a storage pool. Therefore, an array cannot be removed from the pool without being deleted. All drives that belong to the deleted array return into Candidate . 

