- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror root disk
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
тАО03-30-2001 09:44 AM
тАО03-30-2001 09:44 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 09:49 AM
тАО03-30-2001 09:49 AM
Re: Mirror root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 10:05 AM
тАО03-30-2001 10:05 AM
Re: Mirror root disk
I don't believe that SAM would help you to make a boot disk, not sure, but anyway.
[adapt the commands below to your needs]
Step 1 (before assigning anything to this disk!)
# pvcreate -B /dev/rdsk/c2t8d0
# mkboot /dev/rdsk/c2t8d0
# mkboot -a "hp-ux -lq(;0)/stand/vmunix" /dev/rdsk/c2t8d0
Step 2 (add the disk to VG00)
# vgextend /dev/vg00 /dev/dsk/c2t8d0
Step 3 (mirror the required lvols to this disk)
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t8d0
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t8d0
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t8d0
Step 4 : mirror the other lvols which you want/need to mirror.
Step 5 : try to boot from this disk :)
good luck,
Thierry
(don't blame me for any typo's ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 10:19 AM
тАО03-30-2001 10:19 AM
Re: Mirror root disk
1 Make the disk a boot device
pvcreate -f -B /dev/rdsk/c0t8d0
2 Add the disk to the root VG
vgextend vg00 /dev/dsk/c0t8d0
3.Copy boot programs to the disk
mkboot -l /dev/dsk/c0t8d0
4. Make sure lif programs were added
lifls /dev/dsk/c0t8d0
5. Make sure that you mirror each lv in order
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
lvextend -m 1 /dev/vg00/lvol4
lvextend -m 1 /dev/vg00/lvol5
lvextend -m 1 /dev/vg00/lvol6
lvextend -m 1 /dev/vg00/lvol7
lvextend -m 1 /dev/vg00/lvol8
lvextend -m 1 /dev/vg00/lvol9
6. Verify mirrors are correct
lvlnboot -v vg00
7.Copy the auto file used by hpux loader at start up
lifcp /dev/dsk/c0t5d0:AUTO -
then enter
lifco /dev/dsk/c0t8d0:AUTO -
8. Make the disks able to boot without quorum
mkboot -a "hpux -lq" /dev/rdsk/c0t5d0
mkboot -a "hpux -lq" /dev/rdsk/c0t8d0
9. Make sure both are set up as the primary and backup boot devices
setboot
if you need to change enter
setboot -a 8/0.8.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 10:26 AM
тАО03-30-2001 10:26 AM
Re: Mirror root disk
(copied & pasted for future reference)
but a little remark at point 5. :
you should define where the mirror copy should reside : suppose a VG00 with 10 disks, the mirror copies of the first 3 lvols could be placed on another disk instead of your second boot disk!
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 10:31 AM
тАО03-30-2001 10:31 AM
Re: Mirror root disk
# mkboot -a "hp-ux -lq(;0)/stand/vmunix" /dev/rdsk/cxtyd0
mkboot -a "hp-ux -lq(;0)/stand/vmunix" /dev/rdsk/cwtzd0 (primary disk)
Step 2 (add the disk to VG00)
# vgextend /dev/vg00 /dev/dsk/cxtyd0
Step 3 (mirror the required lvols to this disk)
# lvextend -m 1 /dev/vg00/lvolx /dev/dsk/cxtyd0
Step 4
lvlnboot -Rv
step 5
setboot -a hardware path (es. 0/0/0/x/0.y) (for alternate boot)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 10:54 AM
тАО03-30-2001 10:54 AM
Re: Mirror root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2001 05:37 PM
тАО03-30-2001 05:37 PM
Re: Mirror root disk
NOTE: The first 3 lvols (/stand, swap and /) must start at the begining of the mirror disk. If not, the mirror will start to boot and then fail as the next two volumes are not contiguous.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2001 04:49 AM
тАО04-02-2001 04:49 AM
SolutionI'm sorry, but there is no easy way to make a mirror disk for HP-UX.
First of all, you must buy the HP-UX Mirror disk software: if you haven't this software, forgot about thinkink to make a mirror disk of any kind. Second, when you have the sofware, do NOT use SAM to make a funcional root disk (does not work for me), but read the manual and follow the steps about the command about vgcreate, vgextend, vg*, etc (it work for me).
Bye,
Giuseppe Giardina.