Adaptec raid卡命令行管理

IBM X3650使用的是Adaptec AAC-RAID集成raid卡,对此raid卡进行管理需要使用arcconf命令进行管理,

此工具默认支持LINUX4,LINUX5系统;

 

查看RAID卡型号:

[root@linuxbak ~]# lspci |grep -i raid

04:00.0 RAID bus controller: Adaptec AAC-RAID (Rocket) (rev 02)

[root@linuxbak ~]# cat /etc/redhat-release

redhat4

 

1、上传ibm_utl_aacraid_arcconf-9.30-17006_linux_i386.zip文件到系统中,进行解压

[root@linuxbak ~]# unzip ibm_utl_aacraid_arcconf-9.30-17006_linux_i386.zip

Archive: ibm_utl_aacraid_arcconf-9.30-17006_linux_i386.zip

inflating: arcconf
下载地址: http://download2.boulder.ibm.com/sar/CMA/XSA/ibm_utl_aacraid_arcconf-9.30-17006_linux_i386.zip

2、添加执行权限

[root@linuxbak ~]# chmod u+x arcconf

3、查看命令帮助

[root@linuxbak ~]# ./arcconf help

 

| ARCCONF | IBM uniform command line interface

| ARCCONF | Version 9.30 (B17006)

| ARCCONF | (C) Adaptec 2003-2007

| ARCCONF | All Rights Reserved

 

AUTOFAILOVER | toggles controller auto fail over option

COPYBACK | toggles controller copy back mode

CREATE | creates a logical drive

DATASCRUB | controls the data scrubbing mode

DELETE | deletes one or more logical drives

FLASHCOPY | creates a copy of a logical drive

GETCONFIG | prints controller information

GETLOGS | gets controller log information

GETSTATUS | displays the status of running background tasks

GETVERSION | prints version information for all controllers

IDENTIFY | blinks LEDS on device(s) connected to a controller

MODIFY | performs RAID Level Migration or Online Capacity Expansion

RESCAN | checks for new or removed drives

ROMUPDATE | updates controller firmware

SETCONFIG | restores the default configuration

SETCACHE | adjusts physical or logical drive cache mode

SETNAME | renames a logical drive given its logical drive number

SETSTATE | manually sets the state of a physical or logical drive

TASK | performs a task such as synchronize on a physical or logical drive

 

4、查看版本

[root@linuxbak ~]# ./arcconf getversion

Controllers found: 1

Controller #1

==============

Firmware : 5.2-0 (15421)

Staged Firmware : 5.2-0 (15421)

BIOS : 5.2-0 (15421)

Driver : 1.1-5 (2409)

Boot Flash : 5.1-0 (15411)

 

Command completed successfully.

 

5、获取配置信息

[root@linuxbak ~]# ./arcconf getconfig

 

