Operating System - HP-UX
1834798 Members
2926 Online
110070 Solutions
New Discussion

Regadring Mirroring of root Hard disk

 
Bhushi
Advisor

Regadring Mirroring of root Hard disk

Can u explain me how we can done the mirroring OF ROOT disk in hp
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: Regadring Mirroring of root Hard disk

See the appendix in this document:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Aussan
Respected Contributor

Re: Regadring Mirroring of root Hard disk

on hp-ux 11.i v1

1. Add a bootable LVM disk. Create a physical volume using pvcreate with the -B option.
# pvcreate -B /dev/rdsk/c0t5d0
2. Add the physical volume to the existing root volume group with vgextend:
# vgextend /dev/vg00 /dev/dsk/c0t5d0
3. Use mkboot to place boot utilities in the boot area:
# mkboot -l /dev/rdsk/c0t5d0
Use mkboot to add an AUTO file in boot LIF area:

# mkboot -a "hpux -lq" /dev/rdsk/c0t5d0
Check the contents of the AUTO file with
# lifcp /dev/rdsk/c0t5d0:AUTO -
Alternatively, one could set the alternate boot path variable according to for example
# setboot -a 8/0/19/0.5.0
The hardware address of the disk that will become the mirror disk can be determined with 'ioscan -fnC disk'. To check, use setboot without any arguments.
If desired, activate autosearch and autoboot by
# setboot -s on -b on
4. Use pvdisplay -v to note the sequence of the logical volumes on the primary disk.
# pvdisplay -v /dev/dsk/c0t6d0
NOTE: In the following, the standard sequence lvol1, lvol2, lvol3, and so forth, is assumed.
Create mirror copies of the boot logical volume, primary swap logical volume, root logical volume, and other logical volumes as needed, in the correct sequence
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t5d0
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t5d0
# lvextend -m 1 (additional LV)
Use pvdisplay -v to check the correct sequence of the logical volumes on the mirror disk.
# pvdisplay -v /dev/dsk/c0t5d0
5. Update all physical volumes in the volume group so that the logical volume become the root, boot, primary swap, or a dump volume when the system is next booted:
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00

# lvlnboot -R
to recover missing links immediately.
Check with
# lvlnboot -v



hope it helps
The tongue weighs practically nothing, but so few people can hold it