<?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: Problems with lvextend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143524#M565366</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you have only 781 PE free. Each PE is 16MB, so the total amount of 12496 free disk.&lt;BR /&gt;&lt;BR /&gt;Try again with the command lvextend -L 12496  /dev/vgabil2/lvol3&lt;BR /&gt;&lt;BR /&gt;It should be working.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Saeid</description>
    <pubDate>Thu, 27 Nov 2008 12:59:07 GMT</pubDate>
    <dc:creator>Saeid Ghanei_1</dc:creator>
    <dc:date>2008-11-27T12:59:07Z</dc:date>
    <item>
      <title>Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143521#M565363</link>
      <description>HI!!&lt;BR /&gt;&lt;BR /&gt;Can Anyone help, please??&lt;BR /&gt;I'm attempting to increase the size of a LV, but the follow message appears:&lt;BR /&gt;svuxbil2:/homeroot # lvextend -L 37800 /dev/vgabil2/lvol3&lt;BR /&gt;Warning: rounding up logical volume size to extent boundary at size "37808" MB.&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vgabil2/lvol3" could not be extended.&lt;BR /&gt;&lt;BR /&gt;I verified if there was enough free PE available in the VG and everything was right.&lt;BR /&gt;&lt;BR /&gt;svuxbil2:/homeroot # vgdisplay vgabil2&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgabil2&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                      26&lt;BR /&gt;Open LV                     26&lt;BR /&gt;Max PV                      128&lt;BR /&gt;Cur PV                      4&lt;BR /&gt;Act PV                      4&lt;BR /&gt;Max PE per PV               5749&lt;BR /&gt;VGDA                        8&lt;BR /&gt;PE Size (Mbytes)            16&lt;BR /&gt;Total PE                    22992&lt;BR /&gt;Alloc PE                    22211&lt;BR /&gt;Free PE                     781&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;svuxbil2:/homeroot # lvdisplay /dev/vgabil2/lvol3&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgabil2/lvol3&lt;BR /&gt;VG Name                     /dev/vgabil2&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            25888&lt;BR /&gt;Current LE                  1618&lt;BR /&gt;Allocated PE                1618&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   NONE&lt;BR /&gt;Allocation                  PVG-strict/distributed&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;Why can't I increase the LV if in the VG I have enough PE to do it???</description>
      <pubDate>Thu, 27 Nov 2008 12:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143521#M565363</guid>
      <dc:creator>Gustavo Souza Lima</dc:creator>
      <dc:date>2008-11-27T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143522#M565364</link>
      <description>HI Lima,&lt;BR /&gt;&lt;BR /&gt;Deactivate the vg &lt;BR /&gt;&lt;BR /&gt;using vgmodify command you can change the max pe per pv  and then you can go for lvextend.&lt;BR /&gt;&lt;BR /&gt;probably you can go for 32 pe size in stead of 16.&lt;BR /&gt;&lt;BR /&gt;activate the vg &lt;BR /&gt;&lt;BR /&gt;Then you can increase it .</description>
      <pubDate>Thu, 27 Nov 2008 12:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143522#M565364</guid>
      <dc:creator>Analyst</dc:creator>
      <dc:date>2008-11-27T12:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143523#M565365</link>
      <description>For you lvol3 you have "Allocation PVG-strict/distributed" so you need to check further before you can extend this volume. &lt;BR /&gt;&lt;BR /&gt;It is distributed to all 4 PEs in vgabil so you must have the same number of free extends on all 4 PVs to be able to extend it. Check the free extends using "vgdisplay -v" and pvdisplay for each PV.</description>
      <pubDate>Thu, 27 Nov 2008 12:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143523#M565365</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-11-27T12:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143524#M565366</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you have only 781 PE free. Each PE is 16MB, so the total amount of 12496 free disk.&lt;BR /&gt;&lt;BR /&gt;Try again with the command lvextend -L 12496  /dev/vgabil2/lvol3&lt;BR /&gt;&lt;BR /&gt;It should be working.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Saeid</description>
      <pubDate>Thu, 27 Nov 2008 12:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143524#M565366</guid>
      <dc:creator>Saeid Ghanei_1</dc:creator>
      <dc:date>2008-11-27T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143525#M565367</link>
      <description>My guess : Your /etc/lvmpvg file is not up to date.&lt;BR /&gt;&lt;BR /&gt;When you use PVG-strict/distributed allocation, file /etc/lvmpvg remembers what physical disks belong to what PVG's.&lt;BR /&gt;&lt;BR /&gt;The output of vgdisplay -v /dev/vgabil2 should correctly list the physical volume groups.&lt;BR /&gt;&lt;BR /&gt;The good thing is that this /etc/lvmpvg file is plain ASCII and you can edit it to correct it.&lt;BR /&gt;&lt;BR /&gt;Check that some lines like these are present :&lt;BR /&gt;VG     /dev/vgabil2&lt;BR /&gt;PVG    &lt;NAME of="" your="" 1st="" pvg=""&gt;&lt;BR /&gt;/dev/dsk/...&lt;BR /&gt;/dev/dsk/...&lt;BR /&gt;PVG    &lt;NAME of="" your="" 2nd="" pvg=""&gt;&lt;BR /&gt;/dev/dsk/...&lt;BR /&gt;/dev/dsk/...&lt;BR /&gt;&lt;/NAME&gt;&lt;/NAME&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143525#M565367</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2008-11-27T12:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143526#M565368</link>
      <description>By the way :&lt;BR /&gt;&lt;BR /&gt;- Nothing is wrong with "lvextend -L 37800 /dev/vgabil2/lvol3", it will fit in the free space of the VG. You already ave 25888MB and still 16x781MB free.&lt;BR /&gt;&lt;BR /&gt;The fact that your vgdisplay lists "Total PVG 0" is the problem, and that point to /etc/lvmpvg.&lt;BR /&gt;&lt;BR /&gt;Your LV is not mirrored, then why specify PVG-strict allocation ? Issue lvchange -s y or -s n to get it away. Or do you intend to mirror it later on ?&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143526#M565368</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2008-11-27T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143527#M565369</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Since you have distributed allocation policy on that logical volume you should have enough free PE in all physical volumes on which LV distributed.&lt;BR /&gt;&lt;BR /&gt;Use lvdisplay -v &lt;LVNAME&gt; command to find out on which physical volumes the lv is distributed and check all the physical volumes have enough free space. If it is distributed in two pv's, both pv should have half of the space to be extended.&lt;BR /&gt;&lt;BR /&gt;Other workaround is to disable the distributed allocation policay and extend it.&lt;/LVNAME&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143527#M565369</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-11-27T13:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143528#M565370</link>
      <description>I change the Allocantion parameters.&lt;BR /&gt;lvchange -D n -s y /dev/vgabil2/lvol3&lt;BR /&gt;&lt;BR /&gt;Disable the distributed and set strict mode instead of PVG-strict.</description>
      <pubDate>Thu, 27 Nov 2008 17:19:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvextend/m-p/5143528#M565370</guid>
      <dc:creator>Gustavo Souza Lima</dc:creator>
      <dc:date>2008-11-27T17:19:52Z</dc:date>
    </item>
  </channel>
</rss>

