- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring VG00
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-08-2006 09:16 AM
06-08-2006 09:16 AM
miaux10: / =>mkboot -a "hpux -lq /stand/vmunix" /dev/dsk/c3t6d0
-a specified but no current boot area on /dev/dsk/c3t6d0
These are the following steps I have taken:
What's missing.
miaux10: / =>pvcreate -B /dev/rdsk/c3t6d0
Physical volume "/dev/rdsk/c3t6d0" has been successfully created.
miaux10: / =>vgextend /dev/vg00 /dev/dsk/c3t6d0
vgextend: Warning: Max_PE_per_PV for the volume group (4328) too small for this PV (4375).
Using only 4328 PEs from this physical volume.
Volume group "/dev/vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
miaux10: / =>mkboot /dev/dsk/c3t6d0
miaux10: / =>mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c3t6d0
-a specified but no current boot area on /dev/dsk/c3t6d0
miaux10: / =>mkboot -a "hpux -lq" /stand/vmunix" /dev/dsk/c3t6d0
>
miaux10: / =>mkboot -a "hpux -lq /stand/vmunix" /dev/dsk/c3t6d0
-a specified but no current boot area on /dev/dsk/c3t6d0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 09:32 AM
06-08-2006 09:32 AM
Solutionhttp://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=788265
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 09:53 AM
06-08-2006 09:53 AM
Re: Mirroring VG00
You have missed a few stps.
Is this 11i v1 ?
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
06-09-2006 01:28 AM
06-09-2006 01:28 AM
Re: Mirroring VG00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:28 AM
06-09-2006 01:28 AM
Re: Mirroring VG00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:30 AM
06-09-2006 01:30 AM
Re: Mirroring VG00
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343
,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:33 AM
06-09-2006 01:33 AM
Re: Mirroring VG00
for Itanium mirror procedure follow the attachment ...
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:35 AM
06-09-2006 01:35 AM
Re: Mirroring VG00
For some reason I cannot get to this link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:35 AM
06-09-2006 01:35 AM
Re: Mirroring VG00
Important: vgreduce the disk before you start over.
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
06-09-2006 01:44 AM
06-09-2006 01:44 AM
Re: Mirroring VG00
Here is another reference. You'll need to find the section titled "Mirroring a Boot Disk with LVM on HP-UX 11i for HP Integrity Servers":
http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:48 AM
06-09-2006 01:48 AM
Re: Mirroring VG00
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343
,00.html
but here is another
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000082066576
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
06-09-2006 01:54 AM
06-09-2006 01:54 AM
Re: Mirroring VG00
No points for this please, I just want to verify the formatting problem. The link again for copy and paste:
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343,00.html
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
06-09-2006 01:58 AM
06-09-2006 01:58 AM
Re: Mirroring VG00
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:01 AM
06-09-2006 02:01 AM
Re: Mirroring VG00
As others have pointed out, the procedures for itanium and parisc are different. I've generated a checklist that I've used quite often - available at:
http://www.olearycomputers.com/ll/hp_mirrorux.html
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:06 AM
06-09-2006 02:06 AM
Re: Mirroring VG00
9000 (PA-RISC) Systems"
http://docs.hp.com/en/B2355-90950/B2355-90950.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:14 AM
06-09-2006 02:14 AM
Re: Mirroring VG00
I've pasted this in from Andrew Rutter @
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=966323
HOW TO CREATE A MIRRORED BOOT DISK WITH LVM ON ITANIUM SYSTEMS
This document assumes that MirrorDisk/UX is already installed on the system and patch PHCO_31709 or a superseded patch has been installed afterwards.
To check MirrorDisk/UX is installed use
#swlist â l product B2491BA (servers)
#swlist â l product B5430BA (workstation)
#swlist ¦ grep â i mirror
Check device files with ioscan
#ioscan â funC disk
Use vi to create a partition description file like examples below
#vi /tmp/partitionfile
For HPUX 11.22 uses a 3 line file
2
EFI 100MB
HPUX 100%
For HPUX 11.23 uses a 4 line file
3
EFI 500MB
HPUX 100%
HPSP 400MB
Use idisk to partition the disk as required
#idisk â wf /tmp/partitionfile /dev/rdsk/cxtxdx
Use insf to create device files
#insf â e
Check partitions on disks with
#idisk â p /dev/rdsk/cxtxdx
should display 3 partitions EFI, HPUX, HPSP
Create a physical volume on the desired disk with pvcreate ensuring you specify s2 device files
#pvcreate â B /dev/rdsk/cxtxdxs2
(-f option only required if disk previously used in system)
Add the physical volume to the ROOT volume group using s2
#vgextend /dev/vg00 /dev/dsk/cxtxdxs2
If disk has been previously used initialize efi fat partition
#efi_fsinit â d /dev/rdsk/cxtxdxs1
Use mkboot to place boot utils in boot area on disk and lif files under /usr/lib/efi and /usr/lib/uxbootlif
#mkboot â e â l /dev/rdsk/cxtxdx
use pvdisplay to note the sequence of lvols
#pvdisplay â v /dev/dsk/cxtxdxs2 ¦ more
Create mirror copies of all lvols to be mirrored
#lvextend â m 1 /dev/vg00/lvol1 /dev/dsk/cxtxdxs2
#lvextend â m 1 /dev/vg00/lvol2 /dev/dsk/cxtxdxs2
for all lvols or use this shell loop to extend automatically
#for lvol in lvol1 lvol2 lvol3 ⠦⠦⠦.lvol8 (specify all lvols to be mirrored)
>do
>lvextend â m 1 /dev/vg00/$lvol /dev/dsk/cxtxdxs2
>done
Confirm efi partition is present and populated
#efi_ls â d /dev/rdsk/cxtxdxs1
#efi_ls â d /dev/rdsk/cxtxdxs1 â u /EFI/HPUX/AUTO /tmp/AUTO; cat /tmp/AUTO
Edit the AUTO file to â lq
#efi_cp â d /dev/rdsk/cxtxdxs1 â u /EFI/HPUX/AUTO /tmp/AUTO
#vi /tmp/AUTO
modify boot vmunix to boot vmunix â lq
Then copy file back to both EFI partitions (both disks)
#efi_cp â d /dev/rdsk/cxtxdxs1 /tmp/AUTO /EFI/HPUX/AUTO
Check again
#efi_ls â d /dev/rdsk/cxtxdxs1
#efi_ls â d /dev/rdsk/cxtxdxs1 â u /EFI/HPUX/AUTO /tmp/AUTO; cat /tmp/AUTO
List contents of LIF area on mirrored disk
#lifls â l /dev/rdsk/cxtxdxs2
Update the BDRA and LABEL files
#lvlnboot â R /dev/vg00
Check disks are listed as boot disks for ROOT BOOT and SWAP
#lvlnboot â v /dev/vg00
If any are missing
#lvlnboot â r /dev/vg00/lvol3 /dev/vg00
#lvlnboot â s /dev/vg00/lvol2 /dev/vg00
#lvlnboot â d /dev/vg00/lvol2 /dev/vg00
#lvlnboot â b /dev/vg00/lvol1 /dev/vg00
Add a line to /stand/bootconf for new bootdisk using vi
#vi /stand/bootconf
l /dev/dsk/c0t6d0
l /dev/dsk/cxtxdx
check new disk appears in /etc/lvmtab
#strings /etc/lvmtab
Set alt path for mirrored
#setboot â a [hw path of mirror] disk (11.22 uses std alt path)
#setboot â h [hw path of mirror] disk (11.23 uses HA alternative)
Check PVâ s with
#vgdisplay â v vg00
check all lvols are mirrored with
#lvdisplay â v /dev/vg00/lvol1 ¦ pg
#lvdisplay â v /dev/vg00/lvol2 ¦ pg
Check partitions on disks with
#idisk â p /dev/rdsk/cxtxdx
should display 3 partitions EFI, HPUX, HPSP
Copy contents of HPSP on original disk to mirrored disk partition
#dd if=/dev/rdsk/cxtxdxs3 of=/dev/rdsk/cxtxdxs3 bs=1024k
Note
If cold install of 11.23 - HPSP will not be populated with diagnostics
These need installing from offline diagnostics cd
Reboot server and boot offline diagnostics cd
Select option to run cd installer to install/update contents to HPSP
Once installed on one disk this can be copied with dd as above
shutdown and reboot to alt path to check mirror is bootable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:25 AM
06-09-2006 02:25 AM
Re: Mirroring VG00
Disk that will be used for mirror.
miaux10: / =>diskinfo /dev/rdsk/c3t6d0
SCSI describe of /dev/rdsk/c3t6d0:
vendor: HP 73.4G
product id: ST373454LC
type: direct access
size: 71687369 Kbytes
bytes per sector: 512
Master disk:
miaux10: / =>diskinfo /dev/rdsk/c0t6d0
SCSI describe of /dev/rdsk/c0t6d0:
vendor: HP 73.4G
product id: ST373454LC
type: direct access
size: 71687369 Kbytes
bytes per sector: 512
According to document, when I create the
/tmp/partitionfile for 11.23
3
EFI 500MB
HPUX 100%
HPSP 400MB
Not sure how this file should look. And what fields to modify..
First time doing this... as you all can tell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:38 AM
06-09-2006 02:38 AM
Re: Mirroring VG00
Default is
EFI 500MB
HPUX 100%
HPSP 400MB
This file is for partition your boot disk in three parts.
With ioscan command you will see
/dev/rdsk/c3t6d0s1
/dev/rdsk/c3t6d0s2
/dev/rdsk/c3t6d0s3
you can check this value
diskinfo /dev/rdsk/c3t6d0s1 (EFI size)
diskinfo /dev/rdsk/c3t6d0s3 (HPSP size)
diskinfo /dev/rdsk/c3t6d0s2 (HPUX size)
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:46 AM
06-09-2006 02:46 AM
Re: Mirroring VG00
# - what is this referencing.
HPSP 400MB - Not sure what this is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:51 AM
06-09-2006 02:51 AM
Re: Mirroring VG00
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
06-09-2006 03:08 AM
06-09-2006 03:08 AM
Re: Mirroring VG00
miaux10: / =>mkboot -e -l /dev/rdsk/c3t6d0
Error writing to /dev/rdsk/c3t6d0s2: No such device or address
miaux10: / =>ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 1 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
disk 0 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3550A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/1/1/0/1/1.6.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
/dev/dsk/c3t6d0s1 /dev/rdsk/c3t6d0s1
/dev/dsk/c3t6d0s2 /dev/rdsk/c3t6d0s2
miaux10: / =>mkboot -e -l /dev/rdsk/c3t6d0
Error writing to /dev/rdsk/c3t6d0s2: No such device or address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:14 AM
06-09-2006 03:14 AM
Re: Mirroring VG00
miaux10: / =>cat /tmp/partitionfile
2
EFI 70007MB
HPUX 100%
HPSP 400MB
Thanks, All for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:15 AM
06-09-2006 03:15 AM
Re: Mirroring VG00
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
06-09-2006 03:17 AM
06-09-2006 03:17 AM
Re: Mirroring VG00
Your first line should look like
EFI 500MB
the whole file:
3
EFI 500MB
HPUX 100%
HPSP 400MB
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
06-09-2006 03:22 AM
06-09-2006 03:22 AM