- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create Mirror 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
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
02-22-2006 01:01 AM
02-22-2006 01:01 AM
We have 2 disks - HP 36.4Gb 15K. The mirror disk must be bootable.
How do i go about creating it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 01:05 AM
02-22-2006 01:05 AM
Re: Create Mirror Disk
have you got the additional HP_UX Mirror product ?
If it is installed, just change the number of mirrors on the area you want to mirror.
I use SAM for this, nice and easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 01:08 AM
02-22-2006 01:08 AM
Re: Create Mirror Disk
See attached doc.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 01:08 AM
02-22-2006 01:08 AM
Re: Create Mirror Disk
Reference HP Doc ID: LVMKBRC00005103
Mirror root disk to a second disk drive while making sure the second drive is bootable.
I am going to assume that c2t2d0 is the main bootable drive and c1t2d0 will be our second, mirrored bootable drive we need to build.
The "-B" option is used to create a bootable Physical Volume: pvcreate -B /dev/rdsk/c1t2d0
Make sure to use the character device file when using mkboot: mkboot -l /dev/rdsk/c1t2d0
Make sure disks are not in a quorum.
The "-lq" indicates no quorum when two disks are used. When three or more are used you don't need "-lq". You also need to do this with the primary disk. Otherwise, when you boot normally to "pri" and the "alt" disk is not there for whatever reason, you will **NOT** be able to boot. The "pri" disk will "look" for the "alt" disk. No quorum???? To bad so sad, you loose. Ack!
So do this:
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t2d0
Don't forget the main boot drive:
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0
Add Diag to lif:
32 Bit:
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c1t2d0
64 Bit:
mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c1t2d0
Check the contents of the AUTO file:
lifls /dev/rdsk/c1t2d0 or this command: lifcp /dev/rdsk/c1t2d0:AUTO -
Add the Physical Volume to the root volume group:
vgextend /dev/vg00 /dev/dsk/c1t2d0
Do this next command for each "lvol"......
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t2d0
******* or *******
for x in lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8
do
echo "\n******** Doing ${x} ********\n"
lvextend -m 1 /dev/vg00/${x} /dev/dsk/c1t2d0
done ; banner All Done
Don't forget any extra swap you added (like /dev/vg00/swap2). Do "swapinfo" and "bdf" to check for swap and any other lvols that may have been created.
Specify the root logical volume: lvlnboot -r /dev/vg00/lvol3
Specify the swap logical volume: lvlnboot -s /dev/vg00/lvol2
Specify the dump logical volume: lvlnboot -d /dev/vg00/lvol2
Specify the boot logical volume: lvlnboot -b /dev/vg00/lvol1
Recover any BDRA info: lvlnboot -R
Verify boot, root, swap and dump settings: lvlnboot -v
Display the Primary and Alternate boot paths that are currently set: setboot
Set alternate boot path to the new mirrored disk.
Use "ioscan -funC disk" to find out what the path should be:
setboot -a 0/0/1/1.2.0
Activate AutoSearch and AutoBoot: setboot -s on -b on
Run "setboot" again to confirm the change.
Do "shutdown -r 0" (or "reboot") to test. After halting the boot process, type in "bo alt" to boot from the alternate disk.
A good test would be to remove the primary and then boot to the alternate drive. After that test, place the primary back into the server, then remove the alternate to check that booting process as well. The server should boot from either the primary or alternate disk if no quorum was properly set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 01:13 AM
02-22-2006 01:13 AM
Re: Create Mirror Disk
Check out the following document in the knowledge base:
Title: How to mirror vg00 using LVM on IA with 11.23
Document ID: KBRC00014526
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000082066576
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 02:11 AM
02-22-2006 02:11 AM
SolutionFollow Patricks suggestion!
Notice, the first step (idisk) is necessary to create partitions,
EFI (boot) cxtydzs1
OS cxtydzs2
Diag cxtydzs3
You see the difference: the appended s1, s2, s3 to the "normal" devicefile.
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
02-22-2006 02:13 AM
02-22-2006 02:13 AM
Re: Create Mirror Disk
The procedure from Patrick is the valid for integrity servers running HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 02:29 AM
02-22-2006 02:29 AM
Re: Create Mirror Disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 02:46 AM
02-22-2006 02:46 AM
Re: Create Mirror Disk
(couldn't embed - so I attached it...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 03:27 AM
02-22-2006 03:27 AM
Re: Create Mirror Disk
The boot disk already has an 's' number appended to it, what does it signify and why are there 3 separate entries for it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 03:36 AM
02-22-2006 03:36 AM
Re: Create Mirror Disk
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
02-22-2006 04:19 AM
02-22-2006 04:19 AM
Re: Create Mirror Disk
Basically, in the itanium boxes, we have a different boot loader as opposed to PDC, called EFI(Extensible Firmware interface). This is a "fat" partition.
"idisk" utility helps you create 3 slices namely "cxtxdxs1(EFI),cxtxdxs2(OS),cxtxdxs3(Diag)".
If you feel the already create slices are not upto the doc standards ,submitted by Walleck,
just "rmsf" the s1,s2,s3 of second disk, and follow the link provided by patrick walleck.
The Doc is spot on for Itanium box, I used the same doc, in one of the rx2600 and even booted from the second disk successfully, without any issue's.
Best of luck and enjoy the exciting procedure.
Regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 04:38 AM
02-22-2006 04:38 AM
Re: Create Mirror Disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 11:04 AM
02-22-2006 11:04 AM
Re: Create Mirror Disk
Do the following steps..
#vgdisplay -v vg00 |more
See the out put, if the alternet disk is present. Both the disk should similar in size.
Now..
#lvextend -m 1 /dev/vg00/lvol1
it take some time to complete the mirror
do it for all the LVs.
Now..
#mkboot -a "hpux -lq"
#setboot (see the output)
(use "setboot -p" & "setboot -a" interms of change the boot order.
Cheers
indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 09:39 PM
02-22-2006 09:39 PM
Re: Create Mirror Disk
root@bduxdv01:/> vgextend vg00 /dev/dsk/c2t1d0s2
vgextend: Warning: Max_PE_per_PV for the volume group (4238) too small for this
PV (4329).
Using only 4238 PEs from this physical volume.
Volume group "vg00" has been successfully extended.
vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c2t1d0
any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 09:45 PM
02-22-2006 09:45 PM
Re: Create Mirror Disk
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=841931
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 10:16 PM
02-22-2006 10:16 PM
Re: Create Mirror Disk
Here is the official disk replacement guide describing root-mirroring for itanium systems in HPUx at page 26.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 12:46 AM
02-23-2006 12:46 AM
Re: Create Mirror Disk
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0s2
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option
I've read that I need to have the MirrorDisk product installed? the PA-RISC version is different from the itanium based version? is it downloadable or does it have to be paid for? are there any other workarounds?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 01:44 AM
02-23-2006 01:44 AM
Re: Create Mirror Disk
Yes, Itanium version is different from PA-RISC version.
Workarounds? None that I know of.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 04:17 AM
02-23-2006 04:17 AM
Re: Create Mirror Disk
swlist |grep OE
You will have to purchase a license for Mirrordisk UX
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 04:21 AM
02-23-2006 04:21 AM