Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Replacing LSM DISK
@ 2002-04-19 13:44 Steve Bart
  2002-04-22 12:20 ` Gary Hansford
  2002-04-22 17:35 ` Quarter Horseman
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Bart @ 2002-04-19 13:44 UTC (permalink / raw)


	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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Replacing LSM DISK
  2002-04-19 13:44 Replacing LSM DISK Steve Bart
@ 2002-04-22 12:20 ` Gary Hansford
  2002-04-22 17:35 ` Quarter Horseman
  1 sibling, 0 replies; 3+ messages in thread
From: Gary Hansford @ 2002-04-22 12:20 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Replacing LSM DISK
  2002-04-19 13:44 Replacing LSM DISK Steve Bart
  2002-04-22 12:20 ` Gary Hansford
@ 2002-04-22 17:35 ` Quarter Horseman
  1 sibling, 0 replies; 3+ messages in thread
From: Quarter Horseman @ 2002-04-22 17:35 UTC (permalink / raw)


Steve, the online LSM manual also has an example, in case that might
help you:

http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V40G_HTML/AQ3NCETE/DOCU_018.HTM#example_replace_disk

QH


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-22 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-19 13:44 Replacing LSM DISK Steve Bart
2002-04-22 12:20 ` Gary Hansford
2002-04-22 17:35 ` Quarter Horseman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox