- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: trying to mirror root drive: Max_PE_per_PV for...
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-09-2009 09:52 AM
тАО01-09-2009 09:52 AM
###############################
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 10:00 AM
тАО01-09-2009 10:00 AM
SolutionYour 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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 10:01 AM
тАО01-09-2009 10:01 AM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 10:08 AM
тАО01-09-2009 10:08 AM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
Thanks , I'll cont. on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 10:42 AM
тАО01-09-2009 10:42 AM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
"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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 11:03 AM
тАО01-09-2009 11:03 AM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 11:14 AM
тАО01-09-2009 11:14 AM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 11:14 AM
тАО01-09-2009 11:14 AM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 03:51 PM
тАО01-09-2009 03:51 PM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
######################
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 09:37 PM
тАО01-09-2009 09:37 PM
Re: trying to mirror root drive: Max_PE_per_PV for the volume group (4465) too small
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