- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems mirroring a boot disk in 11.23
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
тАО09-18-2005 11:20 PM
тАО09-18-2005 11:20 PM
I am in the process of mirroring a boot disk. This mirror disk is to be made bootable itself. When I execute:
mkboot -a "hpux -lq /stand/vmunix" /dev/dsk/c2t0d0
... I receive the following:
'-a specified but no current boot area on c2t0d0'.
I have already done:
pvcreate -B /dev/rdsk/c2t0d0
& added the mirror disk into the same VG that the original is in.
Then ...
mkboot /dev/dsk/c2t0d0
Am I missing a command?
Many thanks.
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 11:24 PM
тАО09-18-2005 11:24 PM
Re: Problems mirroring a boot disk in 11.23
Please take a look at this thread,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=694618
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 11:35 PM
тАО09-18-2005 11:35 PM
Solutionhttp://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=703819
View Slawomir Gora attachment.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 11:38 PM
тАО09-18-2005 11:38 PM
Re: Problems mirroring a boot disk in 11.23
http://docs.hp.com/en/5990-8172/ch06s02.html#cchgjafa
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 11:40 PM
тАО09-18-2005 11:40 PM
Re: Problems mirroring a boot disk in 11.23
Following is procedure for mirroring boot disk:
Say /dev/dsk/c0t6d0 is the root disk and /dev/dsk/c2t0d0 is the disk you want to make a mirror of.
1. Create a bootable LVM disk to be used for the mirror.
pvcreate -B /dev/rdsk/c2t0d0
2. Add this disk to the current root volume group.
vgextend /dev/vg00 /dev/dsk/c2t0d0
3. Make the new disk a boot disk.
mkboot -l /dev/rdsk/c2t0d0
4. Copy the correct AUTO file into the new LIF area.
mkboot -a "hpux -lq (;0)/vmunix" /dev/rdsk/c2t0d0
5. Mirror the boot, root and primary swap logical volumes to the new
bootable disk. Ensure that all devices in vg00, such as /usr, /swap,
etc., are mirrored.
The following is an example of mirroring the boot logical volume:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t0d0
The following is an example of mirroring the primary swap logical
volume:
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t0d0
The following is an example of mirroring the root logical volume:
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t0d0
6. Update the boot information contained in the BDRA for the mirror
copies of boot, primary swap and root.
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
7. Check if the BDRA is correct.
/usr/sbin/lvlnboot -R /dev/vg00
8. Verify that the mirrors were properly created.
lvlnboot -v /dev/vg00
The output of this command is shown in a display like the following:
Boot Definitions for Volume Group /dev/vg00:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/3/0.2.0) -- Boot Disk
/dev/dsk/c2t0d0 (1/0/1/0/0/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
vgdisplay -v vg00
Then lvextend for all other lvols:
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c2t0d0
setboot
setboot -a 52.1.0 # second disk
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 11:57 PM
тАО09-18-2005 11:57 PM
Re: Problems mirroring a boot disk in 11.23
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 12:23 AM
тАО09-19-2005 12:23 AM
Re: Problems mirroring a boot disk in 11.23
You have to create partition using "idisk" in Itanium servers before you can make boot mirror.
Refer to man page for more details. You need to create partition file before running idisk.
Also you will notice the device files will be ending with section (cXtYdZs1...)
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 01:46 AM
тАО09-19-2005 01:46 AM
Re: Problems mirroring a boot disk in 11.23
if you have an itanium based system, you have to follow another procedure.
see this document and locate the section "Mirroring a Boot Disk with LVM on HP-UX 11i for HP Integrity Servers"
http://docs.hp.com/en/5990-8172/ch06s02.html#cdebgaei
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 02:46 AM
тАО09-19-2005 02:46 AM
Re: Problems mirroring a boot disk in 11.23
mkboot -a "hpux -lq /stand/vmunix" /dev/dsk/c2t0d0
(-a specified but no current boot area on c2t0d0).
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 02:55 AM
тАО09-19-2005 02:55 AM
Re: Problems mirroring a boot disk in 11.23
be aware of that pvcreate -B doesn't make the disk bootable. The space only will be reserved.
Make your disk bootable with
mkboot -l /dev/rdsk/cxtxdx
check with
lifls -l /dev/rdsk/cxtxdx
(this is "L", not one)
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!