- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: finding 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
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
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-19-2009 11:51 PM
тАО07-19-2009 11:51 PM
finding boot disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 12:01 AM
тАО07-20-2009 12:01 AM
Re: finding boot disk
# setboot
This will show the path set for primary and alternate boot disk.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 12:07 AM
тАО07-20-2009 12:07 AM
Re: finding boot disk
Primary Boot Disk you can find out by using:-
On HPUx 11.23
# echo "bootdev/x"|adb -n /stand/vmunix /dev/kmem
bootdev:
0x1f020002
# ll /dev/dsk
total 0
brw-r----- 1 bin sys 31 0x020000 Oct 8 2004 c2t0d0
brw-r----- 1 bin sys 31 0x020001 Oct 8 2004 c2t0d0s1
brw-r----- 1 bin sys 31 0x020002 Oct 8 2004 c2t0d0s2------------->>
brw-r----- 1 bin sys 31 0x020003 Oct 8 2004 c2t0d0s3
brw-r----- 1 bin sys 31 0x031000 Oct 13 2004 c3t1d0
brw-r----- 1 bin sys 31 0x034000 Oct 13 2004 c3t4d0
#
On PA-RISC
# echo "boot_string/S" |adb /stand/vmunix /dev/mem
boot_string:
boot_string: disk(0/0/1/1.15.0.0.0.0.0;0)/stand/vmunix
#ioscan -fnH 0/0/1/1.15.0.0.0.0.0
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 03:49 AM
тАО07-20-2009 03:49 AM
Re: finding boot disk
You can find the boot disk(Presently booted)from the following outputs,
# dmesg|grep -i boot
Boot device's HP-UX HW path is: 0/1/1/0.1.0
# ioscan -fnH 0/1/1/0.1.0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
===========================================
For finding Primary /Secondary boot deivice you use the following commnd,
# setboot
Primary bootpath : 0/1/1/0.1.0
HA Alternate bootpath :
Alternate bootpath : 0
Autoboot is ON (enabled)
---------------------------------------
Regards
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 08:07 AM
тАО07-20-2009 08:07 AM
Re: finding boot disk
For Finding the Physical Boot Disk & Seconday Boot Disk.
Check with setboot & lifls -l command.
root # setboot
Primary bootpath : 0/1/1/0.1.0
Alternate bootpath : 0/1/1/1.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
Then on the Primary bootpath & alternate boot path to check boot related information with the help of disk address.
root # lifls -l /dev/rdsk/c2t1d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ODE -12960 584 880 0 06/06/23 13:08:19
MAPFILE -12277 1464 128 0 06/06/23 13:08:19
SYSLIB -12280 1592 354 0 06/06/23 13:08:19
CONFIGDATA -12278 1952 254 0 06/06/23 13:08:19
SLMOD2 -12276 2208 145 0 06/06/23 13:08:19
SLDEV2 -12276 2360 164 0 06/06/23 13:08:19
SLDRV2 -12276 2528 836 0 06/06/23 13:08:19
SLSCSI2 -12276 3368 125 0 06/06/23 13:08:19
MAPPER2 -12279 3496 147 0 06/06/23 13:08:19
IOTEST2 -12279 3648 1313 0 06/06/23 13:08:19
PERFVER2 -12279 4968 557 0 06/06/23 13:08:19
PVCU -12801 5528 64 0 06/06/23 13:08:19
SSINFO -12286 5592 2 0 06/06/23 13:08:19
ISL -12800 5600 306 0 02/05/10 16:25:44
AUTO -12289 5912 1 0 02/05/10 16:25:44
HPUX -12928 5920 848 0 02/05/10 16:25:44
PAD -12290 6768 1580 0 02/05/10 16:25:45
LABEL BIN 8352 8 0 06/11/14 14:48:25
root # lifls -l /dev/rdsk/c3t2d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ISL -12800 584 306 0 02/05/10 16:25:44
AUTO -12289 896 1 0 02/05/10 16:25:44
HPUX -12928 904 848 0 02/05/10 16:25:44
PAD -12290 1752 1580 0 02/05/10 16:25:45
LABEL BIN 3336 8 0 06/12/07 11:45:21
Thanks
Vinod Kumar yadav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 07:08 PM
тАО07-20-2009 07:08 PM
Re: finding boot disk
For ITANIUM,
echo "bootdev/x" | adb -n /stand/vmunix /dev/kmem
from the output
# ll /dev/dsk/* | grep -i
For PA-RISC
echo "boot_string/S" | adb -n /stand/vmunix /dev/kmem
You can get configured primary & secondary disk in the system by setboot -v command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 07:18 PM
тАО07-20-2009 07:18 PM
Re: finding boot disk
there would be corruption in my previouse post
please see the original below
For ITANIUM,
echo "bootdev/x" | adb -n /stand/vmunix /dev/kmem
from the output
# ll /dev/dsk/* | grep -i
For PA-RISC
echo "boot_string/S" | adb /stand/vmunix /dev/kmem
You can get configured primary & secondary disk in the system by setboot -v command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 07:54 PM
тАО07-20-2009 07:54 PM
Re: finding boot disk
try "lvlnboot -v" to get the Physicla Disk Path which the system is booted up with.
also you can use setboot, but this might not guarentee you of the disk you are booted with.
thanks
Shi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 10:58 PM
тАО07-20-2009 10:58 PM
Re: finding boot disk
Please assign some points who give there valuable time for your problem.
To know how to assign points please go through the below link.
http://forums13.itrc.hp.com/service/forums/helptips.do?#33
Suraj