您的位置:首页 > 技术中心 > 运维 >

linux怎么查看raid是几级别

时间:2022-03-21 11:29

linux查看raid是几级别的方法:1、利用rpm下载“MegaCli64/MegaCli”辅助工具;2、利用“dmidecode -s system-product-name”命令查看服务器型号,查看raid的级别即可。

本教程操作环境:linux7.3系统、Dell G3电脑。

linux怎么查看raid是几级别

可以通过在系统中执行命令查看,需要安装辅助工具:MegaCli64/MegaCli,具体用法如下:

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

相关推荐:《Linux视频教程》

以上就是linux怎么查看raid是几级别的详细内容,更多请关注gxlsystem.com其它相关文章!

本类排行

今日推荐

热门手游