How do I swap drives with Solstice DiskSuite

From: Richard Skelton (Richard.Skelton@infineon.com)
Date: Thu Dec 22 2005 - 07:07:55 EST


Hi Managers,
In my rush to set-up Solstice DiskSuite on a Solaris 8 system I have
created a mirror which I want to swap one drive with another drive.
The drive I want to swap out is c4t5d0s2 and I want to swap it with the
drive c3t3d0s2 and then make c4t5d0s2 the hot spare
This will help as we have had a problem with the c4 controller and when
it goes OFFLINE I will only lose one side of the mirror.
I think this sequence should do the job.
metahs -d hsp001 c3t3d0s2
metareplace d80 c4t5d0s2 c3t3d0s2
metahs -a hsp001 c4t5d0s2

This is the current metastat:-

d80: Mirror
   Submirror 0: d81
     State: Okay
   Submirror 1: d82
     State: Okay
   Pass: 1
   Read option: roundrobin (default)
   Write option: parallel (default)
   Size: 142245693 blocks

d81: Submirror of d80
   State: Okay
   Hot spare pool: hsp001
   Size: 142245693 blocks
   Stripe 0: (interlace: 32 blocks)
       Device Start Block Dbase State Hot Spare
       c3t2d0s2 0 No Okay
       c4t5d0s2 2889 No Okay

d82: Submirror of d80
   State: Okay
   Size: 142245693 blocks
   Stripe 0: (interlace: 32 blocks)
       Device Start Block Dbase State Hot Spare
       c4t6d0s2 0 No Okay
       c4t7d0s2 2889 No Okay

hsp001: 1 hot spare
       c3t3d0s2 Available 71127180 blocks

-- 
Cheers
Richard Skelton
Richard.Skelton@infineon.com
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 9528808
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:05 EDT