1846444 Members
2750 Online
110256 Solutions
New Discussion

Re: Root disk mirror

 
SOLVED
Go to solution
Vikas_2
Advisor

Root disk mirror

Hi,
In my system vg00 has two diska and all the lv's are mirrored. Is there any other way apart from rebooting, to check if the system will be able to boot from another disk in case of failure. Because of business impact, it's not possible to shut the system and test the booting from another disk.

Thanks in advance.
Vikas
5 REPLIES 5
Fragon
Trusted Contributor

Re: Root disk mirror

Hi, you can use:
#lvlnboot -v
to check if you can boot from the alternative disk.

Good luck!
-ux
Massimo Bianchi
Honored Contributor
Solution

Re: Root disk mirror

Hi,
things to check:

- lvlnboot -v

displays bootable devices

- lifcp /dev/dsk/:AUTO -

for each disks in vg00. display the startup string contained int the disks. must be equal


- lifls /dev/dsk/

for each disks in vg00. display the utility.
should be equal

- setboot
display the device configured for boot.
must point to the HW path of the disks in vg00

HTH,
Massimo

Enrico P.
Honored Contributor

Re: Root disk mirror

Hi,
no thereisn' t another way.
Check if the command lvlnboot -v is similar that:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c9t0d0 (3/0/4/0/0.0.0) -- Boot Disk
/dev/dsk/c9t1d0 (3/0/4/0/0.1.0)
/dev/dsk/c20t0d0 (3/0/12/0/0.0.0) -- Boot Disk
/dev/dsk/c20t1d0 (3/0/12/0/0.1.0)
and if the command

lifcp /dev/rdsk/cxtxdx:AUTO -
is
hpux -lq
if not:
mkboot -a "hpux -lq" /dev/rdsk/cxtxdx for every boot disk

Yair Goldel
Advisor

Re: Root disk mirror

You can see beloow the output for 2 disk that have mirror between them.



%lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (0/0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c4t6d0 (1/0/0/2/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c4t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c4t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c4t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
Zeev Schultz
Honored Contributor

Re: Root disk mirror

I'd go also for lifls -C /dev/dsk/cXdYtZ to see
that all utilities needed for boot are copied to the LIF area of the disk (man lif,lifls).

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray