PMC相关RAID卡信息查看方法
摘要
昨天简单整理了LSI相关设备的信息
今天计划学习下PMC相关的RAID卡信息.
也就是偶昨天storcli 查看 controller为0 的情况.
感觉部分服务器大部分使用LSI 小部分私用PMC的raid卡
Raid卡的简介
跟摘要里面说的一样, 我这边遇到的Raid卡主要有两种
LSI 还有 PMC
其中LSI的历程:
惠普的芯片制造->安捷伦->私有化改名安华高->收购LSI->收购博通(改名博通)
PMC的历程:
Microchip 收购 Microsemi
Microsemi 收购 PMC
所以现在PMC的Raid卡其实是属于 Microchip的.
举个例子LSI的Raid卡一般名字是 9361-8i
如果是PMC的Raid卡可能是 PM8204 Raid卡
比如浪潮的 Inspur 8204 使用的应该就是MicroChip公司的芯片.
他们公司的工具就可以使用.
资源下载
注意 部分内容学习自: https://blog.yelvlab.cn/archives/622/
下载地址:
https://storage.microsemi.com/en-us/support/raid/sas_raid/asr-3152-8i/
注意其他的RAID卡可能需要再选择其他路径 我这边下载的主要有
注意需要选择 Storage Manager Downloads 下载
https://storage.microsemi.com/en-us/downloads/storage_manager/sm/productid=asr-3152-8i&dn=microsemi+adaptec+smartraid+3152-8i.php
# 注意下面部分是 驱动的下载地址
https://download.adaptec.com/raid/aac/windows/smartpqi_ws08-w7_x64_v6.102.0.1026_cert.zip
https://download.adaptec.com/raid/aac/windows/smartpqi_x100_windows_drivers_x64_v1010.52.0.1012_cert.zip
https://download.adaptec.com/raid/aac/linux/smartpqi_vmware_drivers_v4252.0.103_cert.tgz
https://download.adaptec.com/raid/aac/linux/smartpqi_linux_drivers_v2.1.20-035.tgz
Linux下安装
linux的安装包最为庞大.选择具体版本就可以进行安装了.
rpm -ivh kmodxxxx
注意安装完之后文件路径为:
/usr/Arcconf
arrconf的简单使用
cd /usr/Arcconf
./arcconf list 1
# 注意控住器的信息主要如下:
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller ID : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------
Controller 1: : Optimal, Slot 0, RAID (Hide RAW), INSPUR PM8204-2GB, RAN218GM2546B10, 56C92BF00771565E
Array Information
----------------------------------------------------------------------
Array ID : Status (Interface, TotalSize MB, FreeSpace MB)
----------------------------------------------------------------------
Array 0 : Ok (SATA SSD, 21977044 MB, 1 MB)
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical ID : Status (RAID, Interface, Size MB) Name
----------------------------------------------------------------------
Logical 0 : Optimal (10, Data, 10988328 MB) 1
查看Raid卡的配置
./arcconf getconfig 1 ad
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Controller Mode : RAID (Hide RAW)
Channel description : SCSI
Controller Model : INSPUR PM8204-2GB
Vendor ID : 0x9005
Device ID : 0x028F
Subsystem Vendor ID : 0x1BD4
Subsystem Device ID : 0x004B
Controller Serial Number : RAN218GM2546B10
Controller World Wide Name : 56C92BF00771565E
Physical Slot : 0
Negotiated PCIe Data Rate : PCIe 3.0 x8(7880 MB/s)
PCI Address (Domain:Bus:Device:Function) : 0:17:0:0
Number of Ports : 2
Internal Port Count : 2
External Port Count : 0
Defunct disk drive count : 0
NCQ status : Enabled
Queue Depth : Automatic
Monitor and Performance Delay : 60 minutes
Elevator Sort : Enabled
Degraded Mode Performance Optimization : Disabled
Latency : Disabled
Statistics data collection mode : Disabled
Post Prompt Timeout : 0 seconds
Boot Controller : False
Primary Boot Volume : None
Secondary Boot Volume : None
Driver Name : smartpqi
Driver Supports SSD I/O Bypass : Yes
NVMe Supported : No
NVMe Configuration Supported : No
Manufacturing Part Number : Not Applicable
Manufacturing Spare Part Number : Not Applicable
Manufacturing Wellness Log : Not Applicable
Manufacturing SKU Number : Not Applicable
Manufacturing Model : Not Applicable
NVRAM Checksum Status : Passed
Sanitize Lock Setting : None
Expander Minimum Scan Duration : 0 seconds
Expander Scan Time-out : 120 seconds
Reboot Required Reasons : Not Available
关于Cache部分的处理
Cache Properties
-------------------------------------------------------------------
Cache Status : Not Configured
Cache Serial Number : Not Applicable
Cache memory : 1808 MB
Read Cache Percentage : Not Applicable
Write Cache Percentage : Not Applicable
No-Battery Write Cache : Disabled
Wait for Cache Room : Disabled
Write Cache Bypass Threshold Size : 1040 KB
maxCache Properties
-------------------------------------------------------------------
maxCache Version : 4
maxCache RAID5 WriteBack Enabled : Enabled
先进行简单的写入测试
命令:
dd if=/dev/zero of=test bs=8k count=10000 oflag=direct
结果:
记录了10000+0 的读入
记录了10000+0 的写出
81920000字节(82 MB)已复制,0.738322 秒,111 MB/秒
命令:
dd if=test of=/dev/null bs=8k count=10000 iflag=direct
结果:
记录了10000+0 的读入
记录了10000+0 的写出
81920000字节(82 MB)已复制,1.49706 秒,54.7 MB/秒
设置一下raid的缓存比率
命令报错了. 好像还需要别的命令.
./arcconf setcache 1 cacheratio 10 90
Controllers found: 1
No Logical device(s) is configured with controller caching.
Command aborted.
学习下命令:
./arcconf SETCACHE 1 LOGICALDRIVE 0 con
./arcconf setcache 1 cacheratio 10 90
发现命令依旧报错:
./arcconf SETCACHE 1 LOGICALDRIVE 0 con
Controllers found: 1
The specified operation cannot be performed as SSD I/O bypass has been enabled on array 0.
Command aborted.
放弃 !-_-!
标签:RAID,查看,MB,Cache,Controller,PMC,------------------------------------------------
From: https://www.cnblogs.com/jinanxiaolaohu/p/16974044.html