DELL陣列(陣列Foreign)命令行裏重做陣列
故障現象 (陣列Foreign 系統下重做陣列)
例:四合一機器(DELL_XENCOMPA09) 有四個硬盤
如圖 少認到一個
df -h
fdisk -l 2>/dev/null | grep ‘Disk /dev/‘ -c
/opt/MegaRAID/MegaCli/MegaCli64 -LdInfo -Lall –aALL 可以確認認到幾個盤
查看1
cat /proc/scsi/scsi
dmesg |grep -i raid
1.查看RAID卡的設備號
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll |grep "Device ID"
2.查看Slot ID,有沒有錯序的情況
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll |grep "Slot"
3.查看Foreign信息
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll |grep "Foreign State"
4.清除Foreign信息
/opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -Clear -a0
5.再查看
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll |grep "Foreign State"
6重新做RAID,在Slot2做RAID0
7確認認到4個
fdisk -l 2>/dev/null | grep ‘Disk /dev/‘ -c
fdisk -l 2>/dev/null | grep ‘Disk /dev/‘
/opt/MegaRAID/MegaCli/MegaCli64 -LdInfo -Lall –aALL 可以確認認到幾個盤
DELL陣列(陣列Foreign)命令行裏重做陣列