- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can i confirm USED boot disk
Operating System - HP-UX
1825512
Members
1812
Online
109681
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО05-17-2006 02:34 AM
тАО05-17-2006 02:34 AM
Dear HP-UX community.
I've recently installed software mirror on an HP-UX 11.11 box.
Using setboot as the final action i've set the initial boot disk to the alternate boot path.
The primary boot path has been set to use the new installed mirrored disk.
# setboot
Primary bootpath : 0/0/1/1.2.0 second disk
Alternate bootpath : 0/0/2/0.2.0 first disk
Autoboot is ON (enabled)
Autosearch is ON (enabled)
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 3 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
Where can i find a confirmation the system has booted from "disk 3" /dev/dsk/c1t2d0 ?
Thanks for your help.
I've recently installed software mirror on an HP-UX 11.11 box.
Using setboot as the final action i've set the initial boot disk to the alternate boot path.
The primary boot path has been set to use the new installed mirrored disk.
# setboot
Primary bootpath : 0/0/1/1.2.0 second disk
Alternate bootpath : 0/0/2/0.2.0 first disk
Autoboot is ON (enabled)
Autosearch is ON (enabled)
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 3 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
Where can i find a confirmation the system has booted from "disk 3" /dev/dsk/c1t2d0 ?
Thanks for your help.
50% of all problems are based on communication issues, lets talk
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 02:38 AM
тАО05-17-2006 02:38 AM
Solution
which disk booted from
# echo "bootdev/X" | adb /stand/vmunix /dev/kmem
This will produce the following output;
bootdev:
bootdev: 0x1f012000
Translating this HEX device;
1f = 31
# lsdev 31
Character Block Driver Class
31 -1 tlcots pseudo
188 31 sdisk disk
This indicates an sdisk driver - a disk
01 = c1
2 = t2
0 - d0
discard the last 2 figits
c1t2d0
echo 'boot_string/S'|adb /stand/vmunix /dev/mem
This command did not work on HPUX 11.23 on PA-RISC but did work on HPUX 11.11 on PA-RISC
use lvlnboot -v to match the hardware address
# echo "bootdev/X" | adb /stand/vmunix /dev/kmem
This will produce the following output;
bootdev:
bootdev: 0x1f012000
Translating this HEX device;
1f = 31
# lsdev 31
Character Block Driver Class
31 -1 tlcots pseudo
188 31 sdisk disk
This indicates an sdisk driver - a disk
01 = c1
2 = t2
0 - d0
discard the last 2 figits
c1t2d0
echo 'boot_string/S'|adb /stand/vmunix /dev/mem
This command did not work on HPUX 11.23 on PA-RISC but did work on HPUX 11.11 on PA-RISC
use lvlnboot -v to match the hardware address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 02:48 AM
тАО05-17-2006 02:48 AM
Re: How can i confirm USED boot disk
Thanks for you help and fast reply.
# echo "bootdev/X" | adb /stand/vmunix /dev/kmem
bootdev:
bootdev: 1F012000
following your translation instruction: c1t2d0
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 3 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/4/2/0.0.0 sdisk CLAIMED DEVICE COMPAQ LOGICAL VOLUME
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
hqa7fh #
hqa7fh # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Root: lvol3 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c2t2d0, 0
hqa7fh # setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
Major concern fixed.
Minor question:
Why is the dump device still on the initial disk after the reboot ?
Dump: lvol2 on: /dev/dsk/c2t2d0, 0
# echo "bootdev/X" | adb /stand/vmunix /dev/kmem
bootdev:
bootdev: 1F012000
following your translation instruction: c1t2d0
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 3 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/4/2/0.0.0 sdisk CLAIMED DEVICE COMPAQ LOGICAL VOLUME
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
hqa7fh #
hqa7fh # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Root: lvol3 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c2t2d0, 0
hqa7fh # setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
Major concern fixed.
Minor question:
Why is the dump device still on the initial disk after the reboot ?
Dump: lvol2 on: /dev/dsk/c2t2d0, 0
50% of all problems are based on communication issues, lets talk
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP