- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I determine which drive the server has boo...
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
Forums
Discussions
Discussions
Discussions
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
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
07-22-2008 11:52 AM
07-22-2008 11:52 AM
How can I determine which drive the server has booted from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 11:59 AM
07-22-2008 11:59 AM
Re: How can I determine which drive the server has booted from?
# echo "boot_string/S" | adb -o /stand/vmunix /dev/kmem
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 11:59 AM
07-22-2008 11:59 AM
Re: How can I determine which drive the server has booted from?
setboot command shows primary and alternate bootpath. if you didn't choose boot path primary is your booted disk.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 12:04 PM
07-22-2008 12:04 PM
Re: How can I determine which drive the server has booted from?
I believe if you search this forum that no one yet has found a definate way to indicate the HW path of the booted disk.
kcpath only gives you the path to the kernel.
searches through the kernel vars have yet to find a valid entry
but maybe a result will be forthcoming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 12:10 PM
07-22-2008 12:10 PM
Re: How can I determine which drive the server has booted from?
Sometimes we make life harder than it needs to be.
try this.
grep Boot /var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 12:17 PM
07-22-2008 12:17 PM
Re: How can I determine which drive the server has booted from?
Have a look at this thread.
http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1216757588124+28353475&threadId=995369
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 12:18 PM
07-22-2008 12:18 PM
Re: How can I determine which drive the server has booted from?
> Tim: FYI, the 11.11 method with adb does not work on 11.23.
Well, it works for 11.23 PA-RISC, but then:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1115665
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 12:24 PM
07-22-2008 12:24 PM
Re: How can I determine which drive the server has booted from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 12:42 PM
07-22-2008 12:42 PM
Re: How can I determine which drive the server has booted from?
# echo "bootdev/x"|adb - \ n /stand/vmunix /dev/kmem
bootdev:
0x1f032002
# ll /dev/dsk |grep 32002
brw-r----- 1 bin sys 31 0x032002 Dec 30 13:35 c3t2d0s2
Thanks all!