Configuring A1000 RAID arrays on wsweb02 Now create the LUNs (all RAID 5): The disks are labelled on the front of the A1000 as controller number and disk number seperated by a comma eg. 1,0 1,2 and 2,0 etc, etc. We refer to the disks without using the comma. So the first disk on controller 1 is disk 10 and the 3rd disk on controller 2 is disk 23. we will use disks on both controllers when creating the mirrors. I am starting with the disks on each controller as viewed fromm the left. The next stage is to create the luns we require. In our case we have two A1000's on wsweb02 and we want both to be RAID 5. Both are fully populated and we want two hot spares in each. The only difference is wsweb02_array_01 has 36GB drives in it and wsweb02_array_02 has 9GB drives. Example command usage: # raidutil -c controller -n lun_number -l raid_type -s size -g disk_list LUN 0 Size 8617mb of a stripped/mirror configuration across half of the first two disks. First lets list out our disks: # drivutil -i c3t4d0 Drive Information for wsweb02_array_01 Location Capacity Status Vendor Product Firmware Serial (MB) ID Version Number [1,0] 0 Optimal IBM DDYST3695SUN36G S96H 01258J4246 [2,0] 34732 Optimal IBM DDYST3695SUN36G S96H 01258P3940 [1,1] 34732 Optimal IBM DDYST3695SUN36G S96H 01258P3785 [2,1] 34732 Optimal IBM DDYST3695SUN36G S96H 01258P5052 [1,2] 34732 Optimal IBM DDYST3695SUN36G S96H 01258PC132 [2,2] 34732 Optimal HITACHI DK32EJ36NSUN36G PQ08 26S16VLW00 [1,3] 34732 Optimal IBM DDYST3695SUN36G S96H 01258NW931 [2,3] 34732 Optimal IBM DDYST3695SUN36G S96H 01258J4445 [1,4] 34732 Optimal HITACHI DK32EJ36NSUN36G PQ08 22S14AZT00 [2,4] 34732 Optimal IBM DDYST3695SUN36G S96H 01258J4259 [1,5] 34732 Optimal HITACHI DK32EJ36NSUN36G PQ08 25S12GV200 [2,5] 0 Unresponsive # drivutil -i c2t5d0 Drive Information for wsweb02_array_02 Location Capacity Status Vendor Product Firmware Serial (MB) ID Version Number [1,0] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ78545900 [2,0] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ76438000 [1,1] 17274 Optimal SEAGATE ST318203LSUN18G 034A LRA2297200 [2,1] 8637 Optimal SEAGATE ST39204LCSUN9.0G 4207 3BV0LFPY00 [1,2] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ79336300 [2,2] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ79063900 [1,3] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ78536200 [2,3] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ79343300 [1,4] 8637 Optimal SEAGATE ST39103LCSUN9.0G 034A LS47587600 [2,4] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ78197500 [1,5] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ75063700 [2,5] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ70071600 # raidutil -c c2t5d0 -D 0 LUNs found on c2t5d0. LUN 0 RAID 0 10 MB Deleting LUN 0. Press Control C to abort. LUNs successfully deleted raidutil succeeded! # raidutil -c c2t5d0 -n 0 -l 5 -s 77375 -g 10,20,12,22,13,23,14,24,15,25 No existing LUNs were found on c2t5d0. Capacity available in drive group: 158465664 blocks (77375 MB). Creating LUN 0 Registering new logical unit 0 with system. Formatting logical unit 0 RAID 5 77375 MB LUNs found on c2t5d0. LUN 0 RAID 5 77375 MB LUNs successfully created # raidutil -c c2t5d0 -h 11,21 LUNs found on c2t5d0. LUN 0 RAID 5 77375 MB # raidutil -c c2t5d0 -i | grep LUN LUNs found on c2t5d0. LUN 0 RAID 5 77375 MB # drivutil -i c2t5d0 Drive Information for wsweb02_array_02 Location Capacity Status Vendor Product Firmware Serial (MB) ID Version Number [1,0] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ78545900 [2,0] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ76438000 [1,1] 17274 Spare-Stdby SEAGATE ST318203LSUN18G 034A LRA2297200 [2,1] 8637 Spare-Stdby SEAGATE ST39204LCSUN9.0G 4207 3BV0LFPY00 [1,2] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ79336300 [2,2] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ79063900 [1,3] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ78536200 [2,3] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ79343300 [1,4] 8637 Optimal SEAGATE ST39103LCSUN9.0G 034A LS47587600 [2,4] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ78197500 [1,5] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ75063700 [2,5] 8637 Optimal SEAGATE ST39102LCSUN9.0G 0828 LJ70071600 Pickup the new LUN's # devfsadm -v # format (and see if the new LUN's show up) 4. c2t5d0 /pseudo/rdnexus@2/rdriver@5,0 Format the new LUN's # newfs /dev/dsk/c2t5d0s0 Add to the vfstab: # cp /etc/vfstab /etc/vfstab.20030929.kinscoe # echo " " >> /etc/vfstab Notes: http://www.geocities.com/arndike/raid_manager_6_and_A1000.html http://www.eng.auburn.edu/pub/mail-lists/ssastuff/Solaris8-A1000.html http://www.sunmanagers.org/pipermail/sunmanagers/2003-September/024650.html http://www.sunmanagers.org/pipermail/sunmanagers/2003-September/024650.html http://www.sunmanagers.org/pipermail/summaries/2002-October/004006.html http://groups.google.com/groups?selm=701578d3.0301091619.36c8956d%40posting.google.com&rnum=1 http://www.eng.auburn.edu/pub/mail-lists/ssastuff/a1kemercov.html