使用storcli查看硬盘信息:
rpm -ivh storcli-1.16.06-1.noarch.rpm
cd/opt/MegaRAID/storcli/./storcli64 /c0(零) show
链接: https://pan.baidu.com/s/17Fa3TwtGtxNiQ8lTsoG5iw 提取码: axjm
本例使用:storcli_all_os\Linux\storcli-1.16.06-1.noarch.rpm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@node3 ~]# cd /opt/MegaRAID/storcli/
[root@node3 storcli]# ./storcli64 /c0 show
Generating detailed summary of the adapter, it may take a while to complete.
Controller = 0
Status = Success
Description = None
Product Name = AVAGO SAS3108 MR
Serial Number =
SAS Address = 500112f760001fd8
PCI Address = 00:01:00:00
System Time = 03/26/2019 16:03:25
Mfg. Date = 00/00/00
Controller Time = 03/26/2019 16:06:55
FW Package Build = 24.16.0-0097
BIOS Version = 6.32.02.1_4.17.08.00_0x06150501
FW Version = 4.660.00-8175
Driver Name = megaraid_sas
Driver Version = 07.702.06.00-rh2
Current Personality = RAID-Mode
Vendor Id = 0x1000
Device Id = 0x5D
SubVendor Id = 0x1CB8
SubDevice Id = 0x3108
Host Interface = PCI-E
Device Interface = SAS-12G
Bus Number = 1
Device Number = 0
Function Number = 0
Drive Groups = 1
TOPOLOGY :
========
--------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace
--------------------------------------------------------------------------
0 - - - - RAID5 Optl N 18.818 TB dflt N N dflt N
0 0 - - - RAID5 Optl N 18.818 TB dflt N N dflt N
0 0 0 2:0 42 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 1 2:1 14 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 2 2:2 43 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 3 2:3 40 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 4 2:4 44 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 5 2:5 32 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 6 2:6 29 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 7 2:7 1 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 8 2:8 41 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 9 2:9 31 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 10 2:10 30 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 11 2:11 36 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 12 2:12 0 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 13 2:13 45 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 14 2:14 26 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 15 2:15 27 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 16 2:16 33 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 17 2:17 39 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 18 2:18 46 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 19 2:19 34 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 20 2:20 5 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 21 2:21 35 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 22 2:22 37 DRIVE Onln N 837.843 GB dflt N N dflt -
0 0 23 2:23 38 DRIVE Onln N 837.843 GB dflt N N dflt -
--------------------------------------------------------------------------
DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
Virtual Drives = 1
VD LIST :
=======
----------------------------------------------------------
DG/VD TYPE State Access Consist Cache sCC Size Name
----------------------------------------------------------
0/0 RAID5 Optl RW Yes RWBD - 18.818 TB
----------------------------------------------------------
Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|B=Blocked|Consist=Consistent|
R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency
Physical Drives = 24
PD LIST :
=======
-------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-------------------------------------------------------------------------
2:0 42 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:1 14 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:2 43 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:3 40 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:4 44 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:5 32 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:6 29 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:7 1 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:8 41 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:9 31 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:10 30 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:11 36 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:12 0 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:13 45 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:14 26 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:15 27 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:16 33 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:17 39 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:18 46 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:19 34 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:20 5 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:21 35 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:22 37 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
2:23 38 Onln 0 837.843 GB SAS HDD N N 512B AL14SEB090N U
-------------------------------------------------------------------------
EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded
Cachevault_Info :
===============
------------------------------------
Model State Temp Mode MfgDate
------------------------------------
CVPM02 Optimal 35C - 2017/01/14
------------------------------------