Operating System - HP-UX
1832681 Members
3018 Online
110043 Solutions
New Discussion

too many physical extents

 
SOLVED
Go to solution
Kim Kendall
Regular Advisor

too many physical extents

Just created a 12 drive (36GB ea) raid group on an EMC san, broken into 2 LUN's. Both LUN's are offered to the same server (down 2 different service processors)

On the server, I went through the process of scanning, making the device files, then making the volume groups.

#pvcreate -f /dev/rdsk/c22t1d4
#pvcreate -f /dev/rdsk/c21t1d5
#mkdir /dev/vgemcora01
#mknod /dev/vgemcora01/group c 64 0x100000
#vgcreate -g vgemcora01 /dev/vgemcora01 /dev/dsk/c22t1d4 /dev/dsk/c21t1d5

Then I can check with vgdisplay -v /dev/vgemcora01
--- Volume groups ---
VG Name /dev/vgemcora01
VG Write Access read/write



--- Physical volumes ---
PV Name /dev/dsk/c22t1d4
PV Status available
Total PE 25146
Free PE 25146

PV Name /dev/dsk/c21t1d5
PV Status available
Total PE 25146
Free PE 25146


--- Physical volume groups ---
PVG Name vgemcora01
PV Name /dev/dsk/c22t1d4
PV Name /dev/dsk/c21t1d5


Everything cool so far. Now I wanted to add the alternate path....

#vgextend -g vgemcora01 /dev/vgemcora01 /dev/dsk/c21t1d4 /dev/dsk/c22t1d5

vgextend: Too many physical extents for volume group.
Cannot add physical volume to volume group.
LVM_MAXPXS: 65535

What will resolve this?
3 REPLIES 3
Kim Kendall
Regular Advisor

Re: too many physical extents

Nevermind... I think I see it.... Since I added each lun from 2 different hardware paths, I cant alternate path down the same paths...

I need to mount up both luns on the same h/w path, and use the other h/w path for both alternates.
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: too many physical extents

Kim


You may like to do like this

vgcreate /dev/vgxx

first and then add other disks by vgextend , but put primary and alternate together in pairs .


Manoj Srivastava
Jeff Schussele
Honored Contributor

Re: too many physical extents

Hi Kim,

Take care in planning when you vgcreate these VGs. You may want to manually specify max_pe (using -e -> max 65535) or pe_size (using -s -> default 4 Mb) as this can leave open possibilities (mirroring, etc) down the road that may not exist if you let the system default these.
Although it looks like from the LUN size you've created this probably won't be a problem.
But I always vgdisplay -v immediately after creating just so I know where I stand.

My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!