Installing an A1000 on Solaris8

contributed by Jim Shumpert, edited by Doug Hughes

Here is what you need to do to install An A1000 on Solaris8. The order is very particular. Much of this is by way of example. The particulars of your site will differ. Substitute the latest version of Raid Manager if there is a newer one available. Also, the exact firmware versions will change over time, so, do not take this too literally.

  1. Install Solaris8
  2. Install required OS patches
    (If you have an Ultra60, install 106455-09 or better - firmware patch - before proceeding)
  3. Install RM 6.22 or better.

    # pkgadd -d . SUNWosar SUNWosafw SUNWosamn SUNWosau

  4. (contributed by Greg Whalin) Check /etc/osa/mnf and make sure that your controller name does NOT contain any periods. Change them to a _ instead. The RM software does not have any clue how to deal with a period. This kept me screwed up for quite a while.
  5. Install patches 109571-02 (for Solaris8 FCS) and 108553-07 (or newer)
    (for Solaris7/2.6 patch 108834-07 or newer) [ NOTE: 112125-01 and 112126-01 or better for RM 6.22.1]

    # patchadd 109571-02
    # patchadd 108553-02

  6. Boot -r

    # touch /reconfigure
    # reboot -- -r

  7. Upgrade the firmware on the A1000

    /usr/lib/osa/bin/raidutil -c c1t0d0 -i
    
    LUNs found on c1t0d0.
      LUN 0    RAID 0    0 MB
    
    Vendor ID         Symbios 
    ProductID         StorEDGE A1000  
    Product Revision  0205
    Boot Level        02.05.01.00
    Boot Level Date   12/02/97
    Firmware Level    02.05.02.11
    Firmware Date     04/09/98
    raidutil succeeded!
    

    1. Find lowest number firmware upgrade that is still greater than the firmware that is installed on your A1000. For the above example, with patch 108553, upgrade to 2.05.06.32 (do this first, VERY IMPORTANT!)

      # cd /usr/lib/osa/fw
      # /usr/lib/osa/bin/fwutil 02050632.bwd c1t0d0
      # /usr/lib/osa/bin/fwutil 02050632.apd c1t0d0

    2. Upgrade to the each next higher firmware in succession until you get to the most recent version. It is recommend that you do the upgrades in order. For this example, Upgrade to 3.01.02.33/5

      # /usr/lib/osa/bin/fwutil 03010233.bwd c1t0d0
      # /usr/lib/osa/bin/fwutil 03010235.apd c1t0d0

    3. Upgrade to 03.01.03.60 (or better)

      # /usr/lib/osa/bin/fwutil 03010304.bwd c1t0d0
      # /usr/lib/osa/bin/fwutil 03010360.apd c1t0d0

    4. Check that the array has the correct versions:

      # /usr/lib/osa/bin/raidutil -c c1t0d0 -i
      
      LUNs found on c1t0d0.
        LUN 0    RAID 0    0 MB
      
      Vendor ID         Symbios 
      ProductID         StorEDGE A1000  
      Product Revision  0301
      Boot Level        03.01.03.00
      Boot Level Date   10/22/99
      Firmware Level    03.01.03.54
      Firmware Date     03/30/00
      raidutil succeeded!

  8. Check to make sure that the RAID is attached and looks good

    # /usr/lib/osa/bin/drivutil -i c1t0d0
    
    Drive Information for satl-adb1_a_001
    
    
    Location  Capacity   Status         Vendor  Product          Firmware     Serial
    	    (MB)                              ID             Version      Number
    [1,0]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0RHKA00    
    [2,0]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0QZM600    
    [1,1]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0QLRG00    
    [2,1]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0RHM400    
    [1,2]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0R9FZ00    
    [2,2]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0R9SZ00    
    [1,3]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0R9FY00    
    [2,3]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0QKVR00    
    [1,4]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0R79X00    
    [2,4]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0QX8500    
    [1,5]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0R9JS00    
    [2,5]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0RCY600    
    
    drivutil succeeded!

  9. Example: Create 1 large 10-disk RAID 5 configuration (LUN 0) of max size and then create 2 Hot Spare disks

    # /usr/lib/osa/bin/raidutil -c c1t0d0 -D 0
    
    LUNs found on c1t0d0.
      LUN 0    RAID 0    0 MB
    Deleting LUN 0.
    Press Control C to abort.
    
     LUNs successfully deleted
    
    raidutil succeeded!
    
    # /usr/lib/osa/bin/raidutil -c c1t0d0 -l 5 -n 0 -s 0 -r fast -g 10,20,11,21,12,22,13,23,14,24
    
    No existing LUNs were found on c1t0d0.
    Capacity available in drive group:  317669184 blocks  (155111 MB).
    Creating LUN 0
    
    Registering new logical unit 0 with system.
    Formatting logical unit 0  RAID 5   155111 MB 
    LUNs found on c1t0d0.
      LUN 0    RAID 5    155111 MB
    
     LUNs successfully created
    
    raidutil succeeded!
    
    # /usr/lib/osa/bin/raidutil -c c1t0d0 -h 15,25
    
    LUNs found on c1t0d0.
      LUN 0    RAID 5    155111 MB
    
    raidutil succeeded!

  10. Format new RAID by making only one slice 2 partition:

    # prtvtoc /dev/rdsk/c1t0d0s2
    * /dev/rdsk/c1t0d0s2 partition map
    *
    * Dimensions:
    *     512 bytes/sector
    *      75 sectors/track
    *      64 tracks/cylinder
    *    4800 sectors/cylinder
    *   65535 cylinders
    *   65533 accessible cylinders
    *
    * Flags:
    *   1: unmountable
    *  10: read-only
    *
    * Unallocated space:
    *       First     Sector    Last
    *       Sector     Count    Sector 
    *           0 314558400 314558399
    *
    *                          First     Sector    Last
    * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
           2      5    01          0 314558400 314558399
    

  11. Newfs new RAID

    # newfs /dev/dsk/c1t0d0s2

  12. Mount the RAID up as /raid

    # mkdir /raid
    # echo "/dev/dsk/c1t0d0s2 /dev/rdsk/c1t0d0s2 /raid ufs 3 yes -" >> /etc/vfstab
    # mount /raid

  13. Check to make sure that the new array is available via "df -lk"

     # df -lk
     Filesystem            kbytes    used   avail capacity  Mounted on
     /dev/md/dsk/d0       2056211   43031 1951494     3%    /
     /dev/md/dsk/d6       4131866 1133180 2957368    28%    /usr
     /proc                      0       0       0     0%    /proc
     fd                         0       0       0     0%    /dev/fd
     mnttab                     0       0       0     0%    /etc/mnttab
     /dev/md/dsk/d5       2056211    9092 1985433     1%    /var
     swap                 1450208       8 1450200     1%    /var/run
     swap                 1450208       8 1450200     1%    /tmp
     /dev/md/dsk/d7       8089425  182023 7826508     3%    /export
     /dev/dsk/c1t0d0s2    154872105       9 153323375     1%    /raid