PowerEdge: How to take a Physical Disk Offline using iDRAC CLI
Prerequisites
- For 12G or 13G system, the iDRAC version should be at 2.60.60.60 or later.
- For 14G systems and forward, the iDRAC version should be at 3.30.30.30 or later.
Procedure
- SSH into iDRAC to run the racadm commands.
- Get the disks available in the system by running the following command:
racadm storage get pdisks
- Run the following command to mark a disk offline:
racadm storage forceoffline:<PD FQDD>
- You must run a configuration job using
–realtime
option in order for theforceoffline
command to take effect. For that, get the controllers available in the system using the following command:
racadm storage get controllers
- Run the following command against the controller that the disk is associated to:
racadm jobqueue create <controller instance ID> -s TIME_NOW --realtime
- Run the following command to query the job status:
racadm jobqueue view -i JID_xxxxxxxx
Where JID_xxxxxxxx is the job ID from step 2.
The status is displayed as Pending. Continue to query the job ID until you see Completed as the status (this process may take up to three minutes).