- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Boot Disk checking
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
тАО05-07-2008 02:01 AM
тАО05-07-2008 02:01 AM
Pls tell me how to check boot device in os
The way in which i thought i am confusing
As per me:
#bdf
/dev/vg00/lvol3 2097152 977176 1111272 47% /
/dev/vg00/lvol1 2051553 268195 1578202 15% /stand
.
.
.
so /stand will be boot device i.e. /ev/vg00/lvol1
now if i seen lvdisplay of /dev/vg00/lvol1
by command
#lvdisplay -vk /dev/vg00/lvol1 |grep /dev/|tail +3
its showing :
/dev/disk/disk7_p2 64 64
/dev/disk/disk9_p2 64 64
so my boot disk is disk7 & disk9
but now as i m seeing thru
#setboot -v
Primary bootpath : 4/0/1/1/0.0x0.0x0 (/dev/rdisk/disk12)
HA Alternate bootpath :
Alternate bootpath : 4/0/8/1/0.0x0.0x0 (/dev/rdisk/disk15)
.
.
.
so boot disk is: 4/0/1/1/0.0x0.0x0 (/dev/rdisk/disk12)
HA Alternate bootpath :
Alternate bootpath : 4/0/8/1/0.0x0.0x0 (/dev/rdisk/disk15)
now as i seen through :
#ioscan -m dsf | grep disk12
/dev/rdisk/disk12 /dev/rdsk/c0t0d0
/dev/rdisk/disk12_p1 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk12_p2 /dev/rdsk/c0t0d0s3
/dev/rdisk/disk12_p3 /dev/rdsk/c1t2d0
#ioscan -m dsf | grep disk7
/dev/rdisk/disk7 /dev/rdsk/c0t0d0
/dev/rdisk/disk7_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk7_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk7_p3 /dev/rdsk/c0t0d0s3
so are they alternate link.
Also pls tell thru "lssf"
Pls put ur views as i m new in this field.
Thanx in Advance
with regards
Vjta
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 02:09 AM
тАО05-07-2008 02:09 AM
Re: Boot Disk checking
# echo "bootdev/X" | adb /stand/vmunix /dev/kmem
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 02:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 02:21 AM
тАО05-07-2008 02:21 AM
Re: Boot Disk checking
Vjta
lvlnboot -v
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t5d0 (8/16/5.5.0) -- Boot Disk
/dev/dsk/c2t6d0 (8/16/5.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t5d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c2t5d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c2t5d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c2t6d0, 0
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 02:49 AM
тАО05-07-2008 02:49 AM
Re: Boot Disk checking
by using that comand its giving error:
bootdev:
adb: warning: Unrecognized format character - 'X'.
thanks ahsan & wk ,but my problem is why its showing different thru setboot .
Thanks & regards
Vjta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 05:30 AM
тАО05-07-2008 05:30 AM
Re: Boot Disk checking
The simplest way is a lvlnboot -v your output will look similar to the below, if you have a mirror.
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c4t8d0 (1/0/4/1/0.8.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c4t8d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c4t8d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c4t8d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
If you don't have a mirror you will only show one boot disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 05:38 AM
тАО05-07-2008 05:38 AM
Re: Boot Disk checking
I have posted for PA-RISC. For Integrity add '-o' after adb.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 06:08 AM
тАО05-07-2008 06:08 AM
Re: Boot Disk checking
Try this one,
#echo "boot_string/S" | adb /stand/vmunix /dev/kmem
lvlnboot -v, looks like
/dev/dsk/c2t5d0 (8/16/5.5.0) -- Boot Disk
/dev/dsk/c2t6d0 (8/16/5.6.0) -- Boot Disk
what is the outptu of,
strings /etc/lvmtab
ioscan -fnC disk
ioscan -m dsf
ioscan -m hwpath
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 12:43 PM
тАО05-07-2008 12:43 PM
Re: Boot Disk checking
this is 11.31 (indicated by the agile device naming od /dev/disk/diskxx) and the older adb strings do not work.
I have yet to find the correct ones for 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 09:59 PM
тАО05-07-2008 09:59 PM
Re: Boot Disk checking
/dev/rdisk/disk12 /dev/rdsk/c0t0d0
/dev/rdisk/disk12_p1 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk12_p2 /dev/rdsk/c0t0d0s3
/dev/rdisk/disk12_p3 /dev/rdsk/c1t2d0
#ioscan -m dsf | grep disk7
/dev/rdisk/disk7 /dev/rdsk/c0t0d0
/dev/rdisk/disk7_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk7_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk7_p3 /dev/rdsk/c0t0d0s3
There is something wrong in the first ioscan result.
_p1 is mapped to s2 ???
_p2 to s3 and
_p3 to another disk?
Let's see what is the result of (please complete results):
# ioscan -fn
# strings /etc/lvmtab
# vgdisplay -v vg00
# ioscan -m dsf
# lvlnboot -v
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!