- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I find out which disk the server booted...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 11:44 PM
тАО04-29-2008 11:44 PM
I know someone asked this before but I just could not find that question.
I need to find out which disk the server booted from when 2 disks are mirrored.
I tried setboot -v and lvlnboot -v but the problem is that I can not assume the server booted from the primary path. I have to be sure.
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 11:47 PM
тАО04-29-2008 11:47 PM
Re: How do I find out which disk the server booted from
lvlnboot -v u can use for it
see the the output of lvlnboot -v
u can use this command
Dear Nija 1# 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/1/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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 11:50 PM
тАО04-29-2008 11:50 PM
Re: How do I find out which disk the server booted from
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 11:50 PM
тАО04-29-2008 11:50 PM
Re: How do I find out which disk the server booted from
You can find some informations in result of command "dmesg". For example :
Boot device's HP-UX HW path is: 0/4/1/0.0.0.0.0
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 01:48 AM
тАО04-30-2008 01:48 AM
Re: How do I find out which disk the server booted from
vmunix: Boot device's HP-UX HW path is: 0/1/1/0.0.0
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 04:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 04:18 AM
тАО04-30-2008 04:18 AM
Re: How do I find out which disk the server booted from
Others already replied with good information.
This test is one of many in my OAT script:
http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt
a) Here is how the results look like for Itanium server rx2620 running HP-UX 11.23:
CHECKING CURRENT BOOT DEVICE
____________________________
0x1f021002
INFO Boot string 1f021002 translates to disk c2t1d0
(;)/stand/vmunix
b) Here is how it looks like on SuperDome nPar (SD32000) running HP-UX 11.11:
CHECKING CURRENT BOOT DEVICE
____________________________
1F008000
INFO Boot device 1F008000 translates to disk c0t8d0
INFO Boot string
boot_string: (4/0/1/0/0/4/0.8.0.0.0.0.0;)/stand/vmunix
c) Here is how it looks like on Itanium server rx2620 running HP-UX 11.31 (Agile view):
CHECKING CURRENT BOOT DEVICE
____________________________
0x3000006
INFO Boot string 000006 translates to disk brw-r----- 1 bin sys 3 0x000006 Apr 1 12:31 disk6_p2
(;)/stand/vmunix
Check my script for details how to obtain
the results...
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 04:48 AM
тАО04-30-2008 04:48 AM
Re: How do I find out which disk the server booted from
Dear Nija
once u got answer dear nija pls assign points
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 09:34 PM
тАО04-30-2008 09:34 PM
Re: How do I find out which disk the server booted from
Thanks for your replies, as I said setboot and lvlnboot does not help because even it tells me which one is primary and alt, I can't just assume the server is booted from the primary path.
check syslog or demsg may give me the info I want but I will try and will also assign points after.
thank you all
regards
njia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2008 04:09 AM
тАО05-01-2008 04:09 AM
Re: How do I find out which disk the server booted from
> check syslog or demsg may give me the info I want but I will try
Have you tried the 'adb' command I suggested? I think that you will find that that satisfies your request.
Regards!
...JRF...