FreeBSD检查Adaptec RAID阵列的运行状况
时间:2020-01-09 10:38:29 来源:igfitidea点击:
我有一块5405 PCI卡设置了RAID 1。
如何在Linux下检查Adaptec RAID阵列的运行状况,但是如何通过命令行查找有关RAID卡,RAID状态,磁盘故障以及其他信息的信息?
aac是FreeBSD操作系统下的Adaptec AdvancedRAID Controller驱动程序,可与HP NetRAID,IBM ServeRAID,Sun STK RAID,Dell PERC/CERC和Adaptec SCSI/SATA系统配合使用。
SCSI Ultra2,Ultra160和Ultra320,SATA和SAS RAID控制器的Adaptec AAC系列。
查找有关RAID设备的信息
执行以下命令:
# dmesg | grep -i RAID
输出示例:
aac0: mem 0xe8000000-0xe81fffff irq 16 at device 0.0 on pci6 aacd0: on aac0
# pciconf -l | grep -i aac
输出:
aac0@pci0:6:0:0: class=0x010400 card=0x02d19005 chip=0x02859005 rev=0x09 hdr=0x00
FreeBSD arcconf
arcconf是Adaptec SCSI RAID系列RAID控制器的命令行界面,用于配置和管理连接的存储设备。
它可用于获取有关RAID配置的详细信息,包括运行状况。
FreeBSD安装arcconf
执行以下命令:
# portsnap fetch update # cd /usr/ports/sysutils/arcconf # make install clean && rehash
如何使用arcconf来了解Adaptec RAID阵列的运行状况?
在shell提示符下执行以下命令以获取信息控制器1:
# /usr/local/sbin/arcconf getconfig 1
输出示例:
Controllers found: 1 --------------------------------------------------------------------- Controller information --------------------------------------------------------------------- Controller Status : Optimal Channel description : SAS/SATA Controller Model : Adaptec 5405 Controller Serial Number : 8C4310BD20D Physical Slot : 2 Temperature : 58 C/ 136 F (Normal) Installed memory : 256 MB Copyback : Disabled Background consistency check : Disabled Automatic Failover : Enabled Global task priority : High Performance Mode : Default/Dynamic Stayawake period : Disabled Spinup limit internal drives : 0 Spinup limit external drives : 0 Defunct disk drive count : 0 Logical devices/Failed/Degraded : 1/0/0 ------------------------------------------------------- Controller Version Information ------------------------------------------------------- BIOS : 5.2-0 (16501) Firmware : 5.2-0 (16501) Driver : 5.2-0 (16501) Boot Flash : 5.2-0 (16501) ------------------------------------------------------- Controller Battery Information ------------------------------------------------------- Status : Optimal Over temperature : No Capacity remaining : 99 percent Time remaining (at current draw) : 3 days, 0 hours, 52 minutes --------------------------------------------------------------------- Logical device information --------------------------------------------------------------------- Logical device number 0 Logical device name : RAID1-A RAID level : 1 Status of logical device : Optimal Size : 285686 MB Read-cache mode : Enabled Write-cache mode : Enabled (write-back) Write-cache setting : Enabled (write-back) when protected by battery Partitioned : Yes Protected by Hot-Spare : No Bootable : Yes Failed stripes : No Power settings : Disabled ------------------------------------------------------- Logical device segment information ------------------------------------------------------- Segment 0 : Present (0,0) 3LM44BDA00009839M228 Segment 1 : Present (0,1) 3LM4C6B000009841PEW9 --------------------------------------------------------------------- Physical Device information --------------------------------------------------------------------- Device #0 Device is a Hard drive State : Online Supported : Yes Transfer Speed : SAS 3.0 Gb/s Reported Channel,Device(T:L) : 0,0(0:0) Reported Location : Connector 0, Device 0 Vendor : SEAGATE Model : ST3300655SS Firmware : 0004 Serial number : 3LM44BDA00009839M228 World-wide name : 5000C50006EDAD74 Size : 286102 MB Write Cache : Enabled (write-back) FRU : None S.M.A.R.T. : No Device #1 Device is a Hard drive State : Online Supported : Yes Transfer Speed : SAS 3.0 Gb/s Reported Channel,Device(T:L) : 0,1(1:0) Reported Location : Connector 0, Device 1 Vendor : SEAGATE Model : ST3300655SS Firmware : 0004 Serial number : 3LM4C6B000009841PEW9 World-wide name : 5000C50006EF88D8 Size : 286102 MB Write Cache : Enabled (write-back) FRU : None S.M.A.R.T. : No Command completed successfully.