Set physical disk hot spare, Set physical disk state – Dell PowerVault MD3000 User Manual

Page 178

Advertising
background image

178

Script Commands

Set Physical Disk Hot Spare

This command assigns or unassigns one or more physical disks as a hot spare.

Syntax

set (physicalDisk [

enclosureID,slotID

] |

physicalDisks [

enclosureID0,slotID0 ...

enclosureIDn,slotIDn

]) hotSpare=(TRUE | FALSE)

Parameters

Set Physical Disk State

This command sets a physical disk to the failed state. To return a physical disk
to the Optimal state, use the revive physicalDisk command.

Syntax

set physicalDisk [

enclosureID,slotID

]

operationalState=failed

status

Condition of the channel. You can set the channel status to
optimal or degraded.

NOTE:

Use the optimal parameter to move a degraded

channel back to the Optimal state. Use the degraded
parameter if the channel is experiencing problems, and the
storage array requires additional time for data transfers.

Parameter

Description

physicalDisk or
physicalDisks

Identifies the enclosure and slot where the physical disk
resides. Enclosure ID values are 0 to 99. Slot ID values
are 0 to 31. You must put brackets ([ ]) around the
enclosure ID values and the slot ID values.

hotSpare

Assigns the physical disk as the hot spare. To assign the
physical disk as the hot spare, set this parameter to
TRUE. To remove a hot spare assignment from a
physical disk, set this parameter to FALSE.

Parameter

Description

Advertising