1753834 Members
7723 Online
108806 Solutions
New Discussion юеВ

Re: how to mirror vg00

 
SOLVED
Go to solution
rajesh73
Super Advisor

how to mirror vg00

how to mirror vg00

$/usr/sbin/lvdisplay -v /dev/vg00/lvol3|grep -i Mirror
Mirror copies 0
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: how to mirror vg00

The steps to mirror your boot volume are (PA-RISC):

1. Create a physical volume with a boot reserved area
"pvcreate -B /dev/rdsk/c1t6d0"

2. Add the physical volume to the root VG
"vgextend /dev/vg00 /dev/dsk/c1t6d0"

3. Use mkboot to place the boot utilities in the boot area and add the AUTO file
"mkboot /dev/rdsk/c1t6d0"
"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"

4. Use mkboot to update the AUTO file on the primary boot disk
"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"

5. Use lvlnboot to identify the root, boot, primary swap and dump lvols
"lvlnboot -r /dev/vg00/lvol3 /dev/vg00" (lvol4 if you have secondary swap in lv
ol3)
"lvlnboot -b /dev/vg00/lvol1"
"lvlnboot -s /dev/vg00/lvol2 /dev/vg00"
"lvlnboot -d /dev/vg00/lvol2 /dev/vg00"
"lvlnboot -v"

6. Mirror the stand, root and swap logical volumes in order
"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"

7. Then mirror the rest of your root logical volumes
"lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0"
etc.

8. Modify your alternate boot path
"setboot -a 8/8.6.0 # use the path of your new boot disk"

9. Edit /stand/bootconf and add your new mirrored boot disk.

That's all there is to it.


For Itanium architecture, follow this guide:
http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa

And, for 11.31, follow this:
http://docs.hp.com/en/B2355-90950/ch06s02.html#mrflv


Pete

Pete
rajesh73
Super Advisor

Re: how to mirror vg00

reboot is required or not
James R. Ferguson
Acclaimed Contributor

Re: how to mirror vg00

Hi:

Setting up vg00 LVM mirroring differs on PA-RISC and on Itanium servers slightly. See appendix-D here:

http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: how to mirror vg00

Hi (again):

> reboot is required or not

No reboot is required to allocate or to deallocate LVM mirroring.

Regards!

...JRF...
Shibin_2
Honored Contributor

Re: how to mirror vg00

I have assigned points to 138 of 325 responses to my questions.

Hope you didn't forget this.
Regards
Shibin