<?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: Increasing the preset max. number of Physical Volumes for a VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015412#M600968</link>
    <description>&lt;BR /&gt;&lt;BR /&gt;Yes&lt;BR /&gt;&lt;BR /&gt;When you do the copy command use -r to get the subdirectories and -p for permissions&lt;BR /&gt;&lt;BR /&gt;another way - back up the vg to tape, destroy the vg, recreate it and restore from tape&lt;BR /&gt;</description>
    <pubDate>Wed, 22 Nov 2006 13:10:38 GMT</pubDate>
    <dc:creator>DCE</dc:creator>
    <dc:date>2006-11-22T13:10:38Z</dc:date>
    <item>
      <title>Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015407#M600963</link>
      <description>&lt;!--!*#--&gt;I have a VG01 that lives on a virtual array 7100. When the Volume group was setup, it was built to contain a maximum of 16 physical volumes. There are several logical volumes that exist in VG01. I have a request from our development team to increase space on these logical volumes. &lt;BR /&gt;&lt;BR /&gt;So, i went ahead and created new LUNs on the Virtual array. Now when i hit SAM to increase the VG size and try to add those LUNs into VG01, by extending the VG01 i get the following message:&lt;BR /&gt;&lt;BR /&gt;Volume group VG01 currently contains 16 physical volumes, which is the maximum number of physical volumes it was configured to contain. The volume group cannot be extended.&lt;BR /&gt;&lt;BR /&gt;I have a lot of disks and space. But i cannot extend the VG and hence no space extension possible in the logical volumes that are in the VG01. How to get around this problem?&lt;BR /&gt;&lt;BR /&gt;Any help would be really appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Sam</description>
      <pubDate>Wed, 22 Nov 2006 12:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015407#M600963</guid>
      <dc:creator>perfman_1</dc:creator>
      <dc:date>2006-11-22T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015408#M600964</link>
      <description>Friend &lt;BR /&gt;if the VG was created to support only 16 records does not have as to add to more records you tera that to create another VG and to copy the data</description>
      <pubDate>Wed, 22 Nov 2006 12:24:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015408#M600964</guid>
      <dc:creator>Calandrello</dc:creator>
      <dc:date>2006-11-22T12:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015409#M600965</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;This cannot be modified after creation.  You will have to destroy and recreate the VG.&lt;BR /&gt;&lt;BR /&gt;That being said,  There have been references in the past on this forum about an unsupported program some  HP CE's have called pvmodify.  If you have a good relationship with your CE, you might want to ask him/her if they know about it.........</description>
      <pubDate>Wed, 22 Nov 2006 12:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015409#M600965</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-11-22T12:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015410#M600966</link>
      <description>So, if i had enough space, can i create another volume group (lets call it VG02) with more physical volumes and create the new logical volumes with new space requirement within that and then copy existing logical volumes from VG01 to the new VG02. If everything comes up ok, may be delete the VG01?&lt;BR /&gt;&lt;BR /&gt;When we copy over stuff, is the permissions get copied too? otherwise, i would think it will be a nightmare..&lt;BR /&gt;&lt;BR /&gt;Any other ideas? Thank you for responding.</description>
      <pubDate>Wed, 22 Nov 2006 12:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015410#M600966</guid>
      <dc:creator>perfman_1</dc:creator>
      <dc:date>2006-11-22T12:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015411#M600967</link>
      <description>&lt;BR /&gt;&amp;gt;&amp;gt; Any other ideas? &lt;BR /&gt;&lt;BR /&gt;Just add a VG02&lt;BR /&gt;Create a large LV in there: example: LV05_new&lt;BR /&gt;Mount on some tmp mountpoint /tmp/LV05_new&lt;BR /&gt;&lt;BR /&gt;Copy  (cp -Pr? tar! ) your largest LV from VG01 (example: LV05_old) to the new LV05_new&lt;BR /&gt;Unmount the  LV05_old&lt;BR /&gt;Unmount /tmp/LV05_new&lt;BR /&gt;Mount LV05_new on LV05_old mountpoint&lt;BR /&gt;&lt;BR /&gt;Wait a few hours or days to make sure it all works.&lt;BR /&gt;&lt;BR /&gt;Delete LV LV05_old&lt;BR /&gt;Use freeed up space in VG01 to grow other LV's there.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 13:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015411#M600967</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-11-22T13:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015412#M600968</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Yes&lt;BR /&gt;&lt;BR /&gt;When you do the copy command use -r to get the subdirectories and -p for permissions&lt;BR /&gt;&lt;BR /&gt;another way - back up the vg to tape, destroy the vg, recreate it and restore from tape&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 13:10:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015412#M600968</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-11-22T13:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015413#M600969</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;By default the max physical volumes of a volume group is 255. With the size of LUN's nowadays this is pretty ridiculous.&lt;BR /&gt;&lt;BR /&gt;If the -p physical volume parameter was used to build the group this figure could have been lowered.&lt;BR /&gt;&lt;BR /&gt;To change it you must vgexport the volume group and then re-create it with a different number in the -p parameter.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 22 Nov 2006 14:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015413#M600969</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-11-22T14:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015414#M600970</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Default Max PV for a VG is 16 and not 255.  I think its a typo by Steven. Using -p parameter u can specify large value.&lt;BR /&gt;&lt;BR /&gt;I would suggest to create VG always using -e (max PE), -s (PE size) and -p (max PV).&lt;BR /&gt;I normally create using -e 9000 -s 32 -p 64.  Using this you can add a Physical disk of size 288 GB and 64 disks.&lt;BR /&gt;As Steven mentioned these days LUNs are pretty huge. You may calculate depending on your environment or thinking of future growth.&lt;BR /&gt;&lt;BR /&gt;For current situation, suggestions were already given.  Since you have lot of space easier would be to export VG01, create new VG  with better options and import. Then add new disks to this VG. For this you will need downtime.  Use -s for vgexport and vgimport so that you may not need to specify all Physical disks while import.&lt;BR /&gt;&lt;BR /&gt;Read man pages before starting.&lt;BR /&gt;&lt;BR /&gt;~Pradeep.</description>
      <pubDate>Thu, 23 Nov 2006 00:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015414#M600970</guid>
      <dc:creator>Pradeep_29</dc:creator>
      <dc:date>2006-11-23T00:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015415#M600971</link>
      <description>We had similar situation where the MAX PV is set to default 16 which prevents further grow in space. One way to fix this is to create a new volume group like many suggest. When create new VG, please consider&lt;BR /&gt;1. MAX PV and MAX PE per PV==-s&lt;BR /&gt;2. 2TB file system size limit assuming OS is 11.X. ==-p &lt;BR /&gt;3. size of the single disk==-s&lt;BR /&gt;vgcreate -p 50 -s 128 ....for an example&lt;BR /&gt;lots planning...&lt;BR /&gt;As to data migration, cpio will fail if your have a single file larger than 2GB...cp is too slow if you have over a couple of hundred GB...best bet is backing them up followed by a full restore. You can check if everything is OK on new vg against the old vg..play safe...</description>
      <pubDate>Thu, 30 Nov 2006 13:03:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015415#M600971</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2006-11-30T13:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015416#M600972</link>
      <description>May I just note that vgexport/vgimport will not work since vgimport will recreate the VG on the system with exactly the same options and limitations as it were before.&lt;BR /&gt;&lt;BR /&gt;Only solution is to backup/restore or copy.&lt;BR /&gt;&lt;BR /&gt;tar or fbackup/frecover is the best for preserving file permissions, access times,etc..&lt;BR /&gt;&lt;BR /&gt;a tar copy on the fly could be as follows&lt;BR /&gt;&lt;BR /&gt;mount the new LV as /newlv for example and your old filesystem as /oldlv&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;tar cvf - /oldlv|tar -C /newlv -xf -&lt;BR /&gt;&lt;BR /&gt;but ofcourse, cp is the fastest way to get it done.</description>
      <pubDate>Tue, 05 Dec 2006 00:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015416#M600972</guid>
      <dc:creator>Wessam Aly</dc:creator>
      <dc:date>2006-12-05T00:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing the preset max. number of Physical Volumes for a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015417#M600973</link>
      <description>have found a solution to this question</description>
      <pubDate>Tue, 18 Sep 2007 00:42:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increasing-the-preset-max-number-of-physical-volumes-for-a-vg/m-p/5015417#M600973</guid>
      <dc:creator>perfman_1</dc:creator>
      <dc:date>2007-09-18T00:42:16Z</dc:date>
    </item>
  </channel>
</rss>

