Operating System - HP-UX
1823376 Members
2518 Online
109654 Solutions
New Discussion юеВ

Re: mirroring my boot disk

 
Chris Fadrowski
Super Advisor

mirroring my boot disk

this morning thanks to help from this forum i was able to extend my /stand directory using Ignite and installing a full make_recovery. I understand that Ignite doesn't recognize the mirrors i had in place for the boot disk. I am running Mirror UX and would like to be able to again mirror my vg00 or boot disk. How do i do this. Can some one lay out the steps? it would be greatly appreciated.
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: mirroring my boot disk

Chris,

follow this link:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0xb5fca14d9abcd4118fef0090279cd0f9,00.html

or search the forums for "mirror root boot disks"

live free or die
harry
Live Free or Die
Luc Bussieres
Frequent Advisor

Re: mirroring my boot disk

There is an "LVM quick reference" document in the technical knowledge base. There is a section in it with a step by step to setup your mirror roor disk.

The document ID is: KBAN00000514

Luc
La r├Г┬йponse est le malheur de la question

Re: mirroring my boot disk

Also remember that if you re-built your system using ignite, chances are although the root VG isn'n mirrored, ignite put the second disk back into the root VG.

So you'll need to vgreduce the empty disk out of vg00 before running the pvcreate -B

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Krishna Prasad
Trusted Contributor

Re: mirroring my boot disk

1. pvcreate -B /dev/rdsk/c#t#d#
2. mkboot /dev/rdsk/c#t#d#
3. vgextend /dev/vg00 /dev/dsk/c#t#d#
4. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c#t#d#
Positive Results requires Positive Thinking
Luc Bussieres
Frequent Advisor

Re: mirroring my boot disk

The link to the document is:

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=4350885f1de9197c52/screen=ckiSearchResults

and you want to go to:
XIII) How to create a mirrored boot disk
in this document.

Luc

La r├Г┬йponse est le malheur de la question
Steve Steel
Honored Contributor

Re: mirroring my boot disk

Hi


Go there

http://www.introcomp.co.uk/hpux/index.html


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
harry d brown jr
Honored Contributor

Re: mirroring my boot disk

using Luc's doc id, I created a quick link:

http://us-support3.external.hp.com/cki/bin/doc.pl/screen=ckiSearchResults?nodeId=c0&mode=id&searchString=KBAN00000514


live free or die
harry
Live Free or Die
Sanjay_6
Honored Contributor

Re: mirroring my boot disk

Hi Chris,

Here are the steps. Let us assume your primary root disk is /dev/dsk/c0t6d0 and the mirror would be /dev/dsk/c0t5d0. proceed like this,

pvcreate -B /dev/rdsk/c0t5d0
vgextend /dev/vg00 /dev/dsk/c0t5d0
mkboot -a "hpux -lq (;0)/stand/vmunix"
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t5d0

lvlnboot -b /dev/vg00/lvol1
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R

lvlnboot -v /dev/vg00

This should show that the disk /dev/dsk/c0t6d0 and /dev/dsk/c0t5d0 are bootable.
vgdisplay -v /dev/vg00 should show that there are two disks in the VG and each lv has extents on two pv's.
mirror any other lv that you have on /dev/vg00

Hope this helps.

Regds