Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (10) AWS (5) numerology (5)

Thursday, October 2, 2014

How to confirm disk is bootable or not + HPUX

How to confirm disk is bootable or not + HPUX


1. The disk which are bootable must be having entry in bootconf file

#cat /stand/bootconf

test:/] cat /stand/bootconf
l  /dev/disk/disk5_p2
l  /dev/disk/disk7_p2


3. We also confirm it by verbose listing of lvlnboot

test:/] lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/disk/disk5_p2 -- Boot Disk
        /dev/disk/disk7_p2 -- Boot Disk
Boot: lvol1     on:     /dev/disk/disk5_p2
                        /dev/disk/disk7_p2
Root: lvol3     on:     /dev/disk/disk5_p2
                        /dev/disk/disk7_p2
Swap: lvol2     on:     /dev/disk/disk5_p2
                        /dev/disk/disk7_p2
Dump: lvol2     on:     /dev/disk/disk5_p2, 0

2. If the disk is bootable then it will show below output if we do lifls on that disk


test:/] lifls -l /dev/rdisk/disk7_p2
volume ISL10 data size 7984 directory size 8 11/06/03 01:11:06
filename   type   start   size     implement  created
===============================================================
ISL        -12800 584     242      0          11/06/03 01:11:06
AUTO       -12289 832     1        0          11/06/03 01:11:06
HPUX       -12928 840     1024     0          11/06/03 01:11:06
PAD        -12290 1864    1468     0          11/06/03 01:11:06
LABEL      BIN    3336    8        0          13/07/16 11:40:28

test:/] lifls -l /dev/rdisk/disk5_p2
volume ISL10 data size 7984 directory size 8 11/06/03 01:11:06
filename   type   start   size     implement  created
===============================================================
ISL        -12800 584     242      0          11/06/03 01:11:06
AUTO       -12289 832     1        0          11/06/03 01:11:06
HPUX       -12928 840     1024     0          11/06/03 01:11:06
PAD        -12290 1864    1468     0          11/06/03 01:11:06
LABEL      BIN    3336    8        0          11/11/30 21:47:44

The LIF (Logical Interchange Format) volume contains files necessary to boot: ISL, HPUX, LABEL and AUTO (for automatic boot).

It confirms that both disks mentioned in bootconf file are bootable disks.

4. While a non bootable disk reports:

test:/] lifls -l /dev/rdisk/disk4
lifls: Can't list /dev/rdisk/disk4; not a LIF volume



Thanks...
Kiran Jadhav


**Let's Share our knowledge and keep visiting here**

No comments:

Post a Comment