Operating System - HP-UX
1833793 Members
2561 Online
110063 Solutions
New Discussion

HP-UX LVM Storage Extension

 
coke
Occasional Contributor

HP-UX LVM Storage Extension

Need to extend  filesystems from 180GB to 240GB each on HP-UX 11.31 with ServiceGuard cluster, but hitting VG physical extent limitations.

 

  • HP-UX 11.31 with ServiceGuard cluster
  • VxFS filesystems
  • LVM with 8MB PE size
  • Storage team expanded LUNs from 180GB to 240GB at SAN level

vgmodify -E -a vgname

fails with: "Max_PE_per_PV for the volume group (23039) too small for this PV (30719)"

 

Current VG settings limit expansion:

  • Max PE per PV: 23,039 (allows ~180GB per PV)
  • Required: 30,720 PEs (for 240GB per PV)
  • Max PV: 16, VG Max Extents: 368,624

 

How to increase Max PE per PV limit in HP-UX LVM without VG recreation or downtime? Standard pvresize/lvextend won't work due to VG parameter constraints.

 

 

  • ServiceGuard cluster environment

 

# vgmodify -v -r -a -E VGName
Volume Group configuration for /dev/vVGName has been saved in /etc/lvmconf/VGName.conf
/dev/rcdisk/disk226 Warning: Max_PE_per_PV for the volume group (23039) too small for this PV (30719).
Using only 23039 PEs from this physical volume.


Using only 23039 PEs from this physical volume.
"/dev/rcdisk/disk226" size is limited by the maximum extents per PV to 188743679 KB.

An update to the Volume Group is NOT required
Review complete. Volume group not modified

#

 

I fixed it by reducing max PV form 16 to 10

then attempt vgmodify again

"/dev/rcdisk/disk226" size changed from 188743680 to 251658240kb

lvextend and then fsadm

The filesystes or mounts constitute a SG package which is active on node 1 now.

failover node is node 2

how do I / do i need to make that node 2 aware of this increased disk size (or increased FS or mount size)

 

if you have any questions, need more information let me know pls