- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to know from which harddisk machine boots ...
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-26-2007 11:39 PM
01-26-2007 11:39 PM
I am having 2 36GB harddisks with LVM mirroring in my HP Box. From this 2 harddisk how can i find out at present from which harddisk machine has booted.
If any one knows pls tell me.
Regards
Guna
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 11:59 PM
01-26-2007 11:59 PM
Re: How to know from which harddisk machine boots in LVM
below command gives the disk from which HP-UX machine booted.
#echo boot_string/S | adb /stand/vmunix /stand/kmem
regds,
nishith.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2007 02:21 AM
01-27-2007 02:21 AM
Re: How to know from which harddisk machine boots in LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2007 03:39 AM
01-27-2007 03:39 AM
Re: How to know from which harddisk machine boots in LVM
you will find this information in the syslog too (boot disk ...).
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
01-29-2007 07:44 AM
01-29-2007 07:44 AM
Re: How to know from which harddisk machine boots in LVM
you can use the lvlnboot -v command. or if you have just rebooted and not sure just check dmesg.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 02:38 PM
01-29-2007 02:38 PM
Solution# echo "bootdev/X" | adb /stand/vmunix /dev/kmem
this will give an output similar to :
bootdev:
bootdev: 1F005000
This number represents the boot device. Here's how to decode it :
1F 00 5 0 00
__ __ _ _ __
| | | | |
major# | target | flags
| |
bus# lun
Per this information:
major# (1F) is 31 in decimal, and major number 31 should be sdisk on your
system (you can use lsdev to verify this).
bus# (00) is the card instance number to which the device is attached.
target (5) is the device's scsi id.
lun (0) is the device's logical unit number.
Therefore, this device maps to /dev/dsk/c0t5d0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 03:27 PM
01-29-2007 03:27 PM
Re: How to know from which harddisk machine boots in LVM
Here is a easy one,
# echo boot_string/S|adb /stand/vmunix /dev/mem
for 11vi
For 11iv2 the command is slightly different. check the man adb for 11.23
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 05:29 PM
01-29-2007 05:29 PM
Re: How to know from which harddisk machine boots in LVM
Use the simple command lvlnboot -v which will solve your doubt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 05:34 PM
01-29-2007 05:34 PM
Re: How to know from which harddisk machine boots in LVM
Try setboot command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 06:15 PM
02-05-2007 06:15 PM
Re: How to know from which harddisk machine boots in LVM
1) The lvlnboot -v shows both the harddisk. From that how will we fild out the boot harddisk in a mirroring setup
2) echo bootstring/S | adb /stand/vmunix /dev/mem is showing exactly the detail of currently bootd harddisk hw path
3) setboot shows only the primary and alternate path only . If the machine booted on alternate path how will we comes to know that.
4) And /stand/bootconf file shows the presently booted harddisk hw path.
Once again Thanks to all of You
Regards,
Guna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 06:18 PM
02-05-2007 06:18 PM
Re: How to know from which harddisk machine boots in LVM
In syslog i am not finding any entry as bootstring or bootdisk
IS there any other option
Regards,
Guna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2007 08:51 PM
02-06-2007 08:51 PM
Re: How to know from which harddisk machine boots in LVM
"lvlnboot -v" displayes both disks, but it will display the text "Boot Disk" next to the one that the system was booted from.
you could use:
lvlnboot -v |grep "Boot Disk"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 05:40 PM
02-14-2007 05:40 PM
Re: How to know from which harddisk machine boots in LVM
lvlnboot -v shows the both harddisk as boot disk. Because the hp box have root mirror. So in this case how can we find out from which harddisk the kernel has loaded.
Thanks and Regards,
Guna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 05:54 PM
02-14-2007 05:54 PM
Re: How to know from which harddisk machine boots in LVM
# grep "Boot device" /var/adm/syslog/syslog.log
regards,
ivan