Operating System - HP-UX
1753823 Members
8595 Online
108805 Solutions
New Discussion юеВ

Mirror Disk - How to find system booted with which disk

 
Suresh Patoria
Super Advisor

Mirror Disk - How to find system booted with which disk

Hi All,

We have Itanium 4640 server with 11.23 OS.
How to find from OS system booted with which disk?

Thanx in advance.
7 REPLIES 7
Robert-Jan Goossens
Honored Contributor

Re: Mirror Disk - How to find system booted with which disk

Hi Suresh,

# setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0

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

# echo "boot_string/S" | adb -k /stand/vmunix /dev/kmem
boot_string:
boot_string: disk(0/0/1/1.2.0.0.0.0.0;0)/stand/vmunix

Best regards,
Robert-Jan
twang
Honored Contributor

Re: Mirror Disk - How to find system booted with which disk

# echo "boot_string/S" | adb -k /stand/vmunix /dev/kmem
boot_string:
boot_string: disk(0/0/1/1.15.0.0.0.0.0;0)/stand/vmunix
Fabio Ettore
Honored Contributor

Re: Mirror Disk - How to find system booted with which disk

Hi,

# echo "bootdev/X" | adb /stand/vmunix /dev/kmem

bootdev:
bootdev: 1F023000

For example command will obtain as above where
1F stands for DISK class
02 stands for BUS
3 stands for TARGET
0 stands for LUN
00 stands for FLAGS

Well, example above will be disk /dev/dsk/c2t3d0.

HTH.

Best regards,
Ettore
WISH? IMPROVEMENT!
Suresh Patoria
Super Advisor

Re: Mirror Disk - How to find system booted with which disk

Hi,

Getting following error:
echo "bootdev/X" | adb /stand/vmunix /dev/kmem
bootdev:
adb: warning: Unrecognized format character - 'X'.

Thanx
Ravi_8
Honored Contributor

Re: Mirror Disk - How to find system booted with which disk

Hi

#lvlnboot -v
never give up
Bharat Katkar
Honored Contributor

Re: Mirror Disk - How to find system booted with which disk

Hi Suresh,
You can go to GSP prompt from console by pressing B and look for Console logs.

Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Robert-Jan Goossens
Honored Contributor

Re: Mirror Disk - How to find system booted with which disk

did you try the /S option ?

# echo "boot_string/S" | adb -k /stand/vmunix /dev/kmem