我在通过 BIOS 配置的 raid0 中运行带有 2 个驱动器的服务器。我刚刚使用热插拔添加了 2 个驱动器(服务器是带有 RHEL 5.4 64 位的 dell r610),我想在这些驱动器上配置一个单独的 raid0 分区。我收到以下错误:
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd r0[32:2, 32:3] -a0
指定的物理磁盘没有合适的属性来完成请求的命令。
退出代码:0x26
所有的参数都是正确的,没有理由这个命令不能工作,看这个(富士通是当前的raid,希捷是我要创建的新的):
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL | egrep 'Adapter|Enclosure|Slot|Inquiry'
Adapter #0
Enclosure Device ID: 32
Slot Number: 0
Enclosure position: 0
Inquiry Data: FUJITSU MBD2147RC D807D0A4PA101174
Enclosure Device ID: 32
Slot Number: 1
Enclosure position: 0
Inquiry Data: FUJITSU MBD2147RC D807D0A4PA10115T
Enclosure Device ID: 32
Slot Number: 2
Enclosure position: 0
Inquiry Data: SEAGATE ST9300603SS FS033SE0TF5K
Enclosure Device ID: 32
Slot Number: 3
Enclosure position: 0
Inquiry Data: SEAGATE ST9300603SS FS023SE070FK
Run Code Online (Sandbox Code Playgroud)
我还尝试将驱动器设置为热备,还有一些奇怪的错误:
/opt/MegaRAID/MegaCli/MegaCli64 -PDHSP -Set -physdrv[32:3] -a0
适配器:0:将 EnclId-32 SlotId-3 的物理驱动器设置为热备用失败。
FW 错误描述:指定设备处于不支持请求命令的状态。
退出代码:0x32
如您所见,磁盘处于 Unconfigured, Good 状态:
Enclosure Device ID: 32
Slot Number: 3
Enclosure position: 0
Device Id: 3
Sequence Number: 1
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 279.396 GB [0x22ecb25c Sectors]
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
Coerced Size: 278.875 GB [0x22dc0000 Sectors]
Firmware state: Unconfigured(good), Spun Up
SAS Address(0): 0x5000c50005cd20b1
SAS Address(1): 0x0
Connected Port Number: 3(path0)
Inquiry Data: SEAGATE ST9300603SS FS023SE070FK
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: Foreign
Foreign Secure: Drive is not secured by a foreign lock key
Device Speed: Unknown
Link Speed: Unknown
Media Type: Hard Disk Device
Drive Temperature :30C (86.00 F)
Run Code Online (Sandbox Code Playgroud)
waz*_*oox 17
该驱动器被标记为“外国”,它可能来自其他一些 RAID 控制器。我想你可能需要先清除它:
MegaCli64 -CfgForeign -Scan -Clear