Operating System - HP-UX
1752700 Members
5636 Online
108789 Solutions
New Discussion юеВ

Re: Are both my mirror disks bootable?

 
SOLVED
Go to solution
jmckinzie
Super Advisor

Are both my mirror disks bootable?

I have a mirrored root disk.

How do i detirmine if the secondary mirror is bootable?

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0


# lifcp /dev/dsk/c0t6d0:AUTO -
hpux

# lifcp /dev/dsk/c3t6d0:AUTO -
hpux -lq (;0)/stand/vmunix
12 REPLIES 12
Torsten.
Acclaimed Contributor

Re: Are both my mirror disks bootable?

Check if listed in

# setboot

and check also

# lifls -v /dev/rdsk/c3t6d0

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!   
jmckinzie
Super Advisor

Re: Are both my mirror disks bootable?

# setboot
Primary bootpath : 1/0/0/3/0.6.0
Alternate bootpath : 1/0/1/0/0/1/1.6.0

Autoboot is ON (enabled)
Autosearch is ON (enabled)

Note: The interpretation of Autoboot and Autosearch has changed for
systems that support hardware partitions. Please refer to the manpage.


# lifls -v /dev/rdsk/c3t6d0
ISL 1
AUTO 1
HPUX 1
PAD 1
LABEL 1
root@esshp01u:/home/jm15718

# lifls -v /dev/dsk/c0t6d0
ISL 1
AUTO 1
HPUX 1
PAD 1
LABEL 1

Are they bootable? It looks as if they are.
Jaime Bolanos Rojas.
Honored Contributor

Re: Are both my mirror disks bootable?

jmckinzie,

Even though they show as bootable, and config is pointing in the right direction, the last step towards knowing for sure if it will boot is by booting from primary and alternate drives, then you can sleep well.

Regards,

Jaime.
Work hard when the need comes out.
James R. Ferguson
Acclaimed Contributor

Re: Are both my mirror disks bootable?

Hi:

The fact that you see both disks as "Boot" disks and that the first three logical volumes are represented means that things are partially setup correctly.

HOWEVER, _both_ disks should have the low-quorum set. For _both_ disks, do:

# mkboot -a "hpux -lq" /dev/rdsk/cXtYdZ

Regards!

...JRF...
jmckinzie
Super Advisor

Re: Are both my mirror disks bootable?

I am verifying now....will let you know.
jmckinzie
Super Advisor

Re: Are both my mirror disks bootable?

when i reboot and try to boot on the alternate disk, i get this:


Boot
: disk(1/0/1/0/0/1/1.6.0.0.0.0.0;0)/stand/vmunix
disk(1/0/1/0/0/1/1.6.0.0.0.0.0;0)/stand/vmunix: cannot open, or not executable
Torsten.
Acclaimed Contributor
Solution

Re: Are both my mirror disks bootable?

Did you mirror in that order (lvol1, lvol2m lvol3 ...)?

Use "lvdisplay -v ...) to check.

From ISL try

ISL> hpux ll

(lower case L) - this should list the contents of /stand

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!   
jmckinzie
Super Advisor

Re: Are both my mirror disks bootable?

How do i fix this?
Torsten.
Acclaimed Contributor

Re: Are both my mirror disks bootable?

It depends on the results of the tests above.

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!