- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to check which disk is boot in morroring setup
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
02-03-2010 04:00 AM
02-03-2010 04:00 AM
how to check which disk is boot in morroring setup
Dear Sir
In a mirrored boot disk server how to find out and check which disk is booting
Regards
Ajin.S
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:03 AM
02-03-2010 04:03 AM
Re: how to check which disk is boot in morroring setup
use just
setboot
You'll see the primary path and the alternate path (which is the mirrored disk).
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:04 AM
02-03-2010 04:04 AM
Re: how to check which disk is boot in morroring setup
Primary bootpath : 0/8/0/0.3.0
Alternate bootpath : 1/4/0/0.3.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
This will tell you which is your primary and which is your secondary disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:07 AM
02-03-2010 04:07 AM
Re: how to check which disk is boot in morroring setup
dmesg | grep -i boot
then compare that with setboot and lvlnboot -v
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:07 AM
02-03-2010 04:07 AM
Re: how to check which disk is boot in morroring setup
Boot disks configured shown by:
# setboot
# lvlnboot -v
To find which disk the system is booted from currently:
# more /var/adm/syslog/syslog.log | grep -i boot
Nov 30 12:35:43 xxxxxx vmunix: Boot device's HP-UX HW path is: 0/1/1/0.1.0
So you will get the HW path of current disk.
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:08 AM
02-03-2010 04:08 AM
Re: how to check which disk is boot in morroring setup
would tell you which is primary disk and which is secondary and
#lvlnboot -v
would tell you which disk are boot disks so as to decide which disks you need to put in setboot.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:26 AM
02-03-2010 04:26 AM
Re: how to check which disk is boot in morroring setup
or
lvlnboot -v
to show both (pri & sec)mirrored disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:35 AM
02-03-2010 04:35 AM
Re: how to check which disk is boot in morroring setup
One liner From my old notes:
echo "boot_string/S" | adb -k /stand/vmunix /dev/kmem
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 04:46 AM
02-03-2010 04:46 AM
Re: how to check which disk is boot in morroring setup
u can use
#setboot
# dmesg | grep -i boot
this will show the last boot disk in which the system is booted..
if u have both primary and secondary disk
u can use this
# echo "bootdev/X"|adb -n /stand/vmunix/dev/kmem
if u have IR volume
then
#echo "boot_string/S" | adb /stand/vmunix/dev/mem
compare the both output value bt
#ll /dev/dsk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 08:25 AM
02-03-2010 08:25 AM
Re: how to check which disk is boot in morroring setup
If you satisfied with the answer and your problem got solved then please make a habit to assign points,
Those people who give there valuable time for your problem they should expect some apparition from you in terms of points.
To know how to assign points please go through the below link
http://forums13.itrc.hp.com/service/forums/helptips.do?admit=109447627+1256027208667+28353475#33
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2010 09:03 AM
02-03-2010 09:03 AM
Re: how to check which disk is boot in morroring setup
You boot off of the alt, look at setboot, see both the pri and alt listed in the output and you can't make a distinction. 'setboot' lists three possiblitiles including the cdrom.
To find what you are currently boot off of you have to query the kernel with this command:
echo "bootdev/X" | adb -o /stand/vmunix /dev/kmem
...is correct choice for Ia64 and,
echo "boot_string/S" |adb /stand/vmunix /stand/kmem
...is the correct choice for Pa-risc.