<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243550#M550933</link>
    <description>Thanx Matti..Thats what exactly i needed..</description>
    <pubDate>Mon, 14 Jun 2010 05:14:11 GMT</pubDate>
    <dc:creator>kunjuttan</dc:creator>
    <dc:date>2010-06-14T05:14:11Z</dc:date>
    <item>
      <title>LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243542#M550925</link>
      <description>Hi Gurus,&lt;BR /&gt;  I am getting the following error while I am trying to extend my Filesystem.My OS is HP-UX11.23..pls suggest&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jun 2010 03:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243542#M550925</guid>
      <dc:creator>kunjuttan</dc:creator>
      <dc:date>2010-06-14T03:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243543#M550926</link>
      <description>The vgextend already shows an error, hence you don't have enough space for the lvextend.&lt;BR /&gt;&lt;BR /&gt;Consider to adjust with "vgmodify" first.</description>
      <pubDate>Mon, 14 Jun 2010 04:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243543#M550926</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-06-14T04:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243544#M550927</link>
      <description>but why it is coming.is it due to PE size issue.And how to use vgmodify??</description>
      <pubDate>Mon, 14 Jun 2010 04:03:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243544#M550927</guid>
      <dc:creator>kunjuttan</dc:creator>
      <dc:date>2010-06-14T04:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243545#M550928</link>
      <description>Max_PE per PV is set to 3199, this means you can have disk up to 51GB. Larger space will not be used.&lt;BR /&gt;&lt;BR /&gt;Your VG has now 51GB free, so you cannot extend to larger space.&lt;BR /&gt;&lt;BR /&gt;Consider to use vgmodify and increase MAX_PE.</description>
      <pubDate>Mon, 14 Jun 2010 04:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243545#M550928</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-06-14T04:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243546#M550929</link>
      <description>Can you able to give me the steps and comands to do vgmodify.Is the data will be safe.??</description>
      <pubDate>Mon, 14 Jun 2010 04:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243546#M550929</guid>
      <dc:creator>kunjuttan</dc:creator>
      <dc:date>2010-06-14T04:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243547#M550930</link>
      <description>Check out the link&lt;BR /&gt;&lt;BR /&gt;Which version of HPUX?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf&lt;/A&gt; (BSC link updated by admin)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/vgmodify.1M.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/vgmodify.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jun 2010 04:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243547#M550930</guid>
      <dc:creator>Raj Briden</dc:creator>
      <dc:date>2010-06-14T04:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243548#M550931</link>
      <description>HP-UX11.23</description>
      <pubDate>Mon, 14 Jun 2010 04:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243548#M550931</guid>
      <dc:creator>kunjuttan</dc:creator>
      <dc:date>2010-06-14T04:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243549#M550932</link>
      <description>Your vgdisplay indicates vgsapdata1 has 3199 free extents and the physical extent size is 16 MB. Apparently you've just added a new LUN to it.&lt;BR /&gt;&lt;BR /&gt;So the available capacity is 3199 * 16 MB = 51184 MB.&lt;BR /&gt;&lt;BR /&gt;The total capacity of this VG is 8445 * 16 MB = 135120 MB.&lt;BR /&gt;&lt;BR /&gt;The existing /dev/vgsapdata1/lvsapdata1 seems to be the *only* LV in this VG, and you're trying to extend it.&lt;BR /&gt;But it's impossible to extend it to 153400 MB: it simply does not fit onto the current PVs.&lt;BR /&gt;&lt;BR /&gt;The root cause is visible in the earlier output:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; vgextend: Warning: Max_PE_per_PV for the volume group (3199) is too small for this PV (4351).&lt;BR /&gt;&amp;gt; Using only 3199 PEs from this physical volume.&lt;BR /&gt;&lt;BR /&gt;In other words, when the vgsapdata1 volume group was created, the "Max PE per PV" value was set to 3199. Either it was explicitly set with the -e option of the vgcreate command, or the size of the largest LUN used at VG creation time was exactly 3199 extents = 51184 MB. This limits the usable size of all new LUNs added to this VG to 51184 MB per LUN, even if the LUN is actually bigger than that.&lt;BR /&gt;&lt;BR /&gt;If your VG had originally been created with Max PE per PV set to 4351 or greater, your commands would have been successful. Your new LUN would have given you 4351 new free extents, and the total capacity of this VG would have been (8445 - 3199 + 4351) * 16 MB = 153552 MB.&lt;BR /&gt;&lt;BR /&gt;To fix this problem, you'll need either to remove the new LUN and request two or more new, smaller LUNs (each sized 51184 MB or less), or some application downtime to fix the VG configuration.&lt;BR /&gt;&lt;BR /&gt;There are basically two ways to fix the VG to allow the addition of larger LUNs:&lt;BR /&gt;&lt;BR /&gt;1.) &lt;BR /&gt;The old method: create an entirely new VG, copy the data to it, then remove the old one. (You can then rename the new VG back to the old name by doing a vgexport + vgimport.)&lt;BR /&gt;&lt;BR /&gt;If you do this, you should choose the "Max PE per PV" and "PE size" values so that they won't restrict you from expanding the VG in the future.&lt;BR /&gt;&lt;BR /&gt;The maximum size of a PV in LVM 1.0 (= the only available LVM version until HP-UX 11.31) is 2 TB. If you want to make a VG that is prepared to accept LUNs of up to 2 TB in the future, then you might want to push the PE size to 256 M and Max PE per PV to 8192, i.e. "vgcreate -s 256 -e 8192 ..."&lt;BR /&gt;&lt;BR /&gt;If the PE size of 256 M is too granular for you, "vgcreate -s 128 -e 16384 ..." or "vgcreate -s 64 -e 32768 ..." would be acceptable alternatives. But if you are planning to use the entire VG for a single LV, there is no reason not to push the PE size as high as it can go.&lt;BR /&gt;&lt;BR /&gt;2.) &lt;BR /&gt;If you have the appropriate LVM patches installed (PHCO_38717 or the newer PHCO_40920), you can use the vgmodify command to adjust your existing VG to accept larger LUNs. Unfortunately, in HP-UX 11.23 you cannot do it on-line: you must deactivate the VG to use vgmodify. &lt;BR /&gt;&lt;BR /&gt;Please see:&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf&lt;/A&gt; (BSC link updated by admin)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpuxtips.es/?q=node/179" target="_blank"&gt;http://www.hpuxtips.es/?q=node/179&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 14 Jun 2010 05:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243549#M550932</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-06-14T05:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243550#M550933</link>
      <description>Thanx Matti..Thats what exactly i needed..</description>
      <pubDate>Mon, 14 Jun 2010 05:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243550#M550933</guid>
      <dc:creator>kunjuttan</dc:creator>
      <dc:date>2010-06-14T05:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: LVEXTEND</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243551#M550934</link>
      <description>That was excatly you wanted and you have assigned 5 points to him... Thats sad.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sooraj</description>
      <pubDate>Mon, 14 Jun 2010 05:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/5243551#M550934</guid>
      <dc:creator>SoorajCleris</dc:creator>
      <dc:date>2010-06-14T05:49:15Z</dc:date>
    </item>
  </channel>
</rss>

