Labels

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

Tuesday, December 23, 2014

How to find system is booted from which disk - hpux

How to find system is booted from which disk in Hpux:


On HPUX 11.31 (11iv3) :

1. From setboot command

testsrv:/] setboot
Primary bootpath : 0/0/0/2/0/0/0.0x0.0x1000000c0000000 (/dev/rdisk/disk5)
HA Alternate bootpath :
Alternate bootpath : 1/0/0/2/0/0/0.0x0.0x1010000c0000000 (/dev/rdisk/disk7)

Autoboot is ON (enabled)
Hyperthreading : ON
               : ON (next boot)

See the primary bootpath.

2. From reading the information from /stand/vmunix

testsrv:/] echo "bootdev/X" | adb -o /stand/vmunix /dev/kmem
bootdev:
bootdev:        0x100000a

testsrv:/] ll /dev/disk/* |grep 00000a
brw-r-----   1 bin        sys          1 0x00000a Nov 30  2011 /dev/disk/disk5_p2
cr--------   1 root       root        12 0x00000a Feb 15  2013 /dev/disk/disk5_p2.pt




Thanks...
Kiraan B Jadhhav


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

No comments:

Post a Comment