<?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 Extending a distributed LV in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104530#M631561</link>
    <description>&lt;BR /&gt;  I have a Volume group with two PVS. The VG has only one LV. The LV is distributed across the two PVS. Note the LVs are not mirrored.&lt;BR /&gt;&lt;BR /&gt;    LE    PV1                PE1          &lt;BR /&gt;   00000 /dev/dsk/c14t5d4   00000  &lt;BR /&gt;   00001 /dev/dsk/c17t5d5   00000   &lt;BR /&gt;   00002 /dev/dsk/c14t5d4   00001   &lt;BR /&gt;   00003 /dev/dsk/c17t5d5   00001   &lt;BR /&gt;   00004 /dev/dsk/c14t5d4   00002   &lt;BR /&gt;   00005 /dev/dsk/c17t5d5   00002   &lt;BR /&gt;   00006 /dev/dsk/c14t5d4   00003   &lt;BR /&gt;   ....................&lt;BR /&gt;&lt;BR /&gt;   I have a requirement to add 4 PVS to the VG. The PVs are going to be the same size as the current one in the VG.&lt;BR /&gt;&lt;BR /&gt;   Now the question is if I use lvextend command, will the new extends will be distributed across the new PVS or how the structure will be.&lt;BR /&gt;&lt;BR /&gt;   Appreciate any inputs.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Sundar</description>
    <pubDate>Tue, 28 Oct 2003 13:25:48 GMT</pubDate>
    <dc:creator>Sundar_7</dc:creator>
    <dc:date>2003-10-28T13:25:48Z</dc:date>
    <item>
      <title>Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104530#M631561</link>
      <description>&lt;BR /&gt;  I have a Volume group with two PVS. The VG has only one LV. The LV is distributed across the two PVS. Note the LVs are not mirrored.&lt;BR /&gt;&lt;BR /&gt;    LE    PV1                PE1          &lt;BR /&gt;   00000 /dev/dsk/c14t5d4   00000  &lt;BR /&gt;   00001 /dev/dsk/c17t5d5   00000   &lt;BR /&gt;   00002 /dev/dsk/c14t5d4   00001   &lt;BR /&gt;   00003 /dev/dsk/c17t5d5   00001   &lt;BR /&gt;   00004 /dev/dsk/c14t5d4   00002   &lt;BR /&gt;   00005 /dev/dsk/c17t5d5   00002   &lt;BR /&gt;   00006 /dev/dsk/c14t5d4   00003   &lt;BR /&gt;   ....................&lt;BR /&gt;&lt;BR /&gt;   I have a requirement to add 4 PVS to the VG. The PVs are going to be the same size as the current one in the VG.&lt;BR /&gt;&lt;BR /&gt;   Now the question is if I use lvextend command, will the new extends will be distributed across the new PVS or how the structure will be.&lt;BR /&gt;&lt;BR /&gt;   Appreciate any inputs.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Sundar</description>
      <pubDate>Tue, 28 Oct 2003 13:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104530#M631561</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-10-28T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104531#M631562</link>
      <description>Sundar,&lt;BR /&gt;&lt;BR /&gt;I think this quote from the man page of lvextend answers your question:&lt;BR /&gt;&lt;BR /&gt;"LVM always ensures that physical extent allocation&lt;BR /&gt;      can satisfy the current allocation policy or policies."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Oct 2003 13:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104531#M631562</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-28T13:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104532#M631563</link>
      <description>Hi Sundar,&lt;BR /&gt; &lt;BR /&gt;I agree with Pete.&lt;BR /&gt;But it might ease your worries if you run lvdisplay against that LV &amp;amp; examine the output for Allocation to determine it is indeed distributed. &lt;BR /&gt; &lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Oct 2003 13:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104532#M631563</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-10-28T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104533#M631564</link>
      <description>Hi (again) Sundara,&lt;BR /&gt; &lt;BR /&gt;I re-read your post &amp;amp; believe you may also be asking what will happen to:&lt;BR /&gt; &lt;BR /&gt;A) Existing extents - Nothing. They will not be redistibuted across all six PV. They will remain ditributed across the original two. You could backup the LV &amp;amp; recreate again using all six &amp;amp; then ALL PVs would be used to distibute from the get-go.&lt;BR /&gt; &lt;BR /&gt;B) Newly created extents - They will be ditributed across all six extents in round-robin fashion UNTIL the original two PVs have exhausted their free extents. Then they will be ditributed evenly across the remaining four until they are exhausted.&lt;BR /&gt; &lt;BR /&gt;I trust this helps.&lt;BR /&gt; &lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 28 Oct 2003 13:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104533#M631564</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-10-28T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104534#M631565</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;  Exactly that is what I am looking for - what will happen to the existing and the new extends.&lt;BR /&gt;&lt;BR /&gt;  Do u folks see any potential bottlenecks in leaving the 2 disks as is, add the 4 new PVS and extend the LV rather than recreating it ?&lt;BR /&gt;&lt;BR /&gt;  I would guess this should not impact the performance... ??&lt;BR /&gt;&lt;BR /&gt;Sundar.</description>
      <pubDate>Tue, 28 Oct 2003 15:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104534#M631565</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-10-28T15:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104535#M631566</link>
      <description>If you merely extend the VG with 4 new disks... you will have them available. Nothing will be done with them until you issue a command to add them to the LV... even then none of your current extent allocation will be moved to those new disks.&lt;BR /&gt; &lt;BR /&gt;Your 4 new disks will simply be added to the LVol. They will be available but unallocated.. You will have to move data over to them if you so choose. &lt;BR /&gt; &lt;BR /&gt;My guess is that you will have to backup your data to another fielsystem and then reassign the data to the Lvol after you add the 4 disks for a total of 6. &lt;BR /&gt; &lt;BR /&gt;Then you can reallocate across all 6 disks. &lt;BR /&gt;</description>
      <pubDate>Tue, 28 Oct 2003 19:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104535#M631566</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-10-28T19:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104536#M631567</link>
      <description>Oh sorry, I misread your post.  You have a distributed LV. disregard my last post.</description>
      <pubDate>Tue, 28 Oct 2003 19:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104536#M631567</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-10-28T19:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a distributed LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104537#M631568</link>
      <description>Jeff hit the nail on the head with his post.  However, when you extend the LV, your additional space will be spread across all 6 drives *ONLY* if you add the new drives to the PVG that the current 2 drives are a part of.  You can do this by manually editing the /etc/lvmpvg file after you extend the VG, or as a part of the vgextend command with the '-g' option (I think -- check the man page to be sure).&lt;BR /&gt;&lt;BR /&gt;As far as bottlenecks go, that depends entirely on your data.  If you leave the data on the current 2 PVs, then whenever that data is requested it will only be read from those 2 disks, while all newer data that is written will be spread across 6 disks.  The bottleneck issue will depend on how often your current data is accessed.&lt;BR /&gt;&lt;BR /&gt;If I had the time to do it, I would seriously consider backing up your current data, blowing away the current LV, extending the VG with the new disks, create a new distributed LV with all of your disks, and then restore your data.  &lt;BR /&gt;&lt;BR /&gt;Why would I blow away the LV and re-create?  Probably because I'm a glutten for punishment.  ;)  I just want to make sure that the LV will span all 6 disks when I restore the data.  I doubt that there would be any problems just extending the LV, but since it was created originally with just 2 disks, you never know.</description>
      <pubDate>Tue, 28 Oct 2003 20:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-distributed-lv/m-p/3104537#M631568</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-10-28T20:14:17Z</dc:date>
    </item>
  </channel>
</rss>

