Lsi阵列卡命令

建站服务器

root@BlueNAS:~#lspci-s06:00.0-v
06:00.0Ethernetcontroller:IntelCorporationI210GigabitNetworkConnection(rev03)
Subsystem:SuperMicroComputerIncDevice1533
Flags:busmaster,fastdevsel,latency0,IRQ18
Memoryatc7800000(32-bit,non-prefetchable)[size=512K]
I/Oportsat4000[size=32]
Memoryatc7880000(32-bit,non-prefetchable)[size=16K]
Capabilities:[40]PowerManagementversion3
Capabilities:[50]MSI:Enable-Count=1/1Maskable+64bit+
Capabilities:[70]MSI-X:Enable+Count=5Masked-
Capabilities:[a0]ExpressEndpoint,MSI00
Capabilities:[100]AdvancedErrorReporting
Capabilities:[140]DeviceSerialNumber0c-c4-7a-ff-ff-c2-7d-1c
Capabilities:[1a0]TransactionProcessingHints
Kerneldriverinuse:igb

root@BlueNAS:~#lspci-s07:00.0-v
07:00.0Ethernetcontroller:IntelCorporationI210GigabitNetworkConnection(rev03)
Subsystem:SuperMicroComputerIncDevice1533
Flags:busmaster,fastdevsel,latency0,IRQ19
Memoryatc7700000(32-bit,non-prefetchable)[size=512K]
I/Oportsat3000[size=32]
Memoryatc7780000(32-bit,non-prefetchable)[size=16K]
Capabilities:[40]PowerManagementversion3
Capabilities:[50]MSI:Enable-Count=1/1Maskable+64bit+
Capabilities:[70]MSI-X:Enable+Count=5Masked-
Capabilities:[a0]ExpressEndpoint,MSI00
Capabilities:[100]AdvancedErrorReporting
Capabilities:[140]DeviceSerialNumber0c-c4-7a-ff-ff-c2-7d-1d
Capabilities:[1a0]TransactionProcessingHints
Kerneldriverinuse:igb

root@BlueNAS:~#


root@BlueNAS:~#lspci-s02:00.0-v
02:00.0RAIDbuscontroller:LSILogic/SymbiosLogicMegaRAIDSAS2108[Liberator](rev05)
Subsystem:LSILogic/SymbiosLogicMegaRAIDSAS9280-8e
Flags:busmaster,fastdevsel,latency0,IRQ32
I/Oportsat7000[size=256]
Memoryatc7a60000(64-bit,non-prefetchable)[size=16K]
Memoryatc7a00000(64-bit,non-prefetchable)[size=256K]
ExpansionROMatc7a40000[disabled][size=128K]
Capabilities:[50]PowerManagementversion3
Capabilities:[68]ExpressEndpoint,MSI00
Capabilities:[d0]VitalProductData
Capabilities:[a8]MSI:Enable-Count=1/1Maskable-64bit+
Capabilities:[c0]MSI-X:Enable+Count=15Masked-
Capabilities:[100]AdvancedErrorReporting
Capabilities:[138]PowerBudgeting
Kerneldriverinuse:megaraid_sas

root@BlueNAS:~#lspci-s03:00.0-v
03:00.0RAIDbuscontroller:LSILogic/SymbiosLogicMegaRAIDSAS2108[Liberator](rev05)
Subsystem:LSILogic/SymbiosLogicMegaRAIDSAS9261-8i
Flags:busmaster,fastdevsel,latency0,IRQ40
I/Oportsat6000[size=256]
Memoryatc7960000(64-bit,non-prefetchable)[size=16K]
Memoryatc7900000(64-bit,non-prefetchable)[size=256K]
ExpansionROMatc7940000[disabled][size=128K]
Capabilities:[50]PowerManagementversion3
Capabilities:[68]ExpressEndpoint,MSI00
Capabilities:[d0]VitalProductData
Capabilities:[a8]MSI:Enable-Count=1/1Maskable-64bit+
Capabilities:[c0]MSI-X:Enable+Count=15Masked-
Capabilities:[100]AdvancedErrorReporting
Capabilities:[138]PowerBudgeting
Kerneldriverinuse:megaraid_sas

root@BlueNAS:~#

安装mega管理命令行工具
root@BlueNAS:~#dpkg-i
ixgbe-4.3.15/.ssh/
megaraid_sas-06.811.02.00-2_Debian7.0.amd64.debstorcli_1.19.04_all.deb
root@BlueNAS:~#dpkg-istorcli_1.19.04_all.deb
dpkg:警告:parsingfile\'/var/lib/dpkg/status\'nearline6970package\'storcli\':
找不到maintainer
dpkg:警告:parsingfile\'/var/lib/dpkg/available\'nearline6928package\'storcli\':
找不到maintainer
dpkg:警告:parsingfile\'/var/lib/dpkg/tmp.ci/control\'nearline17package\'storcli\':
找不到maintainer
(正在读取数据库...系统当前共安装有38233个文件和目录。)
正预备替换storcli1.19.04(使用storcli_1.19.04_all.deb)...
正在解压缩将用于更替的包文件storcli...
正在设置storcli(1.19.04)...
root@BlueNAS:~#

