Sun StorEdge A1000 Battery Replacement Procedure

Sun StorEdge A1000 is one of the oldest storage array from SUN but still widely used. Just recently, we received a battery expiration and we need this replaced as soon as possible to ensure optimal operation of the said Sun StorEdge A1000 array. Below are the steps that we used to replace the expired battery:

Run the following Sun StorEdge RAID Manager 6 (RM6) CLI command:

Determine the device name:

root@solaris# /usr/lib/osa/bin/lad
c1t0d0 1T93803809 LUNS: 0 1

Determine the battery age, use the device name listed in lad command:

root@solaris# /usr/lib/osa/bin/raidutil -c c1t0d0 -B
LUNs found on c1t0d0.
LUN 0    RAID 0    10 MB
LUN 1    RAID 5    1000 MB

Battery age is between 720 days and 810 days.

raidutil succeeded!

battery age between 630 and 720 days – near expiration
battery age greater than 720 days – expired

Battery should be replaced for all the above cases.

NOTE: A1000 battery is not hot swappable.

Disable the Write Caching option by using the RM6 command line commands:

root@solaris# /usr/lib/osa/bin/lad
c1t0d0 1T93803809 LUNS: 0 1

Write cache disabling:

root@solaris# /usr/lib/osa/bin/raidutil -c c1t0d0 -w off 0,1
LUNs found on c1t0d0.
LUN 0    RAID 5    8100 MB
LUN 1    RAID 5    8108 MB

Stop the host machine that is connected to the Sun StorEdge A1000 array.

root@solaris#  init 0

Wait for atleast two (2) minutes before shutting down the Sun StorEdge A1000 Array. Then replace the battery.

Boot the host machine, without the -r option.

After the battery replacement, run the following RM6 command to reset the battery age: raidutil -c <device> -R

root@solaris# /usr/lib/osa/bin/raidutil -c c1t0d0 -R
LUNs found on c1t0d0.
LUN 0    RAID 0    10 MB
LUN 1    RAID 5    1000 MB

raidutil succeeded!

Check the new battery age:

root@solaris# /usr/lib/osa/bin/raidutil -c c1t0d0 -B
LUNs found on c1t0d0.
LUN 0    RAID 0    10 MB
LUN 1    RAID 5    1000 MB

Battery age is between 0 days and 90 days.

raidutil succeeded!

Re-enable the Write Caching option by using the RM6 GUI or by using the RM6 command line commands:

root@solaris# /usr/lib/osa/bin/raidutil -c c1t0d0 -w on 0,1
LUNs found on c1t0d0.
LUN 0    RAID 5    8100 MB
LUN 1    RAID 5    8108 MB

Theck to see if the battery is working, for example running RM6 GUI’s health check or running command “/usr/lib/osa/bin/healthck -a”.