Chapter 6. Storage pools 211
Figure 6-28   An offline drive is marked as failed
To set the drive offline with the CLI, use chdrive. See Example 6-12. This command returns 
no feedback.
Example 6-12   Setting drive offline with CLI
IBM_Storwize:ITSOV7K::superuser>chdrive -use failed 3
IBM_Storwize:ITSOV7K::superuser>
Action: Mark as
Select Mark as to change the usage that is assigned to the drive, as shown in Figure 6-29. A 
list of available use options depends on current drive state and allowed state changes, as was 
shown in Figure 6-25 on page 209.
Figure 6-29   A drive can be marked as Unused, Candidate, or Spare
To change the drive role with the CLI, use chdrive. See Example 6-13. It shows the drive that 
was set offline with a previous command is set to spare. Notice that it can’t go from Failed to 
Spare use in one step. It needs to be assigned to a Candidate role before.
Example 6-13   Changing drive role with CLI
IBM_Storwize:ITSOV7K:superuser>lsdrive -filtervalue status=offline
id status  error_sequence_number use    tech_type       capacity mdisk_id 
3  offline                       failed tier_enterprise 558.4GB 
IBM_Storwize:ITSOV7K:superuser>chdrive -use spare 3
CMMVC6537E The command cannot be initiated because the drive that you have 
specified has a Use property that is not supported for the task.
IBM_Storwize:ITSOV7K:superuser>chdrive -use candidate 3
IBM_Storwize:ITSOV7K:superuser>chdrive -use spare 3
IBM_Storwize:ITSOV7K:superuser>