root@BlueNAS:/usr/bin#dpkg-l|grepstorcli
dpkg-query:警告:parsingfile\'/var/lib/dpkg/status\'nearline6970package\'storcli\':
找不到maintainer
iistorcli1.19.04allStorageCommandLineTool,managesstoragecontrollers.
root@BlueNAS:/usr/bin#
放到/usr/bin目录中
ln-s/opt/MegaRAID/storcli/storcli64/usr/bin/megacli


磁盘管理:
root@BlueNAS:~#megacli-PdList-aAll|more
Adapter#0

EnclosureDeviceID:49
SlotNumber:0
Drive\'spostion:DiskGroup:0,Span:0,Arm:0
Enclosureposition:0
DeviceId:54
WWN:5000C500846995B8
SequenceNumber:2
MediaErrorCount:0
OtherErrorCount:0
PredictiveFailureCount:0
LastPredictiveFailureEventSeqNumber:0
PDType:SAS

RawSize:3.638TB[0x1d1c0beb0Sectors]
NonCoercedSize:3.637TB[0x1d1b0beb0Sectors]
CoercedSize:3.637TB[0x1d1b00000Sectors]
LogicalSectorSize:512
PhysicalSectorSize:4096
Firmwarestate:Online,SpunUp
CommissionedSpare:No
EmergencySpare:No
DeviceFirmwareLevel:E005
ShieldCounter:0
Successfuldiagnosticscompletionon:N/A
SASAddress(0):0x5000c500846995b9
SASAddress(1):0x0
ConnectedPortNumber:0(path0)
InquiryData:SEAGATEST4000NM0034E005Z4F0DPRC
--More--



阵列管理:
root@BlueNAS:~#megacli-LDinfo-LALL-a1

Adapter1--VirtualDriveInformation:
VirtualDrive:0(TargetId:0)
Name:
RAIDLevel:Primary-6,Secondary-0,RAIDLevelQualifier-3
Size:109.138TB
PhysicalSectorSize:512
LogicalSectorSize:4096
VDhasEmulatedPD:Yes
ParitySize:7.275TB
State:Optimal
StripSize:128KB
NumberOfDrives:32
SpanDepth:1
CreationDate:06-10-2016
CreationTime:05:01:34AM
DefaultCachePolicy:WriteBack,ReadAheadNone,Cached,WriteCacheOKifBadBBU
CurrentCachePolicy:WriteBack,ReadAheadNone,Cached,WriteCacheOKifBadBBU
DefaultAccessPolicy:Read/Write
CurrentAccessPolicy:Read/Write
DiskCachePolicy:Enabled
EncryptionType:None
IsVDCached:No


NumberofDedicatedHotSpares:4
0:EnclId-15SlotId-8
1:EnclId-15SlotId-9
2:EnclId-15SlotId-11
3:EnclId-15SlotId-10

ExitCode:0x00

root@BlueNAS:~#megacli-LDinfo-LALL-a0

Adapter0--VirtualDriveInformation:
VirtualDrive:0(TargetId:0)
Name:
RAIDLevel:Primary-6,Secondary-0,RAIDLevelQualifier-3
Size:109.145TB
PhysicalSectorSize:512
LogicalSectorSize:4096
VDhasEmulatedPD:Yes
ParitySize:7.276TB
State:Optimal
StripSize:256KB
NumberOfDrives:32
SpanDepth:1
CreationDate:07-10-2016
CreationTime:01:28:20AM
DefaultCachePolicy:WriteThrough,ReadAhead,Cached,NoWriteCacheifBadBBU
CurrentCachePolicy:WriteThrough,ReadAhead,Cached,NoWriteCacheifBadBBU
DefaultAccessPolicy:Read/Write
CurrentAccessPolicy:Read/Write
DiskCachePolicy:Enabled
OngoingProgresses:
BackgroundInitialization:Completed12%,Taken262min.
EncryptionType:None
BadBlocksExist:No
IsVDCached:No


NumberofDedicatedHotSpares:4
0:EnclId-62SlotId-15
1:EnclId-62SlotId-11
2:EnclId-62SlotId-16
3:EnclId-62SlotId-17

ExitCode:0x00
root@BlueNAS:~#

创新互联公司是一家集网站建设,磴口企业网站建设,磴口品牌网站建设,网站定制,磴口网站建设报价,网络营销,网络优化,磴口网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。
本文题目:Lsi阵列卡命令
文章URL:http://hbruida.cn/article/cjjooh.html