From: gary.hansford@talk21.com (Gary Hansford)
Subject: Re: Replacing LSM DISK
Date: 22 Apr 2002 05:20:05 -0700 [thread overview]
Message-ID: <5666d898.0204220420.5f9e0697@posting.google.com> (raw)
In-Reply-To: 3cc01f40$0$44$4c41069e@reader0.ash.ops.us.uu.net
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.
next prev parent reply other threads:[~2002-04-22 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-19 13:44 Replacing LSM DISK Steve Bart
2002-04-22 12:20 ` Gary Hansford [this message]
2002-04-22 17:35 ` Quarter Horseman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox