我运行一个服务器与RAID 2中的两个驱动器configuration通过BIOS。 我刚刚使用hotplug添加了2个驱动器(服务器是RHEL 5.4 64位的dell r610),我想在这些驱动器上configuration一个单独的raid0分区。 我收到以下错误:
/ opt / MegaRAID / MegaCli / MegaCli64 -CfgLdAdd r0 [32:2,32:3] -a0
指定的物理磁盘没有适当的属性来完成请求的命令。
退出代码:0x26
所有的参数是正确的,没有理由为什么这个命令不能工作,看到这个(富士通是当前袭击,希捷是我想创build的新的):
/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
我也尝试设置驱动器作为热备,也有一些奇怪的错误:
/ opt / MegaRAID / MegaCli / MegaCli64 -PDHSP -et -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)
该驱动器被标记为“外国”,它可能来自其他RAID控制器。 我想你可能需要先清除它:
MegaCli64 -CfgForeign -Scan -Clear
我有类似的问题,对我来说,它需要做的事情是:
megacli -PDMakeGood -PhysDrv '[64:6]' -Force -a0
之后,我可以使用CfgLdAdd命令创buildRAID。
我以前面对同样的问题。 如果它仍然是相关的,你应该:
检查你是否有未configuration(好)的驱动器:
root@sto:~# sudo python scripts/megaraid_status.py c0uXpY | SSD | FECA075B010803000281Patriot Blast SAFM11.0 | 446.1 Gb | Unconfigured(good), Spun Up | 6.0Gb/s | N/A | [252:3] | 0
检查外部configuration:
root@sto# megacli -CfgForeign -Scan -aall There are 1 foreign configuration(s) on controller 0. Exit Code: 0x00
清除它:
root@sto# megacli -CfgForeign -Clear -aall Foreign configuration 0 is cleared on controller 0. Exit Code: 0x00
资料来源: http : //sysadm.pp.ua/linux/monitoring-systems/megaraid-assembling-raid6.html