White Papers

62 Version 1.2.0
8.19 DCIM_RAIDService.UnassignSpare() 857
The UnassignSpare() method is used to unassign a physical disk as a dedicated hot spare from a virtual 858
disk, or as a global hot spare. After the method executes successfully the physical disk shall be available 859
for use. 860
Table 80DCIM_RAIDService.UnassignSpare() Method: Return Code Values 861
Value Description
0 Request was successfully executed.
2 Error occurred
Table 81DCIM_RAIDService.UnassignSpare() Method: Standard Messages 862
MessageID(OUT parameter) Message
STOR003 Missing parameter
STOR004 Invalid parameter value
STOR006 General failure
STOR007 Resource Allocation Failure
STOR009
Physical disk FQDD did not identify a valid
physical disk for the operation
863
Table 82DCIM_RAIDService.UnassignSpare() Method: Parameters 864
Qualifiers Name Type Description/Values
IN, REQ Target String FQDD of target device (Physical Disk)
OUT
RebootRequired
String
A value of “Yes” means a reboot is required to set
this value, and a value of “No” means a reboot is
not required to set this value
OUT MessageID String
Error MessageID is returned If the method fails to
execute.
OUT Message String
Error Message in English corresponding to
MessageID is returned If the method fails to
execute.
OUT MessageArguments[] String Substitution variables for dynamic error messages
8.20 DCIM_RAIDService.ConvertToRAID() 865
The ConvertToRAID() method is used to convert a physical disks in Non-RAID state to a state usable for 866
RAID. After the method is successfully executed the PendingValue property of RAIDPDState should 867
reflect the pending changes. After the CreateTargetedConfigJob method is successfully executed the 868
DCIM_PhysicalDiskView.RAIDStatus property of that physical disk should reflect the new state. 869