From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96827019114325.tru64-unix-managers.marc@archive.invalid> From: Jim Fitzmaurice Date: Wed, 06 Sep 2000 19:56:31 +0000 To: tru64-unix-managers Subject: SUMMARY: Getting a disk to "fail-back" on a HSZ50 raid mirror. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96827019114325 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 Richard Tame Calvin Coghlan Gary Wermerskirchen rcortegoso@uolmail.com.ar Scott Mutchler Dieter Tschermernig William J Bochnik 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 Joe Ledesma alan@nabeth.cxo.dec.com From: 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@fnal.gov UNIX is very user friendly, It's just very particular about who it makes friends with. >