- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring a boot drive
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
06-05-2002 09:16 AM
06-05-2002 09:16 AM
Mirroring a boot drive
I have a server with no mirror on the boot drive. I have the mirror disk software installed so I am going to mirror the boot drive after the disk is installed. These are the steps I am going to take. I just want to make sure they are correct before I do this. Also, if there is anything I can do better please let me know. Thank you in advance and I will assign points.
John B.
Where cXtXdX is the new disk
1/ pvcreate -B /dev/rdsk/cXtXdX
2/ vgextend /dev/vg00 /dev/dsk/cXtXdX
3/ mkboot /dev/rdsk/cXtXdX
mkboot -a "hpux" /dev/rdsk/cXtXdX
lifcp /dev/rdsk/cXtXdX:AUTO -
^== To verify the contents of the auto file
4/pvdisplay -v /dev/dsk/c0t6d0
^== To check the order of the LVs on the original disk
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cXtXdX
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/cXtXdX
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/cXtXdX
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/cXtXdX
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/cXtXdX
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/cXtXdX
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/cXtXdX
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/cXtXdX
pvdisplay -v /dev/dsk/cXtXdX
^== To make sure they are in proper order on the new disk
5/ setboot -a "Hardware Address of New Disk"
setboot
^== To check that the path is set correctly
6/ lvlnboot -r /dev/vg00/lvol3 /dev/vg00
lvlnboot -b /dev/vg00/lvol1 /dev/vg00
lvlnboot -s /dev/vg00/lvol2 /dev/vg00
lvlnboot -d /dev/vg00/lvol2 /dev/vg00
lvlnboot -v ( check output again)
7/ Shutdown interrupt PDC and boot from the alternate mirror.
8/ If successful change the auto file on the original disk
mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
lifcp /dev/rdsk/c0t6d0:AUTO -
^== To verify the contents of the auto file.
9 Shutdown and boot off the primary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 09:23 AM
06-05-2002 09:23 AM
Re: Mirroring a boot drive
Comparing it to the steps in my LVM/MirrorDisk course book, your plan looks perfect.
Good Luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 09:24 AM
06-05-2002 09:24 AM
Re: Mirroring a boot drive
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 09:29 AM
06-05-2002 09:29 AM
Re: Mirroring a boot drive
# ll /usr/sbin/diag/lif/updatediaglif
=> Make sure the file exist.
# lifls -l /dev/rdsk/
=> List content of LIF dir (should have ISL,AUTO,HPUX,PAD,LABEL at least).
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/
=> Install ODE LIF files while "protecting" the existing LIF files.
=> Use updatediaglif2 for 11.0 64-bit.
# lifls -l /dev/rdsk/
=> Should now see the additional LIF files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 09:30 AM
06-05-2002 09:30 AM
Re: Mirroring a boot drive
Your steps are right and you dont need steps 5 and 8.
ALL THE BEST.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 09:35 AM
06-05-2002 09:35 AM
Re: Mirroring a boot drive
1) Use 'hpux -lq' when invoking mkboot -a (at first step itself)
2) Before step-6, I would check the output of:
# lvlnboot -v
Becuase, the new versions of OSs will automatically update this information and thus doesn't require the step-6.
3) If step-6 is needed, then I would do:
# lvlnboot -R (at the last and then check the output of lvlnboot -v)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 01:45 AM
06-06-2002 01:45 AM
Re: Mirroring a boot drive
You have recieved some excellent advise, dont forget to add your new disk to /stand/bootconf.
Just edit the /stand/bootconf file and add a line for the new disk:
l /dev/dsk/c#t#d#
-------------------------------------------
Best regards,
Everett Stroman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 03:26 AM
06-06-2002 03:26 AM
Re: Mirroring a boot drive
BEFORE you start, Please do a make_tape_recovery!
Second, why would you reboot the server from the primary, when you are already running from the primary? Do you plan on changing the primary to the new disk?
Third, make sure you have the lastest patch bundle installed.
Last, do ANOTHER make_tape_recovery with ANOTHER tape.
live free or die
harry