- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring
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
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
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-08-2007 10:52 AM
12-08-2007 10:52 AM
also I have seven logical volumes I want to do mirroring in my all logical volumes. including root volume.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2007 11:03 AM
12-08-2007 11:03 AM
SolutionSee Appendix A.
Choose one of the two procedures, according to whether your machine is a PA-RISC or an Itanium.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2007 05:56 AM
12-09-2007 05:56 AM
Re: Mirroring
How I do it PA-RISC....
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
Thanks to all that made this doc right.
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
12-09-2007 12:14 PM
12-09-2007 12:14 PM
Re: Mirroring
Create a bootable LVM disk to be used for the mirror.
# pvcreate -f â B /dev/rdsk/cxtyd0 Return
Add this disk to the current root volume group.
# vgextend /dev/vg00 /dev/dsk/cxtyd0 Return
Make the new disk a boot disk.
# mkboot /dev/rdsk/cxtyd0 Return
Copy the correct AUTO file into the new LIF area.
# mkboot -a "hpux â lq (;0)/stand/vmunix" /dev/rdsk/cxtyd0 Return
Mirror the 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 root logical volume:
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtyd0 Return
The following is an example of mirroring the primary swap logical volume:
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/cxtyd0 Return
NOTE: The root logical volume must be done first to ensure that it occupies the first contiguous set of extents on the new disk.
Update the boot information contained in the BDRA for the mirror copies of root and primary swap.
# /usr/sbin/lvlnboot -b /dev/vg00/lvol1 Return
# /usr/sbin/lvlnboot -r /dev/vg00/lvol3 Return
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2 Return
# /usr/sbin/lvlnboot -d /dev/vg00/lvol2 Return
Check if the BDRA is correct.
# /usr/sbin/lvlnboot -R /dev/vg00 Return
Verify that the mirror was properly created.
# lvlnboot -v Return
# setboot â a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 06:22 AM
12-10-2007 06:22 AM
Re: Mirroring
But do you have a PA-RISC system?
run
# model
if you see "9000" it is PA-RISC, if you see
"ia64 ..." it is an Integrity!
In this case you have to the the manual mentioned in the first post!
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-11-2007 10:52 PM
12-11-2007 10:52 PM
Re: Mirroring
I have a script to mirroring disk. you can see at attachment.