为什么 storcli/Megacli 输出中显示重复的插槽号?
# lspci -nn | grep -i mega
01:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] [1000:0079] (rev 03)
# /opt/MegaRAID/MegaCli/MegaCli -AdpAllInfo -aALL | grep -A 2 'Product Name'
Product Name : ServeRAID M5015 SAS/SATA Controller
Serial No : SV03201033
FW Package Build: 12.0.1-0090
storcli 输出...
# storcli /c0 /eall /sall show
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.
Drive Information :
=================
------------------------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
------------------------------------------------------------------------------------------------
252:0 11 Rbld 0 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM U
252:0 13 Onln 0 464.729 GB SATA HDD N N 512B ST9500620NS 81Y9715 81Y3856IBM U
252:1 10 UGood - 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM U
252:1 12 UGood - 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM U
252:2 9 UGood - 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM U
252:2 14 UGood - 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM U
252:3 8 UGood - 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM U
252:3 15 UBad - 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM 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
enter code here
和 megacli...
# megacli -PDlist -a0 | egrep '^(Enclosure Device ID|Slot Number|Device Id|Inq)'
Enclosure Device ID: 252
Slot Number: 0
Device Id: 11
Inquiry Data: 9SP1R7B9ST9500530NS 42D0743 42D0746IBM BE16
Enclosure Device ID: 252
Slot Number: 0
Device Id: 13
Inquiry Data: 9XF06661ST9500620NS 81Y9715 81Y3856IBM BE21
Enclosure Device ID: 252
Slot Number: 1
Device Id: 10
Inquiry Data: 9SP1S0ETST9500530NS 42D0743 42D0746IBM BE16
Enclosure Device ID: 252
Slot Number: 1
Device Id: 12
Inquiry Data: 9SP1S09WST9500530NS 42D0743 42D0746IBM BE16
Enclosure Device ID: 252
Slot Number: 2
Device Id: 9
Inquiry Data: 9SP1S09QST9500530NS 42D0743 42D0746IBM BE16
Enclosure Device ID: 252
Slot Number: 2
Device Id: 14
Inquiry Data: 9SP1WCWRST9500530NS 42D0743 42D0746IBM BE16
Enclosure Device ID: 252
Slot Number: 3
Device Id: 8
Inquiry Data: 9SP1S0EXST9500530NS 42D0743 42D0746IBM BE16
Enclosure Device ID: 252
Slot Number: 3
Device Id: 15
Inquiry Data: 9SP1S0DBST9500530NS 42D0743 42D0746IBM BE16
我有类似的服务器并且它的输出看起来不错:
# storcli /c0 /eall /sall show
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.
Drive Information :
=================
------------------------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
------------------------------------------------------------------------------------------------
252:0 9 Onln 0 464.729 GB SATA HDD N N 512B ST9500620NS 42D0753 42D0756IBM U
252:1 10 Onln 0 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM U
252:2 11 Onln 1 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM D
252:3 8 Onln 1 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM D
252:4 12 Onln 1 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM D
252:5 14 Onln 1 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM D
252:6 13 Onln 2 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM D
252:7 15 Onln 2 464.729 GB SATA HDD N N 512B ST9500530NS 42D0743 42D0746IBM D
------------------------------------------------------------------------------------------------
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
答案1
我在 IBM 服务器上遇到过这个问题,经过几个小时的调试,最终发现是主板和 SAS 背板之间的电缆有问题。所以我开始检查硬件。如果你有一台相同的服务器,试着更换零件,直到问题解决(我就是这么做的)。