Sorry about the delay in getting the summary out, but I just got it done
yesterday and it seems to have worked fine.
Thanks to:
Ruth Reeve <rreeve_at_goldcoast.qld.gov.au>
Richard Tame <richard.tame_at_compaq.com>
Calvin Coghlan <ccoghlan_at_ascensionhealth.org>
Gary Wermerskirchen <Gary.Wermerskirchen_at_trizetto.com>
rcortegoso_at_uolmail.com.ar
Scott Mutchler <smutchler_at_gfs.com>
Dieter Tschermernig <dieter.tschermernig_at_joanneum.ac.at>
William J Bochnik <BochnikWJ_at_bernstein.com>
The above respondents all recommended, as one respondent called it "the
brutal method". Add the drive to the spareset, remove all other drives from
the spare set and fail the drive you want to remove, forcing the mirror set
to use the drive you want as the only spare available. I had considered
this, but thought that there must be a more elegant solution. The
respondents below offered another method, one where you don't lose your
mirror set protection during the replacement, One of them provided the
solution in a step by step "cook-book" format which was very helpful and I
included it below. At the bottom you will find my original question.
Morgan Rogers <Morgan.Rogers_at_imserv.invensys.com>
Joe Ledesma <joe_ledesma_at_hotmail.com>
alan_at_nabeth.cxo.dec.com
From: <alan_at_nabeth.cxo.dec.com>
Subject: Re: Getting a disk to "fail-back" on a HSZ50 raid mirror.
>
> Having replaced or repaired, the old drive I would:
>
> 1. Verify I have a good backup the data. This isn't
> particular the problem, but having current backups
> is always a good idea. RAID is not a replacement
> for backups.
>
> 2. Set the replacement policy for the particular
> mirror to NOPOLICY.
>
> SET mirror-set-name NOPOLICY
>
> 3. Set the membership of the array to have three
> members instead of two:
>
> SET mirror-set-name MEMBERSHIP = 3
>
> (for Mirrors that normally have more than two
> members, just use "current + 1").
>
> 4. Add the desired member to the array:
>
> SET mirror-set-name REPLACE = desired-disk
>
> 5. Wait for the copying of the contents to finish.
>
> 6. Remove the member you don't want:
>
> SET mirror-set-name REMOVE = undesired-disk
>
> 7. Set the nominal membership back to 2 (or whatever
> it was).
>
> SET mirror-set-name MEMBERSHIP = 2
>
> 8. Set the replacement policy back:
>
> SET mirror-set-name POLICY = BEST_FIT | BEST_PERFORMANCE
>
> Done. The point of increasing the membership is so
> that the data is mirrored while the original disk is
> being added back in. You could just remove the member
> you don't want and replace it with the one, but then
> the data wouldn't be mirrored while being copied.
-----------ORIGINAL QUERY-------------
Hello,
On our HSZ50 device one of our raid set has just two disk drives, one
mirroring the other. One of these disk drives failed and the HSZ
successfully failed-over to one of our spare drives and now has a spare
drive in that raid set.
Now the failed drive has been replaced and reinstalled in the storage unit.
It has been added & initialized so the HSZ now sees it, my question is this:
How do I get the HSZ to fail-back to the original drive?
All the documentation recommends installing the drive and adding it to the
spare set. We don't want to do that. We took care to try and spread data
across the buses and trays to evenly distribute our data and we don't want
to loose that distribution. Is there and easy way to get that replaced drive
back into the original raid set that it was taken out of?
Thanks,
Jim Fitzmaurice
jpfitz_at_fnal.gov
UNIX is very user friendly, It's just very particular about who it makes
friends with.
>
Received on Wed Sep 06 2000 - 19:58:58 NZST