Operating System - HP-UX
1854818 Members
31063 Online
104103 Solutions
New Discussion

Re: Primary or Alt boot disk

 
Rashid Hamid
Regular Advisor

Primary or Alt boot disk

Hi All

How to know whether the OS boot from Primary or Alternate boot path


Thanks
I'm Parit Madirono/Parit Betak Boyz
4 REPLIES 4
Raj D.
Honored Contributor

Re: Primary or Alt boot disk

Rashid ,


Here it is :

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

This will tell you from which disk the system is booted from.



Cheers,
Raj
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: Primary or Alt boot disk

Rashid ,


Also along with this check:
# lvlnboot -v and # setboot



hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Ludovic Derlyn
Esteemed Contributor

Re: Primary or Alt boot disk

hi

Look in /var/adm/syslog/syslog.log, you can see HW path of disk used for boot ,for example :

Jul 10 13:54:10 server01 vmunix: Boot device's HP-UX HW path is: 0/1/1/0.1.0


Check with setboot -v for determine if pri or alt

Regards

L-DERLYN
IT_2007
Honored Contributor

Re: Primary or Alt boot disk

If it is a vpar use this:

echo "boot_string/S" | adb /stand/vmunix /dev/kmem

and if it is Npar, then use this:

echo "boot_string/S" | adb /stand/vmunix /dev/mem.

thanks,
Srini