- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Identity boot disk
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
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
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
12-30-2011 01:37 PM
12-30-2011 01:37 PM
Hi,
How to identify the current boot disk of the server? I mean server is booted with primary disk or alternate disk?
# 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
Root: lvol3 on: /dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
# 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)
With this o/p i came to know about the primary disk & alternate disk. However how to identify my server is boot on primary disk or alternate disk?
Solved! Go to Solution.
- Tags:
- lvlnboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2011 08:19 PM
12-30-2011 08:19 PM
Re: Identity boot disk
Unfortunately, it is quite complicated based on PARISC versus Itanium, and is also different between version 10.01 and the different versions of 11.xx. The attached script called bootinfo will show you the boot device used for the last bootup, plus a lot of additional information.
Here is a PA-RISC server at 11.23:
PA-RISC, 11.23 atl1-11.23 # bootinfo bootstring using adb: Last booted using 0x1f020000 (c2t0d0) Boot disks and AUTO file boot command: /dev/dsk/c2t0d0 BootCommand: "hpux -lq" /dev/dsk/c2t2d0 BootCommand: "hpux -lq" boot PATHS: Primary bootpath = 0/0/2/0.0.0, /dev/dsk/c2t0d0 (disk) HP 146 GST3146707LC Alternate bootpath = 0/0/2/0.2.0, /dev/dsk/c2t2d0 (disk) HP 146 GST3146707LC Automatic boot settings from setboot: Autoboot is ON (enabled) Autosearch is OFF (disabled) lvlnboot -v: Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/dsk/c2t0d0 (0/0/2/0.0.0) -- Boot Disk /dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk /dev/dsk/c1t0d0 (0/0/1/1.0.0) /dev/dsk/c1t2d0 (0/0/1/1.2.0) Boot: lvol1 on: /dev/dsk/c2t0d0 /dev/dsk/c2t2d0 Root: lvol3 on: /dev/dsk/c2t0d0 /dev/dsk/c2t2d0 Swap: lvol2 on: /dev/dsk/c2t0d0 /dev/dsk/c2t2d0 Dump: lvol2 on: /dev/dsk/c2t0d0, 0
Here is an Integrity system at 11.31
Itanium @ 11.31 =============== atl6-11.31 # bootinfo bootstring using adb: Last booted using 0x1000004 (disk5 or c0t0d0) Boot disks and AUTO file boot command: /dev/disk/disk5_p2 BootCommand: "boot vmunix" /dev/disk/disk41_p2 BootCommand: "boot vmunix" boot PATHS: Primary bootpath = 0/1/1/0.0.0.0.0, /dev/rdsk/c0t0d0 = 0/1/1/0.0x5000c50007153089.0x0, /dev/rdisk/disk5 = (disk) 64000/0xfa00/0x1 Alternate bootpath = 0/1/1/0.0.0.6.0, /dev/rdsk/c0t6d0 = 0/1/1/0.0x5000c5000abec39d.0x0, /dev/rdisk/disk41 = (disk) 64000/0xfa00/0x32 HA Alt bootpath = 0/1/1/0.0.0.6.0, /dev/rdsk/c0t6d0 = 0/1/1/0.0x5000c5000abec39d.0x0, /dev/rdisk/disk41 = (disk) 64000/0xfa00/0x32 Automatic boot settings from setboot: Autoboot is ON (enabled) lvlnboot -v: Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/disk/disk5_p2 -- Boot Disk /dev/disk/disk41_p2 -- Boot Disk Boot: lvol1 on: /dev/disk/disk5_p2 /dev/disk/disk41_p2 Root: lvol3 on: /dev/disk/disk5_p2 /dev/disk/disk41_p2 Swap: lvol2 on: /dev/disk/disk5_p2 /dev/disk/disk41_p2 Dump: lvol2 on: /dev/disk/disk5_p2, 0
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2012 02:08 AM
- Tags:
- adb