1834450 Members
2351 Online
110067 Solutions
New Discussion

Re: mirror root disk

 
SOLVED
Go to solution
Brian Bartley
Frequent Advisor

mirror root disk

I restored a system with Ignite, now the mirrors need to be redone. I need to mirror the root disk to be bootable. I tried using mkboot on the disk, then lvextend on lvol1, lvol2, etc. I get the message about the lif is corrupted when I mirror lvo2, the swap/dump. If I try to boot to the disk, I get "IPL address bad". Also, the bootinfo command lists a disk as alternate, does the mirror copy of the root disk have to go to the alternate? This is hp 10.2, where lvol1 is /stand, lvol2 is swap/dump, and lvol3 is /. However, bdf reports this:
/dev/root mounted at /
/dev/vg00/lvol1 mounted at /stand
It calls it /dev/root instead of /dev/vg00/lvol3, which is how it's listed by vgdisplay. Basically I'd like to mirror the disks so I can boot off the mirror and have access to the isl utilities. Thanks, Brian
Brian Bartley
Campus Card Services
Indiana University
1 REPLY 1
Michael Tully
Honored Contributor
Solution

Re: mirror root disk

Hi,

This happens usually due to a system being
mounted (/dev/root) in single-user mode
or LVM mainetenance mode. TO fix it do this:

# rm /etc/mnttab
# mount -a

Check to make sure that /dev/vg00/lvol3 is
set to be mounted on /
Fix this before attempting the mirror.
Hi Greg,

I'm making a few assumptions here, so if I'm way off the mark ....

If your using omniback to run the complete library, there would be no reason to split up slots to do different functions. Since OmniBack sees the whole library, and assuming your using barcodes, then let it decide where to house tapes. As long as you use barcodes it won't matter.
If you not then yes it would make sense to split it up into slots.

Here is the correct procedure for mirroring assuming your disk is /dev/c2t6d0

# pvcreate -Bf /dev/rdsk/c2t6d0
# vgextend /dev/vg00 /dev/dsk/c2t6d0
# mkboot /dev/rdsk/c2t6d0
# mkboot -a "hpux -lq (0/0/2/1.6.0;0)/stand/vmunix" /dev/rdsk/c2t6d0
# lvlnboot -R
# for LVOL in /dev/vg00/lv*
> do
> echo $LVOL
> lvextend -m 1 $LVOL
> done
#

HTH
Michael
Anyone for a Mutiny ?