Adaptec RAID Manager Command Line Utility install for Linux Centos
|Adaptec RAID Manager Command Line Utility install for Linux CentOS
Download the Adaptec RAID CLI manager:
wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v7_31_18856.tgz
———————————————————————————————-
–2014-06-19 09:53:54– http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v7_31_18856.tgz
Resolving download.adaptec.com… 93.184.221.133
Connecting to download.adaptec.com|93.184.221.133|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 116573943 (111M) [application/x-tgz]
Saving to: `asm_linux_x64_v7_31_18856.tgz’
100%[=================================================================>] 116,573,943 8.10M/s in 16s
2014-06-19 09:54:10 (6.95 MB/s) – `asm_linux_x64_v7_31_18856.tgz’ saved [116573943/116573943]
————————————————————————————————-
Extract the package:
tar zxf asm_linux_x64_v7_31_18856.tgz
Go in to the extracted directory:
cd manager/
Install the RPM package:
rpm -Uvh StorMan-7.31.x86_64.rpm
———————————————————————————–
Preparing… ########################################### [100%]
Adaptec Storage Manager
Version 7.31
1:StorMan ########################################### [100%]
starting Adaptec Storage Manager agent …
Installation completed successfully.
————————————————————————————
Accessing Adaptec RAID Manager CLI
Browse to Adaptec RAID Manager installed directory:
cd /usr/StorMan
Change the permission of the Adaptec CLI:
chmod +x arcconf
Get the configuration of Adaptec RAID Disk 1
./arcconf GETCONFIG 1
———————————————————————-
Logical device information
———————————————————————-
Logical device number 0
Logical device name : bob
RAID level : 10
Status of logical device : Degraded
———————————————————————-
See the status of smart check on each physical disk:
smartctl -d sat -a /dev/sg1
smartctl -d sat -a /dev/sg2
smartctl -d sat -a /dev/sg3
This is the failed disk and see the sample results of smart errors:
smartctl -d sat -a /dev/sg4
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
187 Reported_Uncorrect 0x0032 036 036 000 Old_age Always – 64
197 Current_Pending_Sector 0x0012 100 098 000 Old_age Always – 17
198 Offline_Uncorrectable 0x0010 100 098 000 Old_age Offline – 17
SMART Error Log Version: 1
ATA Error Count: 60 (device log contains only the most recent five errors)
Error 60 occurred at disk power-on lifetime: 17135 hours (713 days + 23 hours)
When the command that caused the error occurred, the device was active or idle.
———————————————————————————
Get the failing disk’s serial number:
smartctl -d sat -a /dev/sg4 | grep "Serial"
Replace the failed disk
Run the following to see the status of Adaptec RAID rebuild:
/usr/StorMan/arcconf GETSTATUS 1
Controllers found: 1
Logical device Task:
Logical device : 0
Task ID : 101
Current operation : Rebuild
Status : In Progress
Priority : High
Percentage complete : 53