PowerEdge:如何使用 iDRAC CLI 使物理磁盘脱机
Summary: 可以使用命令行界面 (CLI) 命令将磁盘标记为脱机。如果未安装 OMSA 来更换预测性故障磁盘,则不需要重新启动服务器。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
前提条件
- 对于 12G 或 13G 系统,iDRAC 版本应为 2.60.60.60 或更高版本。
- 对于第 14 代系统及更高版本,iDRAC 版本应为 3.30.30.30 或更高版本。
流程
- 通过 SSH 登录 iDRAC 以运行 racadm 命令。
- 通过运行以下命令,获取系统中可用的磁盘:
racadm storage get pdisks

- 运行 以下命令以 将磁盘标记为离线:
racadm storage forceoffline:<PD FQDD>

- 您必须使用
–realtime选项,以便forceoffline命令以生效。为此,请使用以下命令获取系统中可用的控制器:
racadm storage get controllers

- 针对磁盘关联的控制器运行以下命令:
racadm jobqueue create <controller instance ID> -s TIME_NOW --realtime

- 执行以下命令,查询作业状态。
racadm jobqueue view -i JID_xxxxxxxx
其中 JID_xxxxxxxx 是步骤 2 中的作业 ID。
状态显示为 Pending。继续查询作业 ID,直到您看到 Completed状态(此过程最多可能需要三分钟)。
Affected Products
PowerEdge R230, PowerEdge R240, PowerEdge R330, PowerEdge R340, PowerEdge R430, PowerEdge R440, PowerEdge R530, PowerEdge R530xd, PowerEdge R540Article Properties
Article Number: 000202557
Article Type: How To
Last Modified: 14 Apr 2025
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.