对于 lsi 8708 raid 卡,阵列有两种配置模式, raid5 或者 raid0 单挂使用,一般情况下故障硬
盘会有故障灯亮,通过指令确认后现场更换、重新配置即可。
更换硬盘前必须使用 umount 命令将故障硬盘的挂载移除, 否则插入新硬盘后会有盘符漂移
故障。
软件包安装完成后, /opt/MegaRAID/MegaCli 文件夹下,有一个可执行的程序 MegaCli64
1、察看物理磁盘状态:
[root@localhost MegaCli]# ./MegaCli64 -Pdlist -a0
Adapter #0
Enclosure Device ID: 252
Slot Number: 4
Device Id: 59
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 140014MB [0x11177330 Sectors]
Non Coerced Size: 139502MB [0x11077330 Sectors]
Coerced Size: 139236MB [0x10ff2000 Sectors]
Firmware state: Online
SAS Address(0): 0x5000c500132c7d91
SAS Address(1): 0x0
Connected Port Number: 4(path0)
Inquiry Data: SEAGATE ST3146356SS 00053QN1MPJQ
Foreign State: None
2、查看逻辑磁盘状态:三块硬盘配置 raid5 和一块硬盘配置 raid0 的情况:
[root@localhost MegaCli]# ./MegaCli64 -LDInfo -Lall -a0
Adapter 0 -- Virtual Drive Information:
Virtual Disk: 0 (Target Id: 0)
Name:
RAID Level: Primary-5, Secondary-0, RAID Level Qualifier-3
Size:137328MB
State: Optimal
Stripe Size: 64kB
Number Of Drives:3
评论0
最新资源