Operating System - HP-UX
1753980 Members
6563 Online
108811 Solutions
New Discussion юеВ

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

 
SOLVED
Go to solution
Jerry_109
Super Advisor

trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

HP-UX B.11.23 U ia64 hp server rx764
###############################
How do I mirror root drive with this error?
###############################
root[/dev/rdsk]
# /etc/ioscan -enfC 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 300 GHUS153030VL3800
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
Acpi(HWP0002,PNP0A03,100)/Pci(3|0)/Scsi(Pun6,Lun0)/HD(Part1,Sig750CA96A-DDDF-11DD-8002-D6217B60E588)/\EFI\HPUX\HPUX.EFI
disk 0 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5590A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
Acpi(HWP0002,PNP0A03,100)/Pci(3|1)/Scsi(Pun2,Lun0)
disk 2 1/0/1/1/0/4/1.6.0 sdisk CLAIMED DEVICE HP 300 GHUS153030VL3800
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
Acpi(HWP0002,PNP0A03,101)/Pci(1|0)/Pci(4|1)/Scsi(Pun6,Lun0)
###########################

root[/dev/rdsk]
# vgextend /dev/vg00 /dev/dsk/c3t6d0
vgextend: Warning: Max_PE_per_PV for the volume group (4465) too small for this PV (4470).
Using only 4465 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

11 REPLIES 11
James R. Ferguson
Acclaimed Contributor
Solution

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

Hi Jerry:

Your error isn't an error. Rather it is a _warning_. You are adding a physcial disk to your existing vg00 that has more physical extents (is larger) then the current LVM geometry can handle.

That said, aside from not being able to actually use the full amount of the disk, this is no way means you can't ignore that fact; add the disk to the volume group (you did!) and _mirror_ your logical volumes.

LVM mirroring occurs at the logical volume level and is in no way related to the 'vgextend' warning you received.

Regards!

...JRF...
sujit kumar singh
Honored Contributor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

hi


u can easily go ahead to do the mirroring .


this say athat the new disk has 4470 PEs on that and LVM shall be Using only 4465 PEs from this physical volume.


Max_PE_per_PV for the volume group (4465) too small for this PV (4470).


also that the Max_PE_per_PV has been set as (4465) for this VG. That is in normal conditions for ant PV that will be larger in size and will have more than (4465) PEs only (4465) PE from that disk can be used.


REgards

Sujit
Jerry_109
Super Advisor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

OK thnaks, I thought it was because of the "EFI" configuration, and thought I had to configure the mirror drive the same.
Thanks , I'll cont. on.
Jerry_109
Super Advisor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

Don't understand why I receive message
"specified but no current boot area on /dev/rdsk/c3t6d0"
###################################
root@[/dev/rdsk]
# pvcreate -B /dev/rdsk/c3t6d0
Physical volume "/dev/rdsk/c3t6d0" has been successfully created.
root@[/dev/rdsk]
# vgextend /dev/vg00 /dev/dsk/c3t6d0
vgextend: Warning: Max_PE_per_PV for the volume group (4465) too small for this PV (4470).
Using only 4465 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
root@[/dev/rdsk]
# mkboot -e -l /dev/rdsk/c3t6d0
You must first run idisk to create EFI and HP-UX partitions.
root@[/dev/rdsk]
# mkboot -l /dev/rdsk/c3t6d0
root@[/dev/rdsk]
# mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c3t6d0
-a specified but no current boot area on /dev/rdsk/c3t6d0
sujit kumar singh
Honored Contributor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

hi jerry

as u r are doing root disk mirroring on IA Machine u need to have the 3 Ptns on the disk that is EFI, HPUX and HPSP which u can create with the idisk command as

#vi /tmp/pdf
3
EFI 400MB
HPUX 100%
HPSP 500MB

save and exit

then,

#idisk -w -f /tmp/pdf /dev/rdsk/c3t6d0

this will create the three ptns as reqd snd then


do

#insf -e -C disk

then u will be able to see three set of more dev files for the disk in #ioscan -fnCdisk

