要解决此问题,请启用 JBOD 模式。
注意:可以在以下情况下启用 JBOD 模式:
- 系统正在引导。
- ESXi 主机上安装了 LSI MegaCLI。
引导系统时启用 JBOD 模式:
注意:SMC2208 允许用户在初始化控制器后,按 CTRL+Y 进入 shell。
- 运行此命令,检查适配器的当前状态:
AdpGetProp enablejbod –aAll
![This image is not available because: You don’t have the privileges to see it, or it has been removed from the system](/img/rte_broken_image.png)
运行以下命令:
AdpSetProp EnableJBOD 1
- 运行以下命令,记录机箱和插槽标识符:
PDList –aAll –page24
![This image is not available because: You don’t have the privileges to see it, or it has been removed from the system](/img/rte_broken_image.png)
注意:请记下机箱和插槽编号,它们将用于查找可用的 HDD。
- 运行以下命令,确保所有 HDD 均可使用:
PDMakeGood –PhysDrv[252:0,252:1,252:2,252:3,252:4,252:5,252:6,252:7] –Force –a0
- 运行以下命令,针对每个驱动器启用 JBOD 模式:
PDMakeJBOD - PhysDrv[252:0,252:1,252:2,252:3,252:4,252:5,252:6,252:7] –a0
在 ESXi 主机上安装 LSI MegaCLI 后启用 JBOD 模式:
- 在 ESXi 主机上安装 LSI MegaCLI 后,可以通过在 /opt/lsi/MegaCLI 处执行 esxcli 命令来启用 JBOD 模式。
- 运行以下命令以启用 JBOD 模式:
delete existing configuration (warning – all exisiting data will be deleted):
./MegaCli -CfgLdDel -LALL –aALL
check the current state of the adapter
./MegaCli AdpGetProp enablejbod –aAll
enable JBOD mode on controller
./MegaCli AdpSetProp EnableJBOD 1 –aALL
identify enclosure and slot identifiers
./MegaCli PDList –aAll –page24
make drives available
./MegaCli -PDMakeGood -PhysDrv[252:1,252:2,252:3,252:4,252:5,252:6,252:7] -Force -a0
set drives to JBOD mode
./MegaCli -PDMakeJBOD -PhysDrv[252:1,252:2,252:3,252:4,252:5,252:6,252:7] -a0
注意:在 ESXi 主机上安装 LSI MegaCLI 后启用 JBOD 模式可能会删除现有数据。