HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Re: Are both my mirror disks bootable?

hpux ll works when on the primary disk but not the alternate disk.
Torsten.
Acclaimed Contributor

Re: Are both my mirror disks bootable?

lvdisplay should look like this:

lvdisplay -v /dev/vg00/lvol1|more
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 400
Current LE 25
Allocated PE 50
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t6d0s2 25 25
/dev/dsk/c0t6d0s2 25 25

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c0t6d0s2 00000 current /dev/dsk/c2t6d0s2 00000 current
00001 /dev/dsk/c0t6d0s2 00001 current /dev/dsk/c2t6d0s2 00001 current
00002 /dev/dsk/c0t6d0s2 00002 current /dev/dsk/c2t6d0s2 00002 current

...


Do you see the same PE numbers?

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?

Removed the mirror and re-mirrored.