SUMMARY: Hot swap with Solstice 4.0

From: nec-adm@usa.net
Date: Wed Jul 15 1998 - 14:29:49 CDT


Hy Managers!

Original question:
~~~~~~~~~~~~~~~~~~
Hy all!!

I am a bit new with Solstice Disksuite 4.0, so I would like to know if there is a proven and standart procedure for hot swaping disks mirrored (in 3 partitions /, /usr and /home).

System is:
SunOS 5.5 Generic_103093-10 sun4m sparc sun4m
all patches applied.

I thank you all in advance for your time, and promess I'll sumarize.

~~~~~~Daniel
~~~~~~~Sys Admin
~~~~~~~~Nec Computer Systems

SUMMARY:
~~~~~~~~
I receive 3 responses to my question. I didn't have time to test it but as I could read in the man pages, it seems to be th right way.
This is it:
Cut i/o to the drive using your hot swap commands. Once you do that you will be running a one-way mirror. metastat will show you the mirror needs attention. Pull the drive and run the command metareplace -e mirror (ex. d12) ~component c0t2d0s2. The -e assumes you are replacing the mirror with the same disk. If you want it to use another disk metareplace mirror component component.
The only thing to becareful of is be sure you have at least 1/2 of your statedb's. If you have state db's on the failed drive be sure you add some to another so you stay up. You can check the number and status with metadb -i. To test it just format > partition a drive (one side of the mirror), zero out a partition being used. Then try to write to your mirror, touch /mirror/test. You will see it has failed. Go back into format, repartition it to the same size as before and metareplace. You should be back up. If any statedb's were there delete and read.

Thanks to:
~~~~~~~~~~
Petri Kallberg - Sun
matti@fugue.jpl.nasa.com
Janet Hoo

____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:43 CDT