/dev/rdsk/c3t6d0s1
/dev/rdsk/c3t6d0s2
/dev/rdsk/c3t6d0s3


/dev/dsk/c3t6d0s1
/dev/dsk/c3t6d0s2
/dev/dsk/c3t6d0s3

these are the dev files for the three slices

s1 is the EFI, s2 the HPUX and s3 is the HPSP.

Then u can go ahead and do the mirriroring like

Regards
Sujit


sujit kumar singh
Honored Contributor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

HI jerry


as this is an IA machine this will require 3 Ptns for the root disk.

now u can follow in continaution to myh earlier thread the following steps.

After the 3 Slices u are able to see on the Disk, do the following steps:

#pvcreate -B /dev/rdsk/c3t6d0s2
#vgextend /dev/vg00 /dev/dsk/c3t6d0s2
#mkboot -e -l /dev/rdsk/c3t6d0

#echo "boot /stand/vmunix -lq" > /tmp/AUTO
#efi_cp -d /dev/rdsk/c3t6d0s1 /tmp/AUTO /EFI/HPUX/AUTO



after that mirror the LVs on the Primary root disk to this new root disk.

#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0s2

do this coammnd for all the LVs like lvol2, lvol3 and all that are in VG vg00.


after u have copied all the LVs like that follow the following.

#lvlnboot -R
#lvlnboot -v




add a line to the /stand/bootconf file.
#vi /stand/bootconf

l /dev/rdsk/c3t6d0s2




save and exit


# setboot -h 1/0/1/1/0/4/1.6.0 -b on to set the new disk as the High Availability Alternate path disk for the system.



ur job is completed.


Regards


Sujit

Jerry_109
Super Advisor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

Thankss, it worked fine after idisk cmd
Jerry_109
Super Advisor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

Unable to setboot ?
######################
root@[/root]
# uname -a ; model
HP-UX B.11.23 U ia64 2015966084 unlimited-user license
ia64 hp server rx7640
root@vlhp41[/root]
# /etc/ioscan -nefkC 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 300 GHUS153030VL3800
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
Acpi(HWP0002,PNP0A03,100)/Pci(3|0)/Scsi(Pun6,Lun0)/HD(Part1,Sig750CA96A-DDDF-11DD-8002-D6217B60E588)/\EFI\HPUX\HPUX.EFI
disk 0 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5590A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
Acpi(HWP0002,PNP0A03,100)/Pci(3|1)/Scsi(Pun2,Lun0)
disk 2 1/0/1/1/0/4/1.6.0 sdisk CLAIMED DEVICE HP 300 GHUS153030VL3800
/dev/dsk/c3t6d0 /dev/dsk/c3t6d0s2 /dev/rdsk/c3t6d0 /dev/rdsk/c3t6d0s2
/dev/dsk/c3t6d0s1 /dev/dsk/c3t6d0s3 /dev/rdsk/c3t6d0s1 /dev/rdsk/c3t6d0s3
Acpi(HWP0002,PNP0A03,101)/Pci(1|0)/Pci(4|1)/Scsi(Pun6,Lun0)
root@vlhp41[/root]
# setboot
Primary bootpath : 1/0/0/3/0.6.0
HA Alternate bootpath :
Alternate bootpath : 1/0/1/1/0/6/0

Autoboot is ON (enabled)
root@vlhp41[/root]
# setboot -h 1/0/1/1/0/4/1.6.0
setboot: cannot set ha_alternate boot path
root@vlhp41[/root]
# setboot -a 1/0/1/1/0/4/1.6.0
setboot: cannot set alternate boot path
sujit kumar singh
Honored Contributor

Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small

Hi Jerry,


Is this a VPAR system running on the NPAR(s).

Please post the following O/Ps

#parstatus -w
#parstatus -V

just note how many NPAR are in the system.
#vparstatus -v
if u find more than one VPAR in the system that is like say keira1 and keira2,

Please need to post the O/P of

#vparstatus -v -p keira1
#vparstatus -v -p keira2

Please post the O/Ps


regards

sujit