1.下载安装MegaCli64
我这里下载的是MegaCli8.07.10.tar.gz
2.解压安装
[root@localhost soft]# tar -xvf MegaCli8.07.10.tar.gz
[root@localhost soft]# cd /soft/MegaCli8.07.10/Linux
[root@localhost soft]# rpm -ivh Lib_Utils-1.00-09.noarch.rpm
[root@localhost soft]# rpm -ivh MegaCli-8.02.21-1.noarch.rpm
3.使用
安装完成后,默认安装在/opt/MegaRAID/MegaCli
[root@localhost MegaCli]#cd [root@localhost MegaCli]#
查看raid级别
[root@localhost MegaCli]# ./MegaCli64 -LdInfo -LALL -aAll
Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3
Size : 1.818 TB
Parity Size : 931.0 GB
State : Optimal
Strip Size : 64 KB
Number Of Drives : 3
Span Depth : 1
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Disk's Default
Ongoing Progresses:
Background Initialization: Completed 20%, Taken 316 min.
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: Yes
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No