- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- which disk is system running 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
Forums
Discussions
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
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-21-2004 02:35 AM
07-21-2004 02:35 AM
Got a rp7410 running 11.11.
I have been told that the system is currently running off the alternate boot disk. How can I tell?
I have looked at the info from the kernel and the output is telling me that the system booted from the primary boot disk, the lvlnboot info is correct, the setboot info is correct, etc. The system has been up over 3 months now but the previous sysadm is telling me that the system is running off the alternate boot disk. It did a fail over to the alternate boot disk during 4th of July. But system didn't crash - doesn't system need to bounce to boot/run off the alternate boot disk? Again, how can I verify?
Many thanks!
Rick
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:41 AM
07-21-2004 02:41 AM
SolutionThat will tell you configuration and the way its currently booted.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:43 AM
07-21-2004 02:43 AM
Re: which disk is system running from?
first, try this to determine which disk your kernel last booted.
# echo 'boot_string/S'|adb /stand/vmunix /dev/mem
then run lvlnboot -v to get the 2 disk device names, then run pvdisplay -v on each disk and check for stale extents. If you have any, then yes , the system might have switched over, else your ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:45 AM
07-21-2004 02:45 AM
Re: which disk is system running from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:49 AM
07-21-2004 02:49 AM
Re: which disk is system running from?
# echo 'boot_string/S'|adb /stand/vmunix /dev/mem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:51 AM
07-21-2004 02:51 AM
Re: which disk is system running from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:53 AM
07-21-2004 02:53 AM
Re: which disk is system running from?
echo 'boot_string/S'|adb /stand/vmunix /dev/mem
lvlnboot -v /dev/vg00
justs prints information on root, boot, swap, and dump logical volumes.
Example, on mine:
# echo 'boot_string/S'|adb /stand/vmunix /dev/mem
boot_string:
boot_string: disk(1/0/0/3/0.6.0.0.0.0.0;0)/stand/vmunix
Yet:
lvlnboot -v /dev/vg00
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c28t5d0 (0/0/0/3/0.5.0) -- Boot Disk
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
Second disk listed in lvlnboot is where I booted from.
Try not to think of having a primary/secondary disk - think of it as 2 disks mirrored - both are identical.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:53 AM
07-21-2004 02:53 AM
Re: which disk is system running from?
echo "boot_string/s" | adb /stand/vmunix /dev/kmem
That will tell you which disk the system actually booted from but it won't tell you which disk the the system is actually using because the answer is probably both -- with reads being satisfied from either mirror and writes being written to both.
If the primary boot disk fails the system will happily continue to run using the mirrored LVOLS. You can then replace the primary boot boot and as long as you carefully follow the mirrored boot disk replacement steps there is no need to shutdown. I have not shutdown to replace a disk (including boot and boot alternates) in well over 5 years.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:58 AM
07-21-2004 02:58 AM
Re: which disk is system running from?
#echo 'boot_string/S'|adb /stand/vmunix /dev/mem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 02:59 AM
07-21-2004 02:59 AM
Re: which disk is system running from?
as Richard said the right command to verify what is the last boot disk is
# echo 'boot_string/S'|adb /stand/vmunix /dev/mem
You will obtain the hw path of the disk which system booted last time.
It is important that 'echo boot_string...' and 'lvlnboot' have the same info but I saw that it's correct for you.
Also you told that setboot is correct too.
Definitively your system booted from primary boot disk.
Then how to do your sysadm says that the system is running off the alternate boot disk? What does he think that? What commands he launched to tell that?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 03:00 AM
07-21-2004 03:00 AM
Re: which disk is system running from?
For now it seems you booted off the primairy, but check for stale extents, check that both drives are claimed...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 03:08 AM
07-21-2004 03:08 AM
Re: which disk is system running from?
I have no doubts about what was being posted - I did all tese commands previously before I posted. My issue is that I being told something that I cannot confirm - I do not profess to know all the answers so I come here to get additional info. In this case I am correct, I do not see any questionable issues with the system boot. But I want to make sure I am not missing something else that I may not be aware of.
Many thanks to all!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 03:23 AM
07-21-2004 03:23 AM