- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Creating boot disk mirror
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
тАО01-22-2004 03:00 AM
тАО01-22-2004 03:00 AM
Creating boot disk mirror
Could someone please take a look at this and let me know if I am on the right track?
Disk 1
/dev/dsk/c1t2d0
Disk 2
/dev/dsk/c2t2d0
Logical volumes on vg00
lvol1 /stand
lvol2 SWAP
lvol3 /
lvol4 /tmp
lvol5 /usr
lvol6 /home
lvol7 /opt
lvol8 /var
lvol9 /data # used for Oracle
----------------------------------------
Create a recovery tape first
# make_tape_recovery -A
Create physical volume with boot area
# pvcreate ├в B ├в f /dev/rdsk/c2t2d0
Add physical volume to root volume group
# vgextend /dev/vg00 /dev/dsk/c2t2d0
Place boot utilities in the boot area and add the AUTO file
# mkboot /dev/rdsk/c2t2d0
# mkboot ├в a ├в hpux ├в lq├в /dev/rdsk/c2t2d0
Update the AUTO file on the primary boot disk (not sure about this)
# mkboot ├в a ├в hpux ├в lq├в /dev/rdsk/c1t2d0
Mirror the logical volumes
# lvextend ├в m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol2 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol3 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol4 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol5 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol6 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol7 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol8 /dev/dsk/c2t2d0
# lvextend ├в m 1 /dev/vg00/lvol9 /dev/dsk/c2t2d0
Update the BDRA and the LABEL file
# lvlnboot ├в R /dev/vg00
---------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 03:03 AM
тАО01-22-2004 03:03 AM
Re: Creating boot disk mirror
pvcreate -B /dev/rdsk/c1t0d0 #use real disk
mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
If you are running 64-bit OS:
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
# real disk. repeat for other lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 03:05 AM
тАО01-22-2004 03:05 AM
Re: Creating boot disk mirror
The only other thing I can think of that you'll need to do is set the alternate boot path
Get the hardware path of your disk from ioscan eg: 2/4.1.0
then
setboot -a 2/4.1.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 03:09 AM
тАО01-22-2004 03:09 AM
Re: Creating boot disk mirror
mkboot /dev/rdsk/cxtxdx
mkboot -a hpux -lq (;0)/stand/vmunix/dev/dsk/c1t0d0
vgextend /dev/vg00 /dev/dsk/cxtxdx
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtxdx
all lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R vg00
---------
setboot
setboot -a path second disk
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 03:12 AM
тАО01-22-2004 03:12 AM
Re: Creating boot disk mirror
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 06:07 PM
тАО01-22-2004 06:07 PM
Re: Creating boot disk mirror
kyris