From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,40c41db53dec2292 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-22 05:20:06 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: gary.hansford@talk21.com (Gary Hansford) Newsgroups: comp.unix.tru64 Subject: Re: Replacing LSM DISK Date: 22 Apr 2002 05:20:05 -0700 Organization: http://groups.google.com/ Message-ID: <5666d898.0204220420.5f9e0697@posting.google.com> References: <3cc01f40$0$44$4c41069e@reader0.ash.ops.us.uu.net> NNTP-Posting-Host: 62.190.18.141 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1019478005 9068 127.0.0.1 (22 Apr 2002 12:20:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 22 Apr 2002 12:20:05 GMT Xref: archiver1.google.com comp.unix.tru64:7349 Steve, The 6 step process as drummed into me is as follows :- 1. Remove the failed disk from the disk group retaining the media records thus # voldg �g mydg �k rmdisk media_name 2. Remove the disk access record # voldisk rm disk_access_name 3. Restore the disklabel #disklabel �wr rz?? disktype (assuming no copy of the label was saved) #disklabel �r �R rz?? /saved_label disktype (if the label was saved) 4. Initialise the new disk for use with LSM # voldisksetup �i rz?? nconfig=? nlogs=? privlength=?? (assuming no copy of the label was saved) # voldisk �f init rz?? offset=16 (if the label was saved) 5. Associate the new disk to a disk media record/disk group # voldg �g mydg �k adddisk media_name=disk_access_name 6. Recover(synchronise) the plexes in the diskgroup # volrecover �g mydg -sb There are shorter ways, but the trainer was right. "This will always work, other methods you're on yer own..." Cheers Gary bart@CTI01.COMVERSE.COM (Steve Bart) wrote in message news:<3cc01f40$0$44$4c41069e@reader0.ash.ops.us.uu.net>... > Being the type of person that prefers CLI commands to black boxes > I would like to be able to replace a disk in an LSM configuration without > using voldiskadm. I have occasionally fumbled around in the past successfuly > with a sequence like: > > voldg -g blah -k rmdisk rzxxx > voldisk offline rzxxx > (replace disk) > disklabel -wr rzxxx > voldisk online rzxxx > > mumble > > voldg -g blah -k adddisk rzxxx=rzxxx > volrecover -g blah -sb (or equivalent) > > The problem is I don't know how to consistently and reliably do the "mumble" > step. I had the idea I needed a "voldisksetup -i rzxxxx" but that generally > yields an error like "/dev/rrzxx or an overlapping partition is open, > Quitting...". > > Anyone know what to do in the "mumble" step above? > The OS versions involved are 4.0D and 4.0F.