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下载地址:
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 ~]#