content_image/981981.jpg
The CLI command for this operation is charray  (see Example 6-24). No feedback is returned. 

IBM_2145:ITSO-SV1:superuser>charray -name Distributed_array mdisk1 IBM_2145:ITSO-SV1:superuser> 

## Swap drive 

Selecting Swap Drive  allows the user to replace a drive in the array with another drive. The other drive needs to have a use status of Candidate  or Spare . This action can be used to perform proactive drive replacement, to replace a drive that is not failed but expected to fail soon, for example, as indicated by an error message in the event log. 

Figure 6-61 shows the dialog box that opens. Select the member drive to be replaced and the replacement drive, and click Swap . 

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

The exchange of the drives starts running in the background. The volumes on the affected MDisk remain accessible during the process. 

The CLI command charraymember  is used to perform this task. Example 6-25 shows replacement of array member ID 7, that was assigned to drive ID 12, with drive ID 17. 

IBM_2145:ITSO-SV1:superuser>lsarraymember 16 mdisk_id mdisk_name member_id drive_id new_drive_id spare_protection 16 Distributed_array 6 18 1 16 Distributed_array 7 12 1 16 Distributed_array 8 15 1 <...> IBM_2145:ITSO-SV1:superuser>lsdrive id status error_sequence_number use tech_type capacity 16 online member tier_enterprise 558.4GB 16 17 online spare tier_enterprise 558.4GB 18 online member tier_enterprise 558.4GB 16 <...> IBM_2145:ITSO-SV1:superuser>charraymember -immediate -member 7 -newdrive 17 Distributed_array IBM_2145:ITSO-SV1:superuser> 

