常用命令: a表示适配器,aALL所有的适配器
/opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary -a0 简要信息,可以看到BBU PD、VD 和Target ID
/opt/MegaRAID/MegaCli/MegaCli64 -Version -Pd -a0 显示所有物理磁盘
#/opt/MegaRAID/MegaCli/MegaCli64 -adpCount 【显示适配器个数】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpGetTime –a0 【显示适配器时间】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -a0 查raid卡信息
#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -a0 查看硬盘信息
#/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -a0 查raid级别,查询target ID,单独删除某盘的raid时,需要用到 或者 # /opt/MegaRAID/MegaCli/MegaCli64 -LDpdInfo -a0
Primary-0, Secondary-0, RAID Level Qualifier-0 = RAID-0
Primary-1, Secondary-0, RAID Level Qualifier-0 = RAID-1
Primary-5, Secondary-0, RAID Level Qualifier-3 = RAID-5
Primary-6, Secondary-0, RAID Level Qualifier-3 = RAID-6
Primary-1, Secondary-3, RAID Level Qualifier-0 = RAID-10
/opt/MegaRAID/MegaCli/MegaCli64 -Version -Pd -a0 一般是按照 启动盘 SSD HDD 盘顺序来排列
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdDel -L9 -a0 单独删除某盘的raid L后面接的就是Target ID