Modifying Physical Drive Properties (pdconfig)
Function
The pdconfig command is used to modify properties of a physical drive managed by a RAID controller.
Format
ipmcset -t storage -d pdconfig -v <pdid> [-state <pdstate>] [-hotspare <hotsparetype> [-ld <ldid>]] [-locate <locatestate>] [-cryptoerase]
Parameters
Parameter |
Description |
Value |
---|---|---|
pdid |
Specifies the ID of the physical drive. |
0 to 255 |
pdstate |
Specifies the status of the physical drive. |
|
hotsparetype |
Specifies the hot spare status of the physical drive. |
|
ldid |
Specifies the ID of the logical drive. If hotsparetype is dedicated, you need to set the logical drive associated with this physical drive. |
0~255 |
locatestate |
Specifies the status of the location indicator of the physical drive. |
|
Usage Guidelines
The -cryptoerase parameter in the command indicates erasing data from the encrypted drive.
The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
Example
# Erase data from encrypted physical drive 1.
iBMC:/-> ipmcset -t storage -d pdconfig -v 1 -cryptoerase
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y
The operation may take a few seconds, Please wait...
Cryptographically erase Physical Drive successfully.