How to manage the Adaptec AACRaid card using the arcconf management tool
To list the controller configuration and status use the following command.
/usr/StorMan/arcconf getconfig 1 al
Controllers found: 1 ---------------------------------------------------------------------- Controller information ---------------------------------------------------------------------- Controller Status : Optimal Channel description : SAS/SATA Controller Model : IBM ServeRAID 8k Controller Serial Number : 311234 Physical Slot : 0 Installed memory : 256 MB Copyback : Disabled Background consistency check : Enabled Automatic Failover : Enabled Defunct disk drive count : 0 Logical devices/Failed/Degraded : 1/0/0 -------------------------------------------------------- Controller Version Information -------------------------------------------------------- BIOS : 5.2-0 (17002) Firmware : 5.2-0 (17002) Driver : 1.1-5 (2455) Boot Flash : 5.1-0 (15421) -------------------------------------------------------- Controller Battery Information -------------------------------------------------------- Status : Optimal Over temperature : No Capacity remaining : 100 percent Time remaining (at current draw) : 3 days, 6 hours, 40 minutes ---------------------------------------------------------------------- Logical device information ---------------------------------------------------------------------- Logical device number 0 Logical device name : Drive 1 RAID level : 5 Status of logical device : Optimal Size : 279798 MB Stripe-unit size : 256 KB 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 : Yes -------------------------------------------------------- Logical device segment information -------------------------------------------------------- Segment 0 : Present (0,3) 3NM4NLRY Segment 1 : Present (0,1) 3NM4PTTG Segment 2 : Present (0,2) P6XAZGLB ---------------------------------------------------------------------- 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,1 Reported Location : Enclosure 0, Slot 1 Reported ESD : 2,0 Vendor : IBM-ESXS Model : ST9146802SS Firmware : B522 Serial number : 3NM4PTTG World-wide name : 5000C50006479P72 Size : 140013 MB Write Cache : Disabled (write-through) FRU : 43X0829 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 : 0,2 Reported Location : Enclosure 0, Slot 2 Reported ESD : 2,0 Vendor : IBM-ESXS Model : CBRBA146C3ETS0 N Firmware : C49C Serial number : P6XAZGLB World-wide name : 5000CCA000984G27 Size : 140013 MB Write Cache : Disabled (write-through) FRU : 43X0825 S.M.A.R.T. : No Device #2 Device is a Hard drive State : Online Supported : Yes Transfer Speed : SAS 3.0 Gb/s Reported Channel,Device : 0,3 Reported Location : Enclosure 0, Slot 0 Reported ESD : 2,0 Vendor : IBM-ESXS Model : ST9146802SS Firmware : B522 Serial number : 3NM4NLRY World-wide name : 5000C50006095F56 Size : 140013 MB Write Cache : Disabled (write-through) FRU : 43X0829 S.M.A.R.T. : No Device #3 Device is an Enclosure services device Reported Channel,Device : 2,0 Enclosure ID : 0 Type : SES2 Vendor : IBM Model : SAS SES-2 DEVICE Firmware : 1.10 Status of Enclosure services device Temperature : Normal Command completed successfully.
To check for disk errors and attempt to fix them use the following command.
/usr/StorMan/arcconf task start 1 logicaldrive 0 verify_fix
To vew the status of running tasks such as a verify_fix task use the following command.
/usr/StorMan/arcconf getstatus 1
Controllers found: 1 Logical device Task: Logical device : 0 Task ID : 105 Current operation : Build/Verify Status : In Progress Priority : High Percentage complete : 2 Command completed successfully.
To update the controller firmware and BIOS download the firmware update software from Adaptec website and run it as shown below.
./ibm_fw_aacraid_8k-8kl-5.2.0-17002_linux_32-64.bin -s
Found 1 ServeRAID Controller(s) Getting configuration for Controller 1. Please wait.... Controller 1 is a ServeRAID 8k or 8k-l Controller Attempting to flash controller 1! Updating Controller 1. Please wait.... ./arcconf romupdate 1 as4810 noprompt Controllers found: 1 You must restart the system for firmware updates to take effect. Updating controller 1 firmware...Succeeded A new software image has been applied to controller 1. Command completed successfully. Successfully flashed controller 1!