- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mirrot a boot disk
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
12-17-2007 06:14 AM
12-17-2007 06:14 AM
mirrot a boot disk
i have the following procedure but i need to check it.
c0t0d0 : primary disk
c1t1d1 : mirror disk
1/
pvcreate -f -B /dev/rdsk/c1t1d1
vgextend vg00 /dev/dsk/c1t1d1
2/mirror all lvol:
lvextend -m 1 /dev/vg00/lvolX /dev/dsk/c1t1d1
3/Copy the boot area to the disk
mkboot -l /dev/rdsk/c1t1d1
mkboot -a 'hpux -lq' /dev/rdsk/c0t0d0
mkboot -a 'hpux -lq' /dev/rdsk/c1t1d1
4/Install ODE files
cd /usr/sbin/diag/lif
mkboot -b updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c1t1d1
5/Update the BDRA and LABEL file.
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -d /dev/vg00/lvol2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2007 06:20 AM
12-17-2007 06:20 AM
Re: mirrot a boot disk
I have uploaded mirroring doc ,it may help you to accomplish the task without any issues.
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2007 06:49 AM
12-17-2007 06:49 AM
Re: mirrot a boot disk
;^(
Here is the mirroring procedure I follow:
The steps to mirror your boot volume are (PA-RISC):
1. Create a physical volume with a boot reserved area
"pvcreate -B /dev/rdsk/c1t6d0"
2. Add the physical volume to the root VG
"vgextend /dev/vg00 /dev/dsk/c1t6d0"
3. Use mkboot to place the boot utilities in the boot area and add the AUTO file
"mkboot /dev/rdsk/c1t6d0"
"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"
4. Use mkboot to update the AUTO file on the primary boot disk
"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"
5. Mirror the stand, root and swap logical volumes in order
"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"
6. Then mirror the rest of your root logical volumes
"lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0"
etc.
7. Modify your alternate boot path
"setboot -a 8/8.6.0 # use the path of your new boot disk"
8. Edit /stand/bootconf and add your new mirrored boot disk.
That's all there is to it. You may notice that I left out any
lvlnboot commands. That is because they are not
necessary - see the man page:
"This command should be run in recovery mode (-R)
whenever the configuration of the root volume group is
affected by one of the following commands: lvextend,
lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,
or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),
lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and
vgreduce(1M)). Starting with HP-UX Release 10.0, this is
done automatically."
For Itanium architecture, follow this guide:
http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2007 07:07 AM
12-17-2007 07:07 AM
Re: mirrot a boot disk
:-(
Up to HP-UX 11.23 the procedure is in the appendix here:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
For 11.31 it is different:
http://docs.hp.com/en/B2355-90950/ch06s02.html#mrflv
Note, the updatediaglif files (offline diagnostics) are now on a separate CD:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PA0712
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
12-17-2007 07:09 AM
12-17-2007 07:09 AM
Re: mirrot a boot disk
do you confirm that the procedure works with hpux 11iv1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2007 07:14 AM
12-17-2007 07:14 AM
Re: mirrot a boot disk
http://www.met.ca/itrc/index.php?option=com_content&task=view&id=33&Itemid=2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2007 09:10 PM
12-17-2007 09:10 PM
Re: mirrot a boot disk
Please find the attached mirror disk script, I found this on ITRC.
Regards,
Asif Sharif
Asif Sharif