- 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-13-2002 01:07 PM
08-13-2002 01:07 PM
mkboot command
vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t2d0
vgchange -a y vg00
vgsync vg00
Now I need to run mkboot command. It's little confusing by looking at man page. Can anyone help me on this? I would like to know how to run mkboot command. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 01:17 PM
08-13-2002 01:17 PM
Re: mkboot command
# mkboot -l /dev/rdsk/c2t2d0
=> "-l" is for LVM layout.
# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
=> "-lq" is the escape quorum string.
# vgcfgrestore -n vg00 /dev/rdsk/c2t2d0
# vgchange -a y vg00
# vgsync vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 01:17 PM
08-13-2002 01:17 PM
Re: mkboot command
Do this:
# mkboot -l /dev/rdsk/cXtYdZ
# mkboot -a "hpux" /dev/rdsk/cXtYdZ
# mkboot -a "hpux -lq" /dev/rdsk/cXtYdZ
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 01:18 PM
08-13-2002 01:18 PM
Re: mkboot command
This should help:-
Creating a Root mirror
You cannot create a root mirror (bootable) using SAM.
You have to use the command line options.
The first command itself is pvcreate -B (to create a bootable disk) and SAM wont use the option "-B".
HP's system Admin tasks manual chapter 7.
1> pvcreate -B /dev/rdsk/xyz
2> vgextend /dev/vg00 /dev/dsk/xyz
3> mkboot /dev/rdsk/xyz
4> mkboot -a "hpux (;0) /stand/vmunix" /dev/rdsk/xyz
-a auto_file_string If the -a option is specified, mkboot
creates an autoexecute file AUTO on
device, if none exists. mkboot deposits
auto_file_string in that file. If this
string contains spaces, it must be quoted
so that it is a single parameter.
or use
4> mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/xyz
5> lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/xyz -do this for all the lvols on root disk.
6> lvlnboot -R
7> lvlnboot -v To check if you see both the disks as boot disk.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 01:23 PM
08-13-2002 01:23 PM
Re: mkboot command
mkboot -l /dev/rdsk/c2t2d0
mkboot -a "hpux -lq" /dev/rdsk/c2t2d0.
Update BDRA.
lvlnboot -b /dev/vg00/lvol1 (or the corresponding lvol)
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -v
Do lifls on both the disks and see if the utils are copied.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 02:37 PM
08-13-2002 02:37 PM
Re: mkboot command
# pvcreate -B /dev/rdsk/xyz
# mkboot -l /dev/rdsk/c2t2d0
# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0.
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t2d0
# vgchange -a y vg00
Update BDRA.
#lvlnboot the root, swap, boot lvols
#lvlnboot -v
Piyush