Wednesday, March 3, 2010

RM6 (Raid Manager6) commands for A1000 Storage Array

Login to the server where the A1000 Storage array is connected . Please login as root for executing below commands

To perform a health check


cd /usr/sbin/osa
# ./healthck -a

Health Check Summary Information
gb029_001: Dead LUN at Drive [1,2];[2,2];[1,3] -- FAILED DISKS TO BE REPLACEDgb029_001: Battery Alert
healthck succeeded!
solarisserver:[/usr/sbin/osa]

Drive Information for controller named gb029_001

# /usr/sbin/osa/drivutil -i gb029_001

Drive Information for gb029_001


Location Capacity Status Vendor Product Firmware Serial
(MB) ID Version Number
[1,0] 34732 Optimal FUJITSU MAN3367M SUN36G 1804 01X18729
[2,0] 34732 Optimal FUJITSU MAN3367M SUN36G 1804 01X18483
[1,1] 34732 Optimal FUJITSU MAN3367M SUN36G 1804 01X18023
[2,1] 34732 Optimal SEAGATE ST336607LSUN36G 0707 3JAY3EAD00
[1,2] 0 Failed FUJITSU MAN3367M SUN36G 1804 01X07505
[2,2] 0 Failed
[1,3] 0 Failed FUJITSU MAN3367M SUN36G 1804 01X10350
[2,3] 34732 Optimal FUJITSU MAN3367M SUN36G 1804 01X08112
[1,4] 34732 Optimal FUJITSU MAN3367M SUN36G 1804 03X19438
[2,4] 34732 Optimal FUJITSU MAJ3364M SUN36G 0804 02M16646
[1,5] 34732 Optimal FUJITSU MAN3367M SUN36G 1804 01X08928
[2,5] 34732 Spare[2,2] FUJITSU MAN3367M SUN36G 1804 01X10820
Screen shot



To display which drives belong to which drive groups

# ./drivutil -d gb029_001

Drives in Group for gb029_001
Group Drive List [Channel,Id]
Hot Spare [2,5]; Group 1: [1,0]; [2,0]; [1,1]; [2,1]; [1,2]; [2,2]; [1,3]; [2,3]; [1,4]; [2,4]; [1,5];

drivutil succeeded!
solarisserver:[/usr/sbin/osa]#

To display a list of LUNs and their status in a specific RAID module
# ./drivutil -l gb029_001

Logical Unit Information for gb029_001
LUN Group Device RAID Capacity Status Name Level (MB)
0 1 c3t0d0 5 346927 Dead
drivutil succeeded!
solarisserver:[/usr/sbin/osa]

To verify the status of lun 0


# ./drivutil -p 0 c3t0d0gb029_001

unit 0: dead
drivutil succeeded!

To display the drive group information

# ./drivutil -I c3t0d0

Group Information for gb029_001
Group No. of RAID No. of Total Remaining LUNs Level Drives Space(MB) Space(MB)
Hot Spare - - 1 - - 1 1 5 11 346928 1


To display a list of the luns, their size and firmware info in a RAID Module

# ./raidutil -c c3t0d0 -i

LUNs found on c3t0d0. LUN 0 RAID 5 346927 MB
Vendor ID SymbiosProductID StorEDGE A1000Product Revision 0301Boot Level 03.01.04.00Boot Level Date 04/05/01Firmware Level 03.01.04.71Firmware Date 09/25/01raidutil succeeded!
solarisserver:[/usr/sbin/osa]

To delete an existing LUN
./raidutil -c c3t0d0 -D 0 OR ./raidutil -c c3t0d0 -D ALL
To confirm your previous step

./raidutil -c c3t0d0 -B

To create a MAX size raid 5 LUN using specific drives

./raidutil -c c3t0d0 -n 0 -l 5 -s 0 -g 10,20,11,21,12,22,13,23,14,24,15

n = lun no.
l= raid 5
s= size in MB ( 0 indicated raid 5 with max size) or u can use -s 346927
g = disks

To set up this disk as a hot spare
./raidutil -h 25

To check the raid creation progress

./drivutil -p 0 c3t0d0
once its done , pls run
cfgadm -c configure
Eg : cfgadm -c configure c3

devfsadm -Cv

No comments: