Operating System - HP-UX
1838594 Members
4046 Online
110128 Solutions
New Discussion

Mirroring the Root Volume Group on HPUX 10.20

 
Lisa Moore
Advisor

Mirroring the Root Volume Group on HPUX 10.20

I have just started an entry-level admin position and one of my first tasks involves mirroring the root volume group. I would appreciate any advice/instructions offered.
6 REPLIES 6
Vincenzo Restuccia
Honored Contributor

Re: Mirroring the Root Volume Group on HPUX 10.20

pvcreate -B /dev/rdsk/cxtxd0

vgextend /dev/vg00 /dev/dsk/cxtxd0

mkboot -l /dev/rdsk/cxtxd0

mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtxd0

mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cytyd0

lvextend -m 1 /dev/vg00/lvolx /dev/dsk/cxtxd0

lvlnboot -Rv /dev/vg00

setboot -a full hardware path (es:8/4.5.0)
Thierry Poels_1
Honored Contributor

Re: Mirroring the Root Volume Group on HPUX 10.20

hi,
and after the stuff Vincenzo gave you, which makes sure you have a bootable drive, you need to mirror the software

<>
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtyd0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/cxtyd0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/cxtyd0


lvextend -m 1 /dev/vg01/lvol4 /dev/dsk/cxtyd0
lvextend -m 1 /dev/vg01/lvolx /dev/dsk/cxtyd0

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
James R. Ferguson
Acclaimed Contributor

Re: Mirroring the Root Volume Group on HPUX 10.20

Hi Lisa:

As a general guide to common administration tasks (particularly working with LVM to extend filesystems and/or mirror logical volumes), I would look at "HP-UX System Administration Tasks":

http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html

Regards!

...JRF...
Lisa Moore
Advisor

Re: Mirroring the Root Volume Group on HPUX 10.20

Thanks to all of you for your help!!
Lisa Moore
Advisor

Re: Mirroring the Root Volume Group on HPUX 10.20

Between the first two answers and the link that Mr. Ferguson provided, you have answered my question. Thanks a million!!!
Ajitkumar Rane
Trusted Contributor

Re: Mirroring the Root Volume Group on HPUX 10.20

I agree with the previous reply. I am also attaching the clip from HPs document for root mirroring

good luck
Amidsts difficulties lie opportunities