<?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: LVEXTEND -&amp;gt; &amp;quot;LogicalExtentsNumber&amp;quot;: Must be a value between 1 and 65535. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944856#M617147</link>
    <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;No, there is no kernel parameter that governs this.  If you want to expand this particular logical volume, you will have to recreate the owning *volume group* and specify a larger physical extent size ('-s pe_size').  In that fashion, the number of extents times the pe_size will vive you the ability to define a larger logical vlume than your current constraints allow.&lt;BR /&gt;&lt;BR /&gt;Your other choice would be if you already have another volume group with an adequate pe_size.  You could then copy the filesystem data from your old logical volume into a new one.&lt;BR /&gt;&lt;BR /&gt;If/when you do create a new volume group, plan its geometry carefully by choosing values of 'max_pe', 'pe_size', and 'max_pv' that accomodate adequate growth.  Once set at creation time they cannot be altered.  See the man pages for 'vgcreate' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 06 Dec 2005 12:35:06 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-12-06T12:35:06Z</dc:date>
    <item>
      <title>LVEXTEND -&gt; "LogicalExtentsNumber": Must be a value between 1 and 65535.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944852#M617143</link>
      <description>The following command &lt;BR /&gt;  lvextend -l 85480 /dev/vg06/lvol1&lt;BR /&gt;&lt;BR /&gt;Generates the error:&lt;BR /&gt;&lt;BR /&gt;"LogicalExtentsNumber": Must be a value between 1 and 65535.&lt;BR /&gt;&lt;BR /&gt;The number of PE's is 85480 for all disks combined.  With a MAX PE of 8549 per disk.&lt;BR /&gt;&lt;BR /&gt;So 85480 is indeed exceeding 65535.  Is there a kernel parameter to allow the number of PE's for the VG to exceed 65535?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's the definition of my VG.  All I want to do is extend it to use all the remaining free space:&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg06&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg06&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      1&lt;BR /&gt;Open LV                     1&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      10&lt;BR /&gt;Act PV                      10&lt;BR /&gt;Max PE per PV               8549&lt;BR /&gt;VGDA                        20&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    85480&lt;BR /&gt;Alloc PE                    38393&lt;BR /&gt;Free PE                     47087&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;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg06/lvol1&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            153572&lt;BR /&gt;   Current LE                  38393&lt;BR /&gt;   Allocated PE                38393&lt;BR /&gt;   Used PV                     5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c8t3d2&lt;BR /&gt;   PV Name                     /dev/dsk/c9t3d2  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c9t3d3&lt;BR /&gt;   PV Name                     /dev/dsk/c8t3d3  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t3d4&lt;BR /&gt;   PV Name                     /dev/dsk/c9t3d4  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c9t3d5&lt;BR /&gt;   PV Name                     /dev/dsk/c8t3d5  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t3d6&lt;BR /&gt;   PV Name                     /dev/dsk/c9t3d6  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     4347&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c9t3d7&lt;BR /&gt;   PV Name                     /dev/dsk/c8t3d7  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     8548&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t4d0&lt;BR /&gt;   PV Name                     /dev/dsk/c9t4d0  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     8548&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c9t4d1&lt;BR /&gt;   PV Name                     /dev/dsk/c8t4d1  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     8548&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t4d2&lt;BR /&gt;   PV Name                     /dev/dsk/c9t4d2  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     8548&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c9t4d3&lt;BR /&gt;   PV Name                     /dev/dsk/c8t4d3  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    8548&lt;BR /&gt;   Free PE                     8548&lt;BR /&gt;   Autoswitch                  On</description>
      <pubDate>Tue, 06 Dec 2005 12:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944852#M617143</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-12-06T12:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND -&gt; "LogicalExtentsNumber": Must be a value between 1 and 65535.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944853#M617144</link>
      <description>No, the value is stored in an unsigned short so 64K is the limit. These are the kinds of things that you must plan for when you layout a VG. Not only the maximum number of PE's per PVOL but also the maximum size of a given LVOL so that PE_SIZE x 64K &amp;lt;= biggest_LVOL_I_will_need.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 12:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944853#M617144</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-12-06T12:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND -&gt; "LogicalExtentsNumber": Must be a value between 1 and 65535.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944854#M617145</link>
      <description>The 65535 PE count cannot be increased.  It is a hard coded part of LVM.  The only way to utilize all of the disk space is to increase your PE size to 8 or 16, then the number of extents will be below 65535&lt;BR /&gt;&lt;BR /&gt;Unfortunately, in order to change the PE size you need to recreate the volume group.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 12:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944854#M617145</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2005-12-06T12:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND -&gt; "LogicalExtentsNumber": Must be a value between 1 and 65535.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944855#M617146</link>
      <description>Have a look at the man page for lvextend, particularly the section for the -l operand.  It states the implementation limit is 65535, as others have said.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 06 Dec 2005 12:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944855#M617146</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-12-06T12:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND -&gt; "LogicalExtentsNumber": Must be a value between 1 and 65535.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944856#M617147</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;No, there is no kernel parameter that governs this.  If you want to expand this particular logical volume, you will have to recreate the owning *volume group* and specify a larger physical extent size ('-s pe_size').  In that fashion, the number of extents times the pe_size will vive you the ability to define a larger logical vlume than your current constraints allow.&lt;BR /&gt;&lt;BR /&gt;Your other choice would be if you already have another volume group with an adequate pe_size.  You could then copy the filesystem data from your old logical volume into a new one.&lt;BR /&gt;&lt;BR /&gt;If/when you do create a new volume group, plan its geometry carefully by choosing values of 'max_pe', 'pe_size', and 'max_pv' that accomodate adequate growth.  Once set at creation time they cannot be altered.  See the man pages for 'vgcreate' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 06 Dec 2005 12:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944856#M617147</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-06T12:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND -&gt; "LogicalExtentsNumber": Must be a value between 1 and 65535.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944857#M617148</link>
      <description>What's interesting is:&lt;BR /&gt;&lt;BR /&gt;This disk layout was designed by HP.  Tsk Tsk.&lt;BR /&gt;&lt;BR /&gt;I'll just have to recreate the VG with a larger PE size. (vgcreate -s 16 maybe)&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies...points coming.</description>
      <pubDate>Tue, 06 Dec 2005 12:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944857#M617148</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-12-06T12:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND -&gt; "LogicalExtentsNumber": Must be a value between 1 and 65535.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944858#M617149</link>
      <description>The good news is the VG is still empty so it's not an issue to recreate.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Tue, 06 Dec 2005 12:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-gt-quot-logicalextentsnumber-quot-must-be-a-value/m-p/4944858#M617149</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2005-12-06T12:44:27Z</dc:date>
    </item>
  </channel>
</rss>

