- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- which disk i booted from?
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
01-20-2002 10:53 PM
01-20-2002 10:53 PM
I had a practical situation where I booted an HP9000 server which has got mirrored root disk. Both the disks are fine an I can boot from either of the disks. Now the question is how do I know from which disk I booted from, at a later time? Is the address of the disk from which the server booted last time is stored somewhere? Or is there a way to find out this disk address once the machine is up?
Thanks in advance for the replies...
Thanks/Regards
Sunil Kumar K.U.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2002 10:59 PM
01-20-2002 10:59 PM
Re: which disk i booted from?
#setboot
should give you that information.
Hope this helps,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2002 11:10 PM
01-20-2002 11:10 PM
Re: which disk i booted from?
Your suggestion is fine. setboot gives me the boot paths. But I may not be booting from the primary path.
For eg: I booted the machine from the alternate path by interrupting the autoboot process and later on (say after some months) I wanted to know where did I boot the server last time.
Is there any way to find out this?
Thankds/Regards
Sunil Kumar K.U.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 12:13 AM
01-21-2002 12:13 AM
Re: which disk i booted from?
I don't think there is a way for read-only media. If you boot from a read-only media (such as a CD-ROM), there is no way this information can be stored except perhaps at the hardware level in the OBP. However, I have not seen a logging option at the OBP menu (perhaps service menu).
If you boot from a writeable media, the timestamp of your bootup will be imprinted in /var/adm/syslog/syslog.log. If your choices of booting up the system lie with only harddisks, then one way you can identify the disk you boot from is to boot up each ov every alternate disk path, and subsequently check the timestamp imprinted in the first line of /var/adm/syslog/OLDsyslog.log.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 12:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 12:35 AM
01-21-2002 12:35 AM
Re: which disk i booted from?
Setboot only shows what the boot path is set to, it doest not show you what you actually botted from. Eg. setboot shows the primary disk (usually 10/0.6) but you may have booted from the recovery CD or an ignite tape. This command shows you what you booted from;
echo boot_string/S|adb /stand/vmunix /dev/kmem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 12:43 AM
01-21-2002 12:43 AM
Re: which disk i booted from?
Thanks for the quick response. I found the solution in the replies from Robin and Animesh.
I thank everybody who replied to my query.
Thanks/regards
Sunil Kumar K.U.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 12:54 AM
01-21-2002 12:54 AM
Re: which disk i booted from?
If you boot from disk A and the next time you boot from disk B, and since disk A contains its own kernel (say kernelA in its own /stand/vmunix in disk A) and disk B contains its own kernel (say kernelB in its own /stand/vmunix in disk B), it doesn't help by extracting the bootstring from /stand/vmunix because it belongs to your currently live OS (say on disk A). It will not indicate to you that you have booted from disk B the last time before you booted from disk A into your currently live OS this time.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 03:45 AM
03-24-2003 03:45 AM
Re: which disk i booted from?
A bit late, but....
The disks are mirrored, so the kernel of disk A and disk B should be the same IMHO.
Greetzz
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 05:50 AM
03-24-2003 05:50 AM
Re: which disk i booted from?
HP's Mirroring software keeps both DISK A and DISK B synch'd at all time, and there won't be any inconsistencies in that, including no chances for two different kernels or so.
Cheers !!!
Mathew.