已安装系统查看raid级别信息

  • 时间:
  • 来源:网络

    系统运维

日常运维中,未配置带外管理,在移交系统时确认raid级别,需要重启服务器,到bios中查看,非常麻烦。
但实际发现,可以通过在系统中执行命令查看,需要安装辅助工具:MegaCli64/MegaCli,具体用法如下:
一、对linux系统:
1、下载最新的rpm包安装:rpm -ivh Lib_Utils-1.00-09.noarch.rpm MegaCli-8.04.07-1.noarch.rpm
默认安装在/opt下
2、查询:
dmidecode -s system-product-name 查看服务器型号
查看服务器硬件RAID:/opt/MegaRAID/MegaCli/MegaCli64 -cfgdsply -aALL|grep "RAID Level"|tail -1|awk -F: \'{print $1" :"$2}\'
RAID型号对应表信息如下:
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0" #代表Raid 1
RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0" #代表Raid 0
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3" #代表Raid 5
RAID Level : Primary-1, Secondary-3, RAID Level Qualifier-0" #代表Raid10
二、对windows系统
8.00.40_Windows_MegaCLI.zipzip压缩包是window系统下查看工具安装包 解压MegaCli64到c:\\windows\\system32下,再cmd命令执行c:\\windows\\system32\\MegaCli64 -cfgdsply -aALL|findstr "RAID Level"查看

以上需要的附件,如需要,可找本人获取。

新网虚拟主机