[Root@jxq-01 ~]# cd/opt/
[Root@jxq-01 opt]# mkdir-p raid
[Root@jxq-01 opt]# dmidecode-s System-product-name
PowerEdge R710 #服务器是DELL R710
[Root@jxq-01 opt]# CD Raid/
[Root@jxq-01 raid]# Rz-y
RZ waiting to receive.
Start Zmodem transmission. Press CTRL + C to cancel.
100% 1551 KB 1551 kb/s 00:00:01 0 Errors
100% 1478 KB 1478 kb/s 00:00:01 0 Errors
[Root@jxq-01 raid]# LL
Total 3032
-rw-r--r--1 root root 1588725 lib_utils-1.00-09.noarch.rpm
-rw-r--r--1 root root 1514197 megacli-8.04.07-1.noarch.rpm
[Root@jxq-01 raid]# RPM-IVH lib_utils-1.00-09.noarch.rpm
Preparing ... ########################################### [100%]
Installing .....
1:lib_utils ########################################### [100%]
[Root@jxq-01 raid]# RPM-IVH megacli-8.04.07-1.noarch.rpm
Preparing ... ########################################### [100%]
1:MEGACLI ########################################### [100%]
I use commands on 2 machines to view:
DELL R710 Server: 4 SAS hard Drive 500GB, Total 2TB, after RAID10, left 1TB of capacity hard disk space.
[root@jxq-01 raid]#/opt/megaraid/megacli/megacli64-cfgdsply-aall|grep "RAID level" |tail-1|awk-f: ' {print $ ': "$}"
Raid Level:primary-1, Secondary-3, RAID level Qualifier-0
DELL R720 Server: A SAS hard drive 300GB
[Root@web opt]#/opt/megaraid/megacli/megacli64-cfgdsply-aall|grep "RAID level" |tail-1|awk-f: ' {print $ ': ' $} '
Raid level:primary-0, Secondary-0, RAID level Qualifier-0 #我这台主机是RAID 0
The RAID model corresponding table information is as follows:
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
Author Signature: 51cto blog Imysql
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/