How do I swap drives with Solstice DiskSuite



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@xxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Need to replace failing system drive
    ... I'm using SVM to mirror root and swap (although I don't think swap is set up ... Submirror 0: d11 ... State: Okay ...
    (comp.unix.solaris)
  • Re: Software RAID Notification Questions
    ... >>as planned during the intial configuration I will setup software RAID 5 ... Did I make a mistake in mirroring the swap partition? ... > It is not recommended to mirror the swapspace, ...
    (linux.redhat)
  • Re: [opensuse] swap not available
    ... On my new 10.3 install I set up 2 drives in raid1 mirror, ... Yast shows swap with an "*" beside it. ... This is my first raid ...
    (SuSE)
  • Re: [opensuse] swap not available
    ... On my new 10.3 install I set up 2 drives in raid1 mirror, ... Yast shows swap with an "*" beside it. ... My partitions are set up as follows: ...
    (SuSE)
  • Re: syncer panic
    ... I am using vinum to mirror my swap. ... Losing your swap partition can have disastrous ...
    (freebsd-current)