<?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 Not enough free physical extents available in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619437#M619306</link>
    <description>Hello,&lt;BR /&gt;I hope everyone can help me with the following:&lt;BR /&gt;I've created a logical volume /dev/vginpo1/lvinpo1115_16384 with the following command: lvcreate -D y -s g -n lvinpo1115_16384 vginpo1&lt;BR /&gt;Now I've tried an: lvextend -L 16384 /dev/vginpo1/lvinpo1115_16384&lt;BR /&gt;and the following error occurs:&lt;BR /&gt;&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vginpo1/lvinpo1115_16384" could not be extended.&lt;BR /&gt;Failure possibly caused by PVG-Strict or Distributed allocation policies.&lt;BR /&gt;&lt;BR /&gt;If I run a vgdisplay /dev/vginpo1 it shows the following:&lt;BR /&gt;&lt;BR /&gt;VG Name                     /dev/vginpo1&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available, exclusive&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      118&lt;BR /&gt;Open LV                     118&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      9&lt;BR /&gt;Act PV                      9&lt;BR /&gt;Max PE per PV               17501&lt;BR /&gt;VGDA                        18&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    113401&lt;BR /&gt;Alloc PE                    101560&lt;BR /&gt;Free PE                     11841&lt;BR /&gt;Total PVG                   2&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;I see the following: There are 11841 free PE's. Depend on the 4 MB PE-Size there are 47364 MB free in the volume group. Can everyone tell me why I can't increase the size of the logical volume to 16384 MB???&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Christian</description>
    <pubDate>Tue, 06 Sep 2005 07:01:36 GMT</pubDate>
    <dc:creator>Christian Marquardt_1</dc:creator>
    <dc:date>2005-09-06T07:01:36Z</dc:date>
    <item>
      <title>Not enough free physical extents available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619437#M619306</link>
      <description>Hello,&lt;BR /&gt;I hope everyone can help me with the following:&lt;BR /&gt;I've created a logical volume /dev/vginpo1/lvinpo1115_16384 with the following command: lvcreate -D y -s g -n lvinpo1115_16384 vginpo1&lt;BR /&gt;Now I've tried an: lvextend -L 16384 /dev/vginpo1/lvinpo1115_16384&lt;BR /&gt;and the following error occurs:&lt;BR /&gt;&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vginpo1/lvinpo1115_16384" could not be extended.&lt;BR /&gt;Failure possibly caused by PVG-Strict or Distributed allocation policies.&lt;BR /&gt;&lt;BR /&gt;If I run a vgdisplay /dev/vginpo1 it shows the following:&lt;BR /&gt;&lt;BR /&gt;VG Name                     /dev/vginpo1&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available, exclusive&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      118&lt;BR /&gt;Open LV                     118&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      9&lt;BR /&gt;Act PV                      9&lt;BR /&gt;Max PE per PV               17501&lt;BR /&gt;VGDA                        18&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    113401&lt;BR /&gt;Alloc PE                    101560&lt;BR /&gt;Free PE                     11841&lt;BR /&gt;Total PVG                   2&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;I see the following: There are 11841 free PE's. Depend on the 4 MB PE-Size there are 47364 MB free in the volume group. Can everyone tell me why I can't increase the size of the logical volume to 16384 MB???&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Christian</description>
      <pubDate>Tue, 06 Sep 2005 07:01:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619437#M619306</guid>
      <dc:creator>Christian Marquardt_1</dc:creator>
      <dc:date>2005-09-06T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619438#M619307</link>
      <description>Christian,&lt;BR /&gt;&lt;BR /&gt;In your lvcreate, you specified Distributed Allocation.  To quote the man page, &lt;BR /&gt;&lt;BR /&gt;"When the distributed allocation policy is turned on, only one free extent is allocated from the first available physical volume.  The next free extent is allocated from the next available physical volume.  Allocation of free extents proceeds in round-robin order on the list of available physical volumes."&lt;BR /&gt;&lt;BR /&gt;So, your answer is most likely that despite the fact you have all kinds of free PE's, they are not located where you need them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Sep 2005 07:07:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619438#M619307</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-09-06T07:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619439#M619308</link>
      <description>"vgdisplay -v" will be more helpfull</description>
      <pubDate>Tue, 06 Sep 2005 07:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619439#M619308</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-09-06T07:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619440#M619309</link>
      <description>pvdisplay -v will also be helpful to show what has already been allocated. With any distributed or striped allocation method, you'll need free extents on all the disks in the distribution range.</description>
      <pubDate>Tue, 06 Sep 2005 07:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619440#M619309</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-09-06T07:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619441#M619310</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;If you're not using PVGs, as in there is no /etc/lvmpvg, then get rid of the -D and -s flags.  If you are, get rid of the -D flag.  &lt;BR /&gt;&lt;BR /&gt;lvremove /dev/vginpo1/lvinpo1115_16384&lt;BR /&gt;lvcreate [-s g ] -n lvinpo1115_16384 vginpo1&lt;BR /&gt;lvextend -L 16384 /dev/vginpo1/lvinpo1115_16384&lt;BR /&gt;&lt;BR /&gt;I assume that you'll be mirroring the LV onto the other PVG after all this if you're using PVGs.&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, you'll have to examine your PVG set up.  Assuming an even split of disks in each PVG, you should have 47364/2 = 23682 in each PVG.  If you have more than 2 PVGs in that VG, then you're doomed.  You'll have to create the LV without the PVGs and mirror it manually.&lt;BR /&gt;&lt;BR /&gt;HTH; &lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Tue, 06 Sep 2005 07:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619441#M619310</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2005-09-06T07:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Not enough free physical extents available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619442#M619311</link>
      <description>I've found my problem. The first pvg in the vginpo1 hasn't enough free pe's for the new lvol. Creating the lvol without the "-s g" and "-D" option works fine. Now the lvextend allocates a few pe's in the "little pe"-volumegroup and take all the other pe's from the second pvg.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Christian</description>
      <pubDate>Tue, 06 Sep 2005 09:13:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-enough-free-physical-extents-available/m-p/3619442#M619311</guid>
      <dc:creator>Christian Marquardt_1</dc:creator>
      <dc:date>2005-09-06T09:13:14Z</dc:date>
    </item>
  </channel>
</rss>

