Back to the main page

Replacing hard disk on StorEdge A1000

Okay, you'll probably have some of these packages installed on your system: SUNWosafw (Open Storage Array Firmware), SUNWosamn, SUNWosau, SUNWosar.

And you'd like to do some exercises before proceed with HDD replacement, so here are some troubleshooting commands.

My A1000 was connected to Solaris 8 and needed commands are in directory /usr/sbin/osa (may be different one with you). You can see some real examples below.

Health check of RAID modules - Okay, okay, I need to replace the battey :)

# healthck -a
atlant1_12x36:            Battery Alert 
atlant2_12x36:            Battery Alert
healthck succeeded!
List Array devices

# lad
c1t5d0 1T04676812 LUNS: 0 
c2t5d0 1T20890698 LUNS: 0 
Note that you should also see these 2 device with 'format' command.

To see info about LUN

# drivutil -l c2t5d0
Logical Unit Information for atlant2_12x36 
LUN      Group      Device           RAID      Capacity      Status 
                     Name             Level     (MB)               
  0       1          c2t5d0            5         346928       Optimal 
To see drives in LUN

# drivutil -d c2t5d0
Drives in Group for atlant2_12x36
  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];
To see info about hard drives:

Note 3 different cases: Failed disk, Replaced [2,3] and Spare than "jumped" in [2,3] for RAID reconstruction

# drivutil -i c2t5d0
Drive Information for atlant2_12x36
Location  Capacity             Status                         Vendor  Product          Firmware     Serial
            (MB)                                                         ID             Version      Number
[1,0]     34732                Optimal                        SEAGATE ST336607LSUN36G  0307        3JA2302C00
[1,3]     34732                Failed                         FUJITSU MAN3367M SUN36G  1502         01X59594
[2,3]     70007                Replaced                         SEAGATE ST373307LC       0006         3HZZ022200
[2,5]     34732                Spare[2,3]                       FUJITSU MAN3367M SUN36G  1502         01X59530
... etc ...
Display LUN information:

# drivutil -I c1t5d0
  Group         No. of    RAID       No. of       Total       Remaining
                LUNs      Level      Drives       Space(MB)   Space(MB)
  Hot Spare      -          -           1              -             -
  1              1          5          11         346928             0
More info about RAID

# raidutil -c c2t5d0 -i
LUNs found on c2t5d0.
  LUN 0    RAID 5    346928 MB
Vendor ID         Symbios
ProductID         StorEDGE A1000
Product Revision  0301
Boot Level
Boot Level Date   07/06/00
Firmware Level
Firmware Date     03/15/01
raidutil succeeded!
See battery age

# raidutil -c c1t5d0 -B
LUNs found on c1t5d0.
  LUN 0    RAID 5    346928 MB
Battery age is between 630 days and 720 days.
Replace hard disk

This should be straightforward, once you verify disk has failed and there is amber LED, replace it with a new one. The RAID should start reconstruction that can be verified with command below.

Check percentage of RAID reconstruction

# drivutil -p 0 c1t5d0
atlant1_12x36                 unit  0:   72 percent reconstructed (check until you see "optimal")

Note about D1000
Since D1000 is JBOD, it may require some work in order to recognize new disk. First the naming convention is c W t X d Y s Z
W - Bus controller 
X - Target (in this case should be disk slot)
Y - Disk drive, always 0
Z - Slice (partition) on disk 
If the OS does not recognize new disk use command devfsadm (see man for options):
The  devfsadm  is dealing with and refreshing /dev and /devices directories. 

This command replaced many previous commands that are still present but as links to devfsadm.

You can easily find these command if you look for same i-node, like this:

In directory /usr/sbin

# ls -i | grep `ls -i | grep devfsadm | awk '{print $1}'` 

       709 -rwxr-xr-x   7 root     sys       118320 Oct  3  2008 audlinks
       709 -rwxr-xr-x   7 root     sys       118320 Oct  3  2008 devfsadm
       709 -rwxr-xr-x   7 root     sys       118320 Oct  3  2008 devlinks
       709 -rwxr-xr-x   7 root     sys       118320 Oct  3  2008 disks
       709 -rwxr-xr-x   7 root     sys       118320 Oct  3  2008 drvconfig
      4709 -r-xr-xr-x   1 root     bin        36468 Apr  7  2008 in.rlogind
       709 -rwxr-xr-x   7 root     sys       118320 Oct  3  2008 ports
       709 -rwxr-xr-x   7 root     sys       118320 Oct  3  2008 tapes

You can also prove that all these files are same with command

# diff drvconfig devfsadm 
Back to the main page