千家信息网

Lsi阵列卡命令

发表于:2024-11-20 作者:千家信息网编辑
千家信息网最后更新 2024年11月20日,root@BlueNAS:~# lspci -s 06:00.0 -v06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Netw
千家信息网最后更新 2024年11月20日Lsi阵列卡命令
root@BlueNAS:~# lspci -s  06:00.0 -v06: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: igbroot@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: igbroot@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_sasroot@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_sasroot@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': 找不到 maintainerdpkg:警告:parsing file '/var/lib/dpkg/available' near line 6928 package 'storcli': 找不到 maintainerdpkg:警告: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 storclidpkg-query:警告:parsing file '/var/lib/dpkg/status' near line 6970 package 'storcli': 找不到 maintainerii  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| moreAdapter #0Enclosure Device ID: 49Slot Number: 0Drive's postion: DiskGroup: 0, Span: 0, Arm: 0Enclosure position: 0Device Id: 54WWN: 5000C500846995B8Sequence Number: 2Media Error Count: 0Other Error Count: 0Predictive Failure Count: 0Last Predictive Failure Event Seq Number: 0PD Type: SASRaw 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:  4096Firmware state: Online, Spun UpCommissioned Spare : NoEmergency Spare : NoDevice Firmware Level: E005Shield Counter: 0Successful diagnostics completion on :  N/ASAS Address(0): 0x5000c500846995b9SAS Address(1): 0x0Connected Port Number: 0(path0) Inquiry Data: SEAGATE ST4000NM0034    E005Z4F0DPRC            --More--阵列管理:root@BlueNAS:~# megacli -LDinfo -LALL -a1Adapter 1 -- Virtual Drive Information:Virtual Drive: 0 (Target Id: 0)Name                :RAID Level          : Primary-6, Secondary-0, RAID Level Qualifier-3Size                : 109.138 TBPhysical Sector Size: 512Logical Sector Size : 4096VD has Emulated PD  : YesParity Size         : 7.275 TBState               : OptimalStrip Size          : 128 KBNumber Of Drives    : 32Span Depth          : 1Creation Date     : 06-10-2016Creation Time     : 05:01:34 AMDefault Cache Policy: WriteBack, ReadAheadNone, Cached, Write Cache OK if Bad BBUCurrent Cache Policy: WriteBack, ReadAheadNone, Cached, Write Cache OK if Bad BBUDefault Access Policy: Read/WriteCurrent Access Policy: Read/WriteDisk Cache Policy   : EnabledEncryption Type     : NoneIs VD Cached: NoNumber 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: 0x00root@BlueNAS:~# megacli -LDinfo -LALL -a0Adapter 0 -- Virtual Drive Information:Virtual Drive: 0 (Target Id: 0)Name                :RAID Level          : Primary-6, Secondary-0, RAID Level Qualifier-3Size                : 109.145 TBPhysical Sector Size: 512Logical Sector Size : 4096VD has Emulated PD  : YesParity Size         : 7.276 TBState               : OptimalStrip Size          : 256 KBNumber Of Drives    : 32Span Depth          : 1Creation Date     : 07-10-2016Creation Time     : 01:28:20 AMDefault Cache Policy: WriteThrough, ReadAhead, Cached, No Write Cache if Bad BBUCurrent Cache Policy: WriteThrough, ReadAhead, Cached, No Write Cache if Bad BBUDefault Access Policy: Read/WriteCurrent Access Policy: Read/WriteDisk Cache Policy   : EnabledOngoing Progresses:  Background Initialization: Completed 12%, Taken 262 min.Encryption Type     : NoneBad Blocks Exist: NoIs VD Cached: NoNumber 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: 0x00root@BlueNAS:~#


0