Usage: GETCONFIG [AD / LD [LD#] / PD / AL]

======================================================

 

Prints controller configuration info.

 

Option AD : Adapter information only

LD : Logical drive information only

LD# : Optionally display information about the specified logical drive

PD : Physical drive information only

AL : All information (optional)

 

[root@linuxbak ~]#

[root@linuxbak ~]# ./arcconf getconfig ad #错误的命令,需要在getconfig后加上raid控制器序号,默认为1

Controllers found: 1 #控制器序号

……

……

 

6、只获取raid短适配器信息

 

[root@linuxbak ~]# ./arcconf getconfig 1 AD

Controllers found: 1

----------------------------------------------------------------------

Controller information

----------------------------------------------------------------------

Controller Status : Okay

Channel description : SAS/SATA

Controller Model : IBM ServeRAID 8k-l

Controller Serial Number : 1BC953C0

Physical Slot : 0

Installed memory : 32 MB

Copyback : Disabled

Data scrubbing : Enabled

Defunct disk drive count : 0

Logical drives/Offline/Critical : 1/0/0 适配器及硬盘状态信息

--------------------------------------------------------

Controller Version Information

--------------------------------------------------------

BIOS : 5.2-0 (15421)

Firmware : 5.2-0 (15421)

Driver : 1.1-5 (2409)

Boot Flash : 5.1-0 (15411)

--------------------------------------------------------

Controller Battery Information

--------------------------------------------------------

Status : Not Installed

--------------------------------------------------------

Controller Vital Product Data

--------------------------------------------------------

VPD Assigned# : 25R8078

EC Version# : J85097A

Controller FRU# : 25R8079

 

 

Command completed successfully.

7、获取逻辑驱动器信息

[root@linuxbak ~]# ./arcconf getconfig 1 LD

Controllers found: 1

----------------------------------------------------------------------

Logical drive information

----------------------------------------------------------------------

Logical drive number 1

Logical drive name : raid1

RAID level : 1 #RAID级别

Status of logical drive : Okay #逻辑驱动器状态

Size : 139889 MB #大小

Write-cache mode : Not supported

Partitioned : Yes

Number of segments : 2

Drive(s) (Channel,Device) : 0,0 0,1 #硬盘信息

Defunct segments : No

 

 

Command completed successfully.

8、获取物理硬盘信息

[root@linuxbak ~]# ./arcconf getconfig 1 PD

Controllers found: 1

----------------------------------------------------------------------

Physical Device information

----------------------------------------------------------------------

Device #0 #0号硬盘

Device is a Hard drive

State : Online #硬盘状态

Supported : Yes

Transfer Speed : SAS 3.0 Gb/s

Reported Channel,Device : 0,0 #硬盘位置

Reported Location : Enclosure 0, Slot 0

Reported ESD : 2,0

Vendor : IBM-ESXS

Model : VPBA146C3ETS11 N

Firmware : A496

Serial number : JFXGHVPC #硬盘SN

World-wide name : 5000CCA00D8B1EFB #硬盘wwn号

Size : 140013 MB #硬盘大小

Write Cache : Disabled (write-through)

FRU : 39R7362 #硬盘FRU

PFA : No

Device #1 #1号硬盘

Device is a Hard drive

State : Online

Supported : Yes

Transfer Speed : SAS 3.0 Gb/s

Reported Channel,Device : 0,1

Reported Location : Enclosure 0, Slot 1

Reported ESD : 2,0

Vendor : IBM-ESXS

Model : VPBA146C3ETS11 N

Firmware : A496

Serial number : JFWAZENC

World-wide name : 5000CCA00D4C55F3

Size : 140013 MB

Write Cache : Disabled (write-through)

FRU : 39R7362

PFA : No

Device #2

Device is an Enclosure services device

Reported Channel,Device : 2,0

Enclosure ID : 0

Type : SES2

Vendor : IBM-ESXS

Model : VSC7160

Firmware : 1.07

Status of Enclosure services device

Temperature : Normal

 

Command completed successfully.

 

9、获取所有信息

[root@linuxbak ~]# ./arcconf getconfig 1 AL #默认 ./arcconf getconfig 1执行结果一样

Controllers found: 1

----------------------------------------------------------------------

Controller information

----------------------------------------------------------------------

Controller Status : Okay

Channel description : SAS/SATA

Controller Model : IBM ServeRAID 8k-l

Controller Serial Number : 1BC953C0

Physical Slot : 0

Installed memory : 32 MB

Copyback : Disabled

Data scrubbing : Enabled

Defunct disk drive count : 0

Logical drives/Offline/Critical : 1/0/0

--------------------------------------------------------

Controller Version Information

--------------------------------------------------------

BIOS : 5.2-0 (15421)

Firmware : 5.2-0 (15421)

Driver : 1.1-5 (2409)

Boot Flash : 5.1-0 (15411)

--------------------------------------------------------

Controller Battery Information

--------------------------------------------------------

Status : Not Installed

--------------------------------------------------------

Controller Vital Product Data

--------------------------------------------------------

VPD Assigned# : 25R8078

EC Version# : J85097A

Controller FRU# : 25R8079

 

----------------------------------------------------------------------

Logical drive information

----------------------------------------------------------------------

Logical drive number 1

Logical drive name : raid1

RAID level : 1

Status of logical drive : Okay

Size : 139889 MB

Write-cache mode : Not supported

Partitioned : Yes

Number of segments : 2

Drive(s) (Channel,Device) : 0,0 0,1

Defunct segments : No

 

----------------------------------------------------------------------

Physical Device information

----------------------------------------------------------------------

Device #0

Device is a Hard drive

State : Online

Supported : Yes

Transfer Speed : SAS 3.0 Gb/s

Reported Channel,Device : 0,0

Reported Location : Enclosure 0, Slot 0

Reported ESD : 2,0

Vendor : IBM-ESXS

Model : VPBA146C3ETS11 N

Firmware : A496

Serial number : JFXGHVPC

World-wide name : 5000CCA00D8B1EFB

Size : 140013 MB

Write Cache : Disabled (write-through)

FRU : 39R7362

PFA : No

Device #1

Device is a Hard drive

State : Online

Supported : Yes

Transfer Speed : SAS 3.0 Gb/s

Reported Channel,Device : 0,1

Reported Location : Enclosure 0, Slot 1

Reported ESD : 2,0

Vendor : IBM-ESXS

Model : VPBA146C3ETS11 N

Firmware : A496

Serial number : JFWAZENC

World-wide name : 5000CCA00D4C55F3

Size : 140013 MB

Write Cache : Disabled (write-through)

FRU : 39R7362

PFA : No

Device #2

Device is an Enclosure services device

Reported Channel,Device : 2,0

Enclosure ID : 0

Type : SES2

Vendor : IBM-ESXS

Model : VSC7160

Firmware : 1.07

Status of Enclosure services device

Temperature : Normal

 

 

Command completed successfully.

[root@linuxbak ~]#

 

10、获取所有日志

[root@linuxbak ~]# ./arcconf getlogs help

Controllers found: 1

Invalid arguments.

 

Usage: GETLOGS [clear/tabular]

======================================================

 

Obtains controller log information.

 

Type : DEVICE, drive error log

DEAD, dead (defunct) drive log

EVENT, controller event log

PPI, can only be cleared

clear : Clears the specified log.

tabular : Displays the specified log in tabular (vs XML) format.

 

驱动失败日志

[root@linuxbak ~]# ./arcconf getlogs 1 device tabular

Controllers found: 1

 

ControllerLog

controllerID ..................... 0

type ............................. 0

time ............................. 1396250467

version .......................... 1

 

Command completed successfully.

 

 

[root@linuxbak ~]# ./arcconf getlogs 1 dead tabular

Controllers found: 1

 

ControllerLog

controllerID ..................... 0

type ............................. 5

time ............................. 1396250524

 

Command completed successfully.

 

获取raid卡事件日志

[root@linuxbak ~]# ./arcconf getlogs 1 event tabular

RAID卡事件日志.txt

清理日志

[root@linuxbak ~]# ./arcconf getlogs 1 clear

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值