root@BlueNAS:~# lspci -s 06:00.0 -v
06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
Subsystem: Super Micro Computer Inc Device 1533
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at c7800000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 4000 [size=32]
Memory at c7880000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 0c-c4-7a-ff-ff-c2-7d-1c
Capabilities: [1a0] Transaction Processing Hints
Kernel driver in use: igb
root@BlueNAS:~# lspci -s 07:00.0 -v
07:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
Subsystem: Super Micro Computer Inc Device 1533
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at c7700000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 3000 [size=32]
Memory at c7780000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 0c-c4-7a-ff-ff-c2-7d-1d
Capabilities: [1a0] Transaction Processing Hints
Kernel driver in use: igb
root@BlueNAS:~#
root@BlueNAS:~# lspci -s 02:00.0 -v
02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
Subsystem: LSI Logic / Symbios Logic MegaRAID SAS 9280-8e
Flags: bus master, fast devsel, latency 0, IRQ 32
I/O ports at 7000 [size=256]
Memory at c7a60000 (64-bit, non-prefetchable) [size=16K]
Memory at c7a00000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at c7a40000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [68] Express Endpoint, MSI 00
Capabilities: [d0] Vital Product Data
Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [138] Power Budgeting >
Kernel driver in use: megaraid_sas
root@BlueNAS:~# lspci -s 03:00.0 -v
03:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
Subsystem: LSI Logic / Symbios Logic MegaRAID SAS 9261-8i
Flags: bus master, fast devsel, latency 0, IRQ 40
I/O ports at 6000 [size=256]
Memory at c7960000 (64-bit, non-prefetchable) [size=16K]
Memory at c7900000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at c7940000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [68] Express Endpoint, MSI 00
Capabilities: [d0] Vital Product Data
Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [138] Power Budgeting >
Kernel driver in use: megaraid_sas
root@BlueNAS:~#
安装mega管理命令行工具
root@BlueNAS:~# dpkg -i
ixgbe-4.3.15/ .ssh/
megaraid_sas-06.811.02.00-2_Debian7.0.amd64.deb storcli_1.19.04_all.deb
root@BlueNAS:~# dpkg -i storcli_1.19.04_all.deb
dpkg:警告:parsing file '/var/lib/dpkg/status' near line 6970 package 'storcli':
找不到 maintainer
dpkg:警告:parsing file '/var/lib/dpkg/available' near line 6928 package 'storcli':
找不到 maintainer
dpkg:警告:parsing file '/var/lib/dpkg/tmp.ci/control' near line 17 package 'storcli':
找不到 maintainer
(正在读取数据库 ... 系统当前共安装有 38233 个文件和目录。)
正预备替换 storcli 1.19.04 (使用 storcli_1.19.04_all.deb) ...
正在解压缩将用于更替的包文件 storcli ...
正在设置 storcli (1.19.04) ...
root@BlueNAS:~#
root@BlueNAS:/usr/bin# dpkg -l |grep storcli
dpkg-query:警告:parsing file '/var/lib/dpkg/status' near line 6970 package 'storcli':
找不到 maintainer
ii storcli 1.19.04 all Storage Command Line Tool, manages storage controllers.
root@BlueNAS:/usr/bin#
放到/usr/bin目录中
ln -s /opt/MegaRAID/storcli/storcli64 /usr/bin/megacli
磁盘管理:
root@BlueNAS:~# megacli -PdList -aAll| more
Adapter #0
Enclosure Device ID: 49
Slot Number: 0
Drive's postion: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: 0
Device Id: 54
WWN: 5000C500846995B8
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 3.638 TB [0x1d1c0beb0 Sectors]
Non Coerced Size: 3.637 TB [0x1d1b0beb0 Sectors]
Coerced Size: 3.637 TB [0x1d1b00000 Sectors]
Logical Sector Size: 512
Physical Sector Size: 4096
Firmware state: Online, Spun Up
Commissioned Spare : No
Emergency Spare : No
Device Firmware Level: E005
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500846995b9
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE ST4000NM0034 E005Z4F0DPRC
--More--
阵列管理:
root@BlueNAS:~# megacli -LDinfo -LALL -a1
Adapter 1 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3
Size : 109.138 TB
Physical Sector Size: 512
Logical Sector Size : 4096
VD has Emulated PD : Yes
Parity Size : 7.275 TB
State : Optimal
Strip Size : 128 KB
Number Of Drives : 32
Span Depth : 1
Creation Date : 06-10-2016
Creation Time : 05:01:34 AM
Default Cache Policy: WriteBack, ReadAheadNone, Cached, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAheadNone, Cached, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Encryption Type : None
Is VD Cached: No
Number of Dedicated Hot Spares: 4
0 : EnclId - 15 SlotId - 8
1 : EnclId - 15 SlotId - 9
2 : EnclId - 15 SlotId - 11
3 : EnclId - 15 SlotId - 10
Exit Code: 0x00
root@BlueNAS:~# megacli -LDinfo -LALL -a0
Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3
Size : 109.145 TB
Physical Sector Size: 512
Logical Sector Size : 4096
VD has Emulated PD : Yes
Parity Size : 7.276 TB
State : Optimal
Strip Size : 256 KB
Number Of Drives : 32
Span Depth : 1
Creation Date : 07-10-2016
Creation Time : 01:28:20 AM
Default Cache Policy: WriteThrough, ReadAhead, Cached, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAhead, Cached, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Ongoing Progresses:
Background Initialization: Completed 12%, Taken 262 min.
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No
Number of Dedicated Hot Spares: 4
0 : EnclId - 62 SlotId - 15
1 : EnclId - 62 SlotId - 11
2 : EnclId - 62 SlotId - 16
3 : EnclId - 62 SlotId - 17
Exit Code: 0x00
root@BlueNAS:~#
创新互联建站服务项目包括盐田网站建设、
盐田网站制作、盐田网页制作以及盐田网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,
盐田网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到盐田省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网页标题:Lsi阵列卡命令-创新互联
文章位置:
http://cdkjz.cn/article/dceocd.html