- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mkboot command
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
08-24-2001 09:39 AM
08-24-2001 09:39 AM
mkboot command
1) How can I tell if the q option was used in a mkboot command.
2) In some of the threads of the mkboot command that I?ve looked at, the hardware path is fully specified in the mkboot command and in other threads just (;0) is specified. What?s the difference ?
3) Following is output from 2 remote systems. I asked the operators to boot off the alternate disks of each of the 2 systems by interrupting the boot sequence and typing bo alt. System A didn?t boot off the alternate until the operator typed hpux ?lq. System B went ok. I checked and the paths indicated below are correct. Any suggestions of anything else I could look at.
------ Output from System A
# lifls /dev/rdsk/c1t3d0
ISL AUTO HPUX PAD LABEL
# lifls /dev/rdsk/c2t6d0
ISL AUTO HPUX PAD LABEL SSINFO
# lifcp /dev/dsk/c1t3d0:AUTO ?
hpux (8/8.3.0)/stand/vmunix
# lifcp /dev/dsk/c2t6d0:AUTO ?
hpux
# setboot
Primary bootpath : 8/16/5.6.0
Alternate bootpath : 8/8.3.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t6d0 (8/16/5.6.0) -- Boot Disk
/dev/dsk/c1t3d0 (8/8.3.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t6d0
/dev/dsk/c1t3d0
Root: lvol3 on: /dev/dsk/c2t6d0
/dev/dsk/c1t3d0
Swap: lvol2 on: /dev/dsk/c2t6d0
/dev/dsk/c1t3d0
Dump: lvol2 on: /dev/dsk/c2t6d0, 0
--------- Output from System B
# lifls /dev/rdsk/c2t5d0
ODE MAPFILE SYSLIB CONFIGDATA SLMOD
SLDEV SLDRIVERS SLSCSI MAPPER IOTEST
PERFVER PVCU SSINFO HPUX ISL
AUTO LABEL
# lifls /dev/rdsk/c0t4d0
ISL AUTO HPUX PAD LABEL
# lifcp /dev/dsk/c2t5d0:AUTO ?
hpux
# lifcp /dev/dsk/c0t4d0:AUTO -
hpux (8/4.4.0)/stand/vmunix
# setboot
Primary bootpath : 8/12.5.0
Alternate bootpath : 8/4.4.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
# lvlnboot ?v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t5d0 (8/12.5.0) -- Boot Disk
/dev/dsk/c0t4d0 (8/4.4.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t5d0
/dev/dsk/c0t4d0
Root: lvol3 on: /dev/dsk/c2t5d0
/dev/dsk/c0t4d0
Swap: lvol2 on: /dev/dsk/c2t5d0
/dev/dsk/c0t4d0
Dump: lvol2 on: /dev/dsk/c2t5d0, 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 09:50 AM
08-24-2001 09:50 AM
Re: mkboot command
Question 3: you need to execute mkboot -a "hpux -lq" to each of the mirrored disks; ex: mkboot -a "hpux -lq" /dev/rdsk/c2t6d0
mkboot -a "hpux -lq" /dev/rdsk/c1t6d0
Hope this helps.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 10:25 AM
08-24-2001 10:25 AM
Re: mkboot command
mkboot -a "hpux -lq" /dev/rdsk/bootdisk.
And my questions is how can I tell if that command was issued on a system that I took over administration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 10:30 AM
08-24-2001 10:30 AM
Re: mkboot command
# lifcp /dev/dsk/c2t5d0:AUTO ?
hpux
# lifcp /dev/dsk/c0t4d0:AUTO -
hpux (8/4.4.0)/stand/vmunix
So they didn't use -lq option while running mkboot command.
You can use mkboot command to update the autostring
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c0t4d0
I would suggest to refresh lvlnboot by doing a
lvlnboot -R after mkboot
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 10:41 AM
08-24-2001 10:41 AM
Re: mkboot command
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 10:53 AM
08-24-2001 10:53 AM
Re: mkboot command
2) the difference between an explicitly specified path and just (;0) ?
well, ... less typework ;-) and less risk for typing mistakes. It will use the current disk to boot from. There are very rare cases where a fully specified path fails; I've never heard of problems with (;0) so I would presume (;0) is prefered.
BTW nice smiley ;)
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 10:56 AM
08-24-2001 10:56 AM
Re: mkboot command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 11:05 AM
08-24-2001 11:05 AM
Re: mkboot command
hpux -lq (;0)/stand/vmunix /dev/dsk/pri_boot_disk
"hpux -lq (;0)/stand/vmunix" /dev/dsk/alt_boot_disk
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 11:10 AM
08-24-2001 11:10 AM
Re: mkboot command
#lifcp /dev/dsk/pri_boot_disk:AUTO -
hpux -lq (;0)/stand/vmunix
#lifcp /dev/dsk/alt_boot_disk:AUTO -
hpux -lq (;0)/stand/vmunix
Also when you do an lvlnboot -v, you should see both the disks appearing everywhere except for dump Logical Volume
-Sri