Operating System - HP-UX
1833877 Members
2436 Online
110063 Solutions
New Discussion

Re: 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

 

 

 

2 REPLIES 2
shiva_jr
HPE Pro

Re: HP-UX LVM Storage Extension

Hi @coke ,
    The Strict allocation policy might be stopping you to extend. I believe, you have to move the Physical extents using pvmove command and make the PEs available continuously.  Please refer this video.
Regards,
Shiva_jr



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
coke
Occasional Contributor

Re: HP-UX LVM Storage Extension

Thank you

I got around that by running vgmodify.. I reduced max pv parameter value from 16 to 10 amd it allowed me to expand vg

all this was done in pri node where the vg is active and cluster package is running on node1

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)