<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Not enough free physical extents in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796866#M392201</link>
    <description>HI itrc,&lt;BR /&gt;&lt;BR /&gt;You have left out the volume group name in your syntax.&lt;BR /&gt;&lt;BR /&gt;Random example...&lt;BR /&gt;&lt;BR /&gt;vgmodify -p 15 -l 253 -e 65543 vg01 ....&lt;BR /&gt;&lt;BR /&gt;For the new versions of LVM , the subsystem itself has it's own view of optimizing the LVM attributes for which you see options like -o.&lt;BR /&gt;&lt;BR /&gt;Also the -t option is useful and gives the required parameters in a readable friendly table format.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ismail Azad</description>
    <pubDate>Wed, 08 Jun 2011 19:36:36 GMT</pubDate>
    <dc:creator>Ismail Azad</dc:creator>
    <dc:date>2011-06-08T19:36:36Z</dc:date>
    <item>
      <title>Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796858#M392193</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i trying to extend the logical volume but i facing this error&lt;BR /&gt;&lt;BR /&gt;"lvextend: Not enough free physical extents "&lt;BR /&gt;&lt;BR /&gt;i change the lvol policy to not strict how i can solving this issue.&lt;BR /&gt;&lt;BR /&gt;sdh014 #lvextend -L 153600M /dev/appsvg/lv_cmpt-elink&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/appsvg/lv_cmpt-elink" could not be extended.&lt;BR /&gt;sdh014 #&lt;BR /&gt;sdh014 #&lt;BR /&gt;sdh014 #&lt;BR /&gt;sdh014 #&lt;BR /&gt;sdh014 #vgdisplay appsvg&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/appsvg&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      2047   &lt;BR /&gt;Cur LV                      8      &lt;BR /&gt;Open LV                     8      &lt;BR /&gt;Cur Snapshot LV             0              &lt;BR /&gt;Max PV                      2048   &lt;BR /&gt;Cur PV                      6      &lt;BR /&gt;Act PV                      6      &lt;BR /&gt;Max PE per PV               163840         &lt;BR /&gt;VGDA                        12  &lt;BR /&gt;PE Size (Mbytes)            64              &lt;BR /&gt;Unshare unit size (Kbytes)  1024                      &lt;BR /&gt;Total PE                    7194           &lt;BR /&gt;Alloc PE                    5584           &lt;BR /&gt;Current pre-allocated PE    0                       &lt;BR /&gt;Free PE                     1610           &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0                     &lt;BR /&gt;VG Version                  2.2       &lt;BR /&gt;VG Max Size                 10t        &lt;BR /&gt;VG Max Extents              163840         &lt;BR /&gt;Cur Snapshot Capacity       0p                   &lt;BR /&gt;Max Snapshot Capacity       10t                  &lt;BR /&gt;&lt;BR /&gt;sdh014 #lvdisplay  /dev/appsvg/lv_cmpt-elink&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/appsvg/lv_cmpt-elink&lt;BR /&gt;VG Name                     /dev/appsvg&lt;BR /&gt;LV Permission               read/write                &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel      &lt;BR /&gt;LV Size (Mbytes)            10240           &lt;BR /&gt;Current LE                  160            &lt;BR /&gt;Allocated PE                160            &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   NONE         &lt;BR /&gt;Allocation                  non-strict                &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;Number of Snapshots         0                &lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 08 Jun 2011 13:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796858#M392193</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-06-08T13:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796859#M392194</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;my OS is 11.31 when i trying to use the vgmodify command with any option i see this message &lt;BR /&gt;&lt;BR /&gt;sdh014 #vgmodify -v -r appsvg&lt;BR /&gt;Usage:&lt;BR /&gt; For deactivated version 1.0 volume groups,&lt;BR /&gt;  vgmodify &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-n] &lt;BR /&gt;        [-r] &lt;BR /&gt;        [-e MaxPhysicalExtents] &lt;BR /&gt;        [-p MaxPhysicalVolumes]  &lt;BR /&gt;        [-l MaxLogicalVolumes] &lt;BR /&gt;        VolumeGroupName&lt;BR /&gt;&lt;BR /&gt;  vgmodify -B bootable &lt;BR /&gt;        [-n] &lt;BR /&gt;        [-r] &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-e MaxPhysicalExtents]  &lt;BR /&gt;        [-p MaxPhysicalVolumes] &lt;BR /&gt;        [-l MaxLogicalVolumes] &lt;BR /&gt;        VolumeGroupName pv_path...&lt;BR /&gt;&lt;BR /&gt; vgmodify -o &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName&lt;BR /&gt;&lt;BR /&gt; vgmodify -o -B bootable &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName pv_path...&lt;BR /&gt;&lt;BR /&gt; vgmodify -C DLC_Size &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName pv_path&lt;BR /&gt;&lt;BR /&gt;For activated version 1.0 volume groups,&lt;BR /&gt;  vgmodify -a &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-n] &lt;BR /&gt;        [-r] &lt;BR /&gt;        [-e MaxPhysicalExtents] &lt;BR /&gt;        [-p MaxPhysicalVolumes]  &lt;BR /&gt;        [-l MaxLogicalVolumes] &lt;BR /&gt;        VolumeGroupName&lt;BR /&gt;&lt;BR /&gt;  vgmodify -a -B bootable &lt;BR /&gt;        [-n] &lt;BR /&gt;        [-r] &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-e MaxPhysicalExtents]  &lt;BR /&gt;        [-p MaxPhysicalVolumes] &lt;BR /&gt;        [-l MaxLogicalVolumes] &lt;BR /&gt;        VolumeGroupName pv_path...&lt;BR /&gt;&lt;BR /&gt; vgmodify -a -o &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName &lt;BR /&gt;&lt;BR /&gt; vgmodify -a -o -B bootable &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName pv_path...&lt;BR /&gt;&lt;BR /&gt; vgmodify -a -E &lt;BR /&gt;        [-o] &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName [pv_path...]&lt;BR /&gt;&lt;BR /&gt; vgmodify -a -E &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-r] &lt;BR /&gt;        [-e MaxPhysicalExtents] &lt;BR /&gt;        [-p MaxPhysicalVolumes]  &lt;BR /&gt;        [-l MaxLogicalVolumes] &lt;BR /&gt;        VolumeGroupName [pv_path...]&lt;BR /&gt;&lt;BR /&gt; vgmodify -a -C DLC_Size &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName pv_path&lt;BR /&gt;&lt;BR /&gt;To recover a physical volume from a previous online or offline vgmodify failure,&lt;BR /&gt; vgmodify -R conf_file VolumeGroupName pv_path ... &lt;BR /&gt;&lt;BR /&gt;To display a table of optimized possible volume group settings for an activated or deactivated version 1.0 volume group,&lt;BR /&gt; vgmodify -t &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-n] &lt;BR /&gt;        VolumeGroupName&lt;BR /&gt;&lt;BR /&gt; vgmodify -t -B bootable &lt;BR /&gt;        [-v] &lt;BR /&gt;        [-n] &lt;BR /&gt;        VolumeGroupName pv_path...&lt;BR /&gt;&lt;BR /&gt;For activated volume groups version 2.0 and higher,&lt;BR /&gt;  vgmodify -a -E &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName [pv_path ...]&lt;BR /&gt;  vgmodify -a -C DLC_Size &lt;BR /&gt;        [-r] &lt;BR /&gt;        VolumeGroupName pv_path&lt;BR /&gt; vgmodify -a &lt;BR /&gt;        [-E] &lt;BR /&gt;        -S Max_VG_Size [-r] VolumeGroupName&lt;BR /&gt;"v": Illegal option.&lt;BR /&gt;&lt;BR /&gt;How to i can use this command. and please don't forget answers for first questions.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 08 Jun 2011 13:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796859#M392194</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-06-08T13:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796860#M392195</link>
      <description>Seems pretty obvious to me...&lt;BR /&gt;&lt;BR /&gt;You have a LV currently assigned with 160 physical extents&lt;BR /&gt;&lt;BR /&gt;You want the new size of the LV to be 153600MB which is 153600 / 64 = 2400 physical extents.&lt;BR /&gt;&lt;BR /&gt;So you want to grow the LV by 2400 -160 = 2240 physical extents.&lt;BR /&gt;&lt;BR /&gt;But you only have 1610 free physical extents in the VG.&lt;BR /&gt;&lt;BR /&gt;So you are trying to grow your LV to a size larger than the free space in the VG.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 08 Jun 2011 14:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796860#M392195</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2011-06-08T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796861#M392196</link>
      <description>You want to extend the LV to size 153600M. As the extent size 64M, the LV should be extended to 153600M / 64M = 2400 extents.&lt;BR /&gt;&lt;BR /&gt;As there are no mirror copies, 1 logical extent = 1 physical extent.&lt;BR /&gt;&lt;BR /&gt;The LV currently occupies 160 extents. So you'll need 2400 - 160 = 2240 free extents to successfully extend the LV.&lt;BR /&gt;&lt;BR /&gt;Your disk currently has only 1610 free extents, which is not enough. Changing the allocation policy won't help you here: you'll need to add one or more new PVs to this VG.&lt;BR /&gt;&lt;BR /&gt;The "vgmodify" command won't help either: there is simply not enough space in the VG currently to successfully extend to the size you're planning.&lt;BR /&gt;&lt;BR /&gt;Your VG currently has a total of 7194 extents on 6 different PVs. If all the PVs are the same size, your current PVs all have 1199 extents apiece, or 1199 * 64 M = 76736M per PV.&lt;BR /&gt;&lt;BR /&gt;If your new PVs are the same size as your current ones, one more PV will be sufficient. Since MaxPV is 2048, you can add this PV (and many more, if you want!) without using vgmodify. &lt;BR /&gt;&lt;BR /&gt;If you have SAN storage or hot-pluggable local disk slots, plug in a new disk, then run "ioscan -fnCdisk" (or "ioscan -fnNCdisk" in HP-UX 11.31) to see the new disk, then run "insf" to create the device nodes for it.&lt;BR /&gt;&lt;BR /&gt;After the new disk is visible to the system, you can run "pvcreate" on it to make the disk usable for LVM, then "vgextend" to attach it to the appsvg volume group. This will increase the "Total PE" and "Free PE" values in the "vgdisplay appsvg" listing, according to the size of the new PV.&lt;BR /&gt;&lt;BR /&gt;Once the "Free PE" value is 2240 or larger, you can use the "lvextend -L 153600M /dev/appsvg/lv_cmpt-elink" you originally planned.&lt;BR /&gt;&lt;BR /&gt;Without adding any new PVs to the volume group, you can only extend your LV to 1610 + 160 = 1770 extents, or 1770 * 64M = 113280M in size, i.e.&lt;BR /&gt;&lt;BR /&gt;lvextend -L 113280 /dev/appsvg/lv_cmpt-elink&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 08 Jun 2011 14:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796861#M392196</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-06-08T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796862#M392197</link>
      <description>Hi,&lt;BR /&gt;for the first question:&lt;BR /&gt;&lt;BR /&gt;in your VG you have only 1610*64=103040MB free.&lt;BR /&gt;&lt;BR /&gt;Your LV now has 10240MB.&lt;BR /&gt;You want to increase the LV size to 153600MB, which is impossible.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796862#M392197</guid>
      <dc:creator>g3jza</dc:creator>
      <dc:date>2011-06-08T14:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796863#M392198</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your support, but What about the second question.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 08 Jun 2011 16:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796863#M392198</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-06-08T16:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796864#M392199</link>
      <description>what are you trying to achieve with the vgmodify command?</description>
      <pubDate>Wed, 08 Jun 2011 16:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796864#M392199</guid>
      <dc:creator>g3jza</dc:creator>
      <dc:date>2011-06-08T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796865#M392200</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what are you trying to achieve with the vgmodify command?&lt;BR /&gt;&lt;BR /&gt;Nothing now but Maybe I need it in the future.&lt;BR /&gt;&lt;BR /&gt;how i can using this command ???&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 08 Jun 2011 19:22:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796865#M392200</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-06-08T19:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796866#M392201</link>
      <description>HI itrc,&lt;BR /&gt;&lt;BR /&gt;You have left out the volume group name in your syntax.&lt;BR /&gt;&lt;BR /&gt;Random example...&lt;BR /&gt;&lt;BR /&gt;vgmodify -p 15 -l 253 -e 65543 vg01 ....&lt;BR /&gt;&lt;BR /&gt;For the new versions of LVM , the subsystem itself has it's own view of optimizing the LVM attributes for which you see options like -o.&lt;BR /&gt;&lt;BR /&gt;Also the -t option is useful and gives the required parameters in a readable friendly table format.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ismail Azad</description>
      <pubDate>Wed, 08 Jun 2011 19:36:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796866#M392201</guid>
      <dc:creator>Ismail Azad</dc:creator>
      <dc:date>2011-06-08T19:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796867#M392202</link>
      <description>&lt;P&gt;There's a whole technical paper on vgmodify here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf" target="_blank" rel="noopener"&gt;http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 13:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796867#M392202</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2021-05-18T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796868#M392203</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;But still I don't understand how to use vgmodify on 11.31.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jun 2011 12:43:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796868#M392203</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2011-06-09T12:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796869#M392204</link>
      <description>&lt;P&gt;&amp;gt; trying to use the vgmodify command with any option i see this message&lt;BR /&gt;&lt;BR /&gt;&amp;gt;sdh014 #vgmodify -v -r appsvg&lt;BR /&gt;&amp;gt;Usage:&lt;BR /&gt;&lt;BR /&gt;In other words, vgmodify is trying to tell you that you used a wrong combination of options.&lt;BR /&gt;&lt;BR /&gt;The "Usage:" list is grouped according to various use cases. Each use case has some mandatory options, and some optional options. The optional options are within [brackets].&lt;BR /&gt;&lt;BR /&gt;The very first use case is:&lt;BR /&gt;&amp;gt;For deactivated version 1.0 volume groups,&lt;BR /&gt;&amp;gt;vgmodify&lt;BR /&gt;&amp;gt;[-v]&lt;BR /&gt;&amp;gt;[-n]&lt;BR /&gt;&amp;gt;[-r]&lt;BR /&gt;&amp;gt;[-e MaxPhysicalExtents]&lt;BR /&gt;&amp;gt;[-p MaxPhysicalVolumes]&lt;BR /&gt;&amp;gt;[-l MaxLogicalVolumes]&lt;BR /&gt;&amp;gt;VolumeGroupName&lt;BR /&gt;&amp;gt;[...]&lt;BR /&gt;&lt;BR /&gt;This matches the command line you entered. From your question in the original post, it is obvious that the "appsvg" volume group exists.&lt;BR /&gt;&lt;BR /&gt;Note that the use case is for _deactivated_ volume groups of _version 1.0_.&lt;BR /&gt;&lt;BR /&gt;First, since you did not say anything about running "vgchange -a n appsvg" your "appsvg" VG is probably still active, i.e. it is _not_ deactivated.&lt;BR /&gt;&lt;BR /&gt;Second, the "vgdisplay appsvg" output in your original post indicates:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;VG Version 2.2&lt;BR /&gt;&lt;BR /&gt;... so this is _not_ a version 1.0 volume group.&lt;BR /&gt;&lt;BR /&gt;That's two reasons why your command did not work!&lt;BR /&gt;&lt;BR /&gt;For a version 2.2 volume groups, the only applicable use cases are here:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;For activated volume groups version 2.0 and higher,&lt;BR /&gt;&amp;gt;vgmodify -a -E&lt;BR /&gt;&amp;gt;[-r]&lt;BR /&gt;&amp;gt;VolumeGroupName [pv_path ...]&lt;BR /&gt;&lt;BR /&gt;&amp;gt;vgmodify -a -C DLC_Size&lt;BR /&gt;&amp;gt;[-r]&lt;BR /&gt;&amp;gt;VolumeGroupName pv_path&lt;BR /&gt;&lt;BR /&gt;&amp;gt;vgmodify -a&lt;BR /&gt;&amp;gt;[-E]&lt;BR /&gt;&amp;gt;-S Max_VG_Size [-r] VolumeGroupName&lt;BR /&gt;&lt;BR /&gt;In other words, to manipulate version 2.0 or higher volume groups at all, the VG must be activated.&lt;BR /&gt;&lt;BR /&gt;Also, there is no -v option for version 2.0 or higher volume groups. (A third version why your command did not work!)&lt;BR /&gt;&lt;BR /&gt;Looking at all the use cases together, the '-a' option is mandatory every time you use vgmodify to manipulate an activated VG.&lt;BR /&gt;&lt;BR /&gt;According to the technical paper linked by Duncan, the options -E and -C are associated with changing the size of already-presented storage LUNs.&lt;BR /&gt;&lt;BR /&gt;So, if your storage administrator expands an existing appsvg LUN instead of giving you an extra LUN for extending your appsvg volume group, you'll need "vgmodify -a -E appsvg" to make LVM see the added space.&lt;BR /&gt;&lt;BR /&gt;Alternatively, if you need to shrink an existing LUN, you must first arrange for enough free space on the PV you wish to shrink (by reducing filesystems or using pvmove to move allocated extents elsewhere), then you can use "vgmodify -a -C appsvg /dev/disk/diskXX" to tell the LVM that the LUN that contains the diskXX PV is about to shrink, and only _after that_ you can tell your storage admin to shrink the LUN.&lt;BR /&gt;&lt;BR /&gt;If the VG maximum size limit (for appsvg, the vgdisplay command in the original post says "VG Max Size 10t") turns out to be too small, then you can use "vgmodify -a -S appsvg" to change it. Your current VG size is 7194 extents * 64 MB/extent = about 460 GB. That is a lot less than the current max size of 10 Terabytes, so you can expand this VG a lot without hitting the maximum size limit.&lt;BR /&gt;&lt;BR /&gt;If you add the "-r" option to any of the above-mentioned command lines, then vgmodify won't actually do the operation: it will only display what the results would be.&lt;BR /&gt;&lt;BR /&gt;The version of vgmodify on your system seems to be more capable than the one on my 11.31 test system: your 11.31 system is apparently newer (or more up-to-date with patches) than my test system currently is.&lt;BR /&gt;&lt;BR /&gt;You should use "man vgmodify": this command will display documentation that has been proofread by HP and should be in sync with the version of vgmodify you actually have.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 09:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents/m-p/4796869#M392204</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2021-06-18T09:15:45Z</dc:date>
    </item>
  </channel>
</rss>

