Monday, October 19, 2009

Hardware Raid on T2000

Few useful commands while creating hardware raids.
Display RAID volumes: (Output from T2000 server before configuring h/w raid)

# raidctl
Controller: 0
        Disk: 0.0.0
        Disk: 0.1.0
        Disk: 0.2.0
        Disk: 0.3.0

Create a mirror:
# raidctl -c [-r 1] primary_disk secondary_disk
Create a stripe:
# raidctl -c -r 0 disk1 disk2 [disk3] . . .
Delete a RAID volume:
# raidctl -d volume
Display the disk controller firmware
# prtconf -vp | egrep '(model|version)'
Update the disk controller firmware:
# raidctl -F  [path_of_image_file] [controller#

eg:

root@Sun # prtconf -vp | egrep '(model|version)'
        version: 'OBP 4.30.0 2008/12/11 12:15'
        model:  'SUNW,4.30.0'
                        model:  'XVR200'
                    firmware-version:  '1.09.00.00'
                    mpt-version:  '1.05'
                    model:  'LSI,1064E'
                    version: '1.00.40'
=================================================================

No comments:

Post a Comment