<?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 Can we change the Maximum number of PVs in an existing VG ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803279#M266912</link>
    <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;We are trying to extend a VG with a newly created PV. During this process the vgextend command shows and error,&lt;BR /&gt;&lt;BR /&gt;"can't extend volume group,&lt;BR /&gt;Too many links"&lt;BR /&gt;&lt;BR /&gt;It seems that the maximum number of PVs for that VG was configured as 16.&lt;BR /&gt;&lt;BR /&gt;Is it possible to increase the number of PVs allocated to the problematic VG, so that I can complete the vgextend with out issues?&lt;BR /&gt;&lt;BR /&gt;Please give a light on this scenario.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;&lt;BR /&gt;Sundar&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Jun 2006 10:12:27 GMT</pubDate>
    <dc:creator>Sundar G</dc:creator>
    <dc:date>2006-06-09T10:12:27Z</dc:date>
    <item>
      <title>Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803279#M266912</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;We are trying to extend a VG with a newly created PV. During this process the vgextend command shows and error,&lt;BR /&gt;&lt;BR /&gt;"can't extend volume group,&lt;BR /&gt;Too many links"&lt;BR /&gt;&lt;BR /&gt;It seems that the maximum number of PVs for that VG was configured as 16.&lt;BR /&gt;&lt;BR /&gt;Is it possible to increase the number of PVs allocated to the problematic VG, so that I can complete the vgextend with out issues?&lt;BR /&gt;&lt;BR /&gt;Please give a light on this scenario.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;&lt;BR /&gt;Sundar&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 10:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803279#M266912</guid>
      <dc:creator>Sundar G</dc:creator>
      <dc:date>2006-06-09T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803280#M266913</link>
      <description>Sundar,&lt;BR /&gt;&lt;BR /&gt;The answer to your question is no.  You cannot change the max PV number for a VG once it is created. you will need to recreate the vg from scratch in order to increase the number of PV's.&lt;BR /&gt;&lt;BR /&gt;That being said, I have seen mentioned a couple times in this forum an UNSUPPORTED program called vgmodify taht some HP ce's have access to.  You may want to ask your ce is he has a copy.........&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 10:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803280#M266913</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-06-09T10:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803281#M266914</link>
      <description>Thanks All, &lt;BR /&gt;&lt;BR /&gt;Actually here is the VGDISPALY output.&lt;BR /&gt;&lt;BR /&gt;[prd1]: /home/uadmin # vgdisplay /dev/vg_data&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg_data&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                      27&lt;BR /&gt;Open LV                     27&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      16&lt;BR /&gt;Act PV                      16&lt;BR /&gt;Max PE per PV               1279&lt;BR /&gt;VGDA                        32&lt;BR /&gt;PE Size (Mbytes)            8&lt;BR /&gt;Total PE                    20464&lt;BR /&gt;Alloc PE                    20217&lt;BR /&gt;Free PE                     247&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;Now I am trying to extend this VG with an already created PV. It shows me the followign error.&lt;BR /&gt;&lt;BR /&gt;[prd1]: /home/uadmin # vgextend /dev/vg_data /dev/dsk/c12t2d7&lt;BR /&gt;vgextend: Couldn't install the physical volume "/dev/dsk/c12t2d7".&lt;BR /&gt;Too many links&lt;BR /&gt;&lt;BR /&gt;I suspect that Max PV and Cur PV are same. (or) Less number of Free PE available.&lt;BR /&gt;&lt;BR /&gt;Gurus,&lt;BR /&gt;&lt;BR /&gt;can you please consider the scenario and help me?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 10:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803281#M266914</guid>
      <dc:creator>Sundar G</dc:creator>
      <dc:date>2006-06-09T10:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803282#M266915</link>
      <description>&lt;BR /&gt;Sundar,&lt;BR /&gt;&lt;BR /&gt;According to your vgdisplay the current and mx pv's are 16&lt;BR /&gt;Max PV 16&lt;BR /&gt;Cur PV 16&lt;BR /&gt;&lt;BR /&gt;This means you cannot add any more disks to the vg.</description>
      <pubDate>Fri, 09 Jun 2006 10:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803282#M266915</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-06-09T10:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803283#M266916</link>
      <description>Other than the proposed unsupported script menioned the only supported way to change the max_pv is at vgcreate time.&lt;BR /&gt;&lt;BR /&gt;If you can get some downtime you could vgcreate another volume group with all the required number of disk.  Then copy all data from the old vg to the new vg.&lt;BR /&gt;&lt;BR /&gt;A quick vgexport and vgimport would not work either as there is no option to modify the max_pv.</description>
      <pubDate>Fri, 09 Jun 2006 10:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803283#M266916</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2006-06-09T10:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803284#M266917</link>
      <description>You currently have 16 physical volumes in the group, and the group is defined as having a maximum of 16 volumes, so you *can't* add any.  &lt;BR /&gt;&lt;BR /&gt;As noted by DCE, the only way to change MAX_PV is re-create the volume group with a larger size.  Or the unsupported application.......</description>
      <pubDate>Fri, 09 Jun 2006 10:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803284#M266917</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2006-06-09T10:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803285#M266918</link>
      <description>Exactly the same problem, VG name and values here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1033809" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1033809&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Result is the same.</description>
      <pubDate>Fri, 09 Jun 2006 11:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803285#M266918</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-06-09T11:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803286#M266919</link>
      <description>How many of these PV's are alternate links?  In other words are there two fibre channels to each PV?  If you have two, one a backup, then you can remove the alternate in order to gain more links.&lt;BR /&gt;&lt;BR /&gt;I don't think you probably want to do that.  But you can verify your alternate links with vgdisplay -v vg## | more.&lt;BR /&gt;&lt;BR /&gt;Its also possible, and I would recommend this course of action to verify first in a lab machine, to use physical volume groups.&lt;BR /&gt;&lt;BR /&gt;/etc/lvmpvg&lt;BR /&gt;&lt;BR /&gt;cat | /etc/lvmpvg&lt;BR /&gt;vg01&lt;BR /&gt;pvg1&lt;BR /&gt;    c1t9d0&lt;BR /&gt;    c1t8d0&lt;BR /&gt;pvg0&lt;BR /&gt;    c0t9d0&lt;BR /&gt;    c0t8d0&lt;BR /&gt;&lt;BR /&gt;Here the alternates are in pvg0.&lt;BR /&gt;&lt;BR /&gt;# vgcreate -g pvg1 /dev/vg01 /dev/dsk/c1t9d0 /dev/dsk/c1t8d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# vgcreate -g pvg0 /dev/vg01 /dev/dsk/c0t9d0 /dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;And again your alternates are in pvg0.&lt;BR /&gt;&lt;BR /&gt;But there may be some daisy chaining to do, check with your disk array admins. since my notes indicate a non disk array scenario that would use 'redundant disk bus chains'. Also the mirror policy becomes :&lt;BR /&gt;&lt;BR /&gt;PVG-Strict&lt;BR /&gt;&lt;BR /&gt;I don't no if this will reduce your PV links, but the suggestion to me is that you'll cut it in half with lvmpvg.&lt;BR /&gt;&lt;BR /&gt;So experiment in a lab.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 11:18:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803286#M266919</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-06-09T11:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803287#M266920</link>
      <description>So that begs to question whether it is good practice to create VG's with the value of MaxPV set as the Maximum number of PV's allowed so that you do not run into this problem?  Is that possible?</description>
      <pubDate>Fri, 09 Jun 2006 11:24:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803287#M266920</guid>
      <dc:creator>Phillip Thayer</dc:creator>
      <dc:date>2006-06-09T11:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803288#M266921</link>
      <description>Phillip,&lt;BR /&gt;&lt;BR /&gt;I don't see why it would cause problems.  16 is only the default, but the value can range from 1 to 255.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803288#M266921</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2006-06-09T12:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803289#M266922</link>
      <description>Hello Phillip,&lt;BR /&gt;&lt;BR /&gt;The default is set to 16 and can be increased, however for every increase the memory occupied by the LVM structures aslo increases, hence you have to use it with some idea of how much growth will be there in the vg..&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;albert</description>
      <pubDate>Fri, 09 Jun 2006 20:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803289#M266922</guid>
      <dc:creator>Albert_31</dc:creator>
      <dc:date>2006-06-09T20:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change the Maximum number of PVs in an existing VG ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803290#M266923</link>
      <description>But, provided that it is a large memory system and the memory space is not an issue would this be a better practice to set the default PVs when a VG is created to be 255?  Then the problem mentioned in this thread would not be a problem.&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Mon, 12 Jun 2006 15:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-we-change-the-maximum-number-of-pvs-in-an-existing-vg/m-p/3803290#M266923</guid>
      <dc:creator>Phillip Thayer</dc:creator>
      <dc:date>2006-06-12T15:49:26Z</dc:date>
    </item>
  </channel>
</rss>

