Q. Can you swap the A1000's cache battery without powering down the array?
A. Sort of.
Officially, no. You must power down the array before changing the battery per the manual.
Unofficially, it can be done. The ways that are least likely (there are no guarantees in life) to cause data loss are:
Has this been done? Yes.
- Wait until the battery expires and the array has disabled write caching. Since the battery isn't being used, no caching is taking place.
- Disable write caching, change the battery, wait for the new battery to charge, enable write caching, and reset the battery age like so:
raidutil -c <insert_the_appropriate_controller_here> -R
Do I recommend you do it? No.
Have I done it? Yes, both ways.
Can you hold me responsible for ANY data loss you encounter because you tried to do it without powering the array down? Nope, as you have been warned this is NOT the approved way to do it. :-)
This information was derived from talking to several different folks that have done it one way or the other, checking what others had to say in the newsgroups, and talking to some folks that had worked for Sun in some previous life.