<?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: Vgextend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452757#M209047</link>
    <description>Hi Ravi &lt;BR /&gt;        I think you didn't understand my probelm&lt;BR /&gt;With&lt;BR /&gt;#lvextend -L 8128 /dev/vgbc/lvbahtmp is also giving the same error&lt;BR /&gt;the vgdisplay which pasted is the current status in the server.&lt;BR /&gt;#lvextend -L 12288 /dev/vgbc/lvbahtmp&lt;BR /&gt;it says&lt;BR /&gt;after failing of this command .I tried extending other FS for 2gb .It got extended sucessfully.but it extended in the old PV ie.already i was having 5gb free space in that vg before extending that vg .it 2gb got extended to thta space .now my probelm is iam not able to utalize my new PV space.&lt;BR /&gt;I hope Now u understand&lt;BR /&gt;</description>
    <pubDate>Thu, 30 Dec 2004 06:38:25 GMT</pubDate>
    <dc:creator>kamal_9</dc:creator>
    <dc:date>2004-12-30T06:38:25Z</dc:date>
    <item>
      <title>Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452750#M209040</link>
      <description>Hi All &lt;BR /&gt;Wish You A very Happy NewYear&lt;BR /&gt;# vgdisplay -v /dev/vgbs |pg&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name /dev/vgbs&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 4 &lt;BR /&gt;Open LV 4 &lt;BR /&gt;Max PV 16 &lt;BR /&gt;Cur PV 3 &lt;BR /&gt;Act PV 3 &lt;BR /&gt;Max PE per PV 1279 &lt;BR /&gt;VGDA 6 &lt;BR /&gt;PE Size (Mbytes) 8 &lt;BR /&gt;Total PE 3837 &lt;BR /&gt;Alloc PE 2546 &lt;BR /&gt;Free PE 1291 &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;but Iam facing problem while doing lvextend .if i give&lt;BR /&gt;#lvextend -L 12288 /dev/vgbc/lvbahtmp&lt;BR /&gt;it says&lt;BR /&gt;lvextend: not enough free physical extends available&lt;BR /&gt;logical volume /dev/vgbc/lvbahtmp could not be extended balonging to vgbc /dev/vgbc&lt;BR /&gt;Failure caused by strict allocation policy&lt;BR /&gt;can u tell me what it means.How to overcome from this  &lt;BR /&gt;For Details Pls go thru this also &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=774511" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=774511&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;  &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=774511" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=774511&lt;/A&gt;</description>
      <pubDate>Thu, 30 Dec 2004 06:02:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452750#M209040</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-30T06:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452751#M209041</link>
      <description>You have only 1291 * 8 = 10328 MB space whereas what is specified in vgextend (-&lt;BR /&gt;L) is more.&lt;BR /&gt;&lt;BR /&gt;Is that the reason of the error?&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Thu, 30 Dec 2004 06:08:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452751#M209041</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-12-30T06:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452752#M209042</link>
      <description>Hi Kamal&lt;BR /&gt;&lt;BR /&gt;It's pretty simple, &lt;BR /&gt;The existing free space in your disk right now is (FREE PE * PE SIZE) 1291*8= 10328 &lt;BR /&gt;i.e 10GB.&lt;BR /&gt;where as in lvextend you are specifying the lvol lvbahtmp to increase by 12GB (12288MB).&lt;BR /&gt;&lt;BR /&gt;hence the error, so you have to specify the lesser space (&amp;lt; 10GB) in lvextend command or you have to add another disk</description>
      <pubDate>Thu, 30 Dec 2004 06:08:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452752#M209042</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-12-30T06:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452753#M209043</link>
      <description>Sorry I extended other Filesystem for 2gb that why now the free pe is showing less.&lt;BR /&gt;I tried by giving&lt;BR /&gt;#lvextend -L 8192 /dev/vgbc/lvbahtmp&lt;BR /&gt;for that also iam getting the same error&lt;BR /&gt;that 2gb has got extended because earlier it self before doing vgextend itself i was having 5gb free space in that vg .that 2gb got extened to that one&lt;BR /&gt;YESTERDAY VGDISPLAY OUTPUT BEFOER DOING VGEXTEND&lt;BR /&gt;In vgdisplay -v iam getting the following output&lt;BR /&gt;VG Name /dev/vgbs&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 4 &lt;BR /&gt;Open LV 4 &lt;BR /&gt;Max PV 16 &lt;BR /&gt;Cur PV 2 &lt;BR /&gt;Act PV 2 &lt;BR /&gt;Max PE per PV 1279 &lt;BR /&gt;VGDA 4 &lt;BR /&gt;PE Size (Mbytes) 8 &lt;BR /&gt;Total PE 2558 &lt;BR /&gt;Alloc PE 1876 &lt;BR /&gt;Free PE 682 (2GB GOT EXTENED TO THIS )&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;</description>
      <pubDate>Thu, 30 Dec 2004 06:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452753#M209043</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-30T06:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452754#M209044</link>
      <description>Check this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=67237" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=67237&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Thu, 30 Dec 2004 06:22:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452754#M209044</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-12-30T06:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452755#M209045</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;Do u know the LVM concepts?&lt;BR /&gt;&lt;BR /&gt;Free space in your disk is less than the size you need, hence the error</description>
      <pubDate>Thu, 30 Dec 2004 06:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452755#M209045</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-12-30T06:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452756#M209046</link>
      <description>Hi &lt;BR /&gt;Thank You for your quick replay .&lt;BR /&gt;Is thr any other way i can extend that lv&lt;BR /&gt;I tried to extend that lv by using the specify the harddisk option in sam .but thr also i got the same error and i asked to select 2 hdd .but i doing hav free PE in other the PV&lt;BR /&gt;Eventhough if i select the other hdd which Pe is fully utalized and the new pv which is fully free .will it automatically arrage the PE to both of the disk .Or will it lead to any data loss .</description>
      <pubDate>Thu, 30 Dec 2004 06:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452756#M209046</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-30T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452757#M209047</link>
      <description>Hi Ravi &lt;BR /&gt;        I think you didn't understand my probelm&lt;BR /&gt;With&lt;BR /&gt;#lvextend -L 8128 /dev/vgbc/lvbahtmp is also giving the same error&lt;BR /&gt;the vgdisplay which pasted is the current status in the server.&lt;BR /&gt;#lvextend -L 12288 /dev/vgbc/lvbahtmp&lt;BR /&gt;it says&lt;BR /&gt;after failing of this command .I tried extending other FS for 2gb .It got extended sucessfully.but it extended in the old PV ie.already i was having 5gb free space in that vg before extending that vg .it 2gb got extended to thta space .now my probelm is iam not able to utalize my new PV space.&lt;BR /&gt;I hope Now u understand&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Dec 2004 06:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452757#M209047</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-30T06:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452758#M209048</link>
      <description>Could you provide us with a lvdisplay of the LV you're trying to extend?</description>
      <pubDate>Thu, 30 Dec 2004 06:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452758#M209048</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2004-12-30T06:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452759#M209049</link>
      <description>Pls hav the lvdiplay output&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Dec 2004 07:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452759#M209049</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-30T07:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452760#M209050</link>
      <description>I have a feeling that your striping might be what's causing the issue here but not being a 100% sure.. I'd like to know where your Free Extents are located.  Can you provide a vgdisplay with the free extents on each disks please?</description>
      <pubDate>Thu, 30 Dec 2004 07:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452760#M209050</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2004-12-30T07:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452761#M209051</link>
      <description>Hi Marco&lt;BR /&gt;        For me also it sounds like the strict/stripping policy problem.Iam having free PE in my last Pv which i added newly.I tried by doing the lvextend to that particular PV using the specify hdd option in the sam.But thr also iam getting the same error .and it asking me to select 2 disk.But i dont hav free PE in any other PV.</description>
      <pubDate>Thu, 30 Dec 2004 07:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452761#M209051</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-30T07:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452762#M209052</link>
      <description>Unfortunately, I'm not an expert in striping, but that what it sure looks like to me.  Seeing that your LV is configure to do striping over two PV, it probably looks for the amount you asked for over two PV and if you don't have it, then youd' get the strict policy message.  Seeing that you have 6 extents left on your first two disk (I know it's not much but just to prove that our problem is really one of striping), I would try and extend those 6 extents.  &lt;BR /&gt;&lt;BR /&gt;The only other option I can see is adding one more disk in that VG.</description>
      <pubDate>Thu, 30 Dec 2004 07:25:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452762#M209052</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2004-12-30T07:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Vgextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452763#M209053</link>
      <description>Can you attach the current vgdisplay after you did some extending?  &lt;BR /&gt;&lt;BR /&gt;I think the last couple posts are on the right track but I want to be sure.  &lt;BR /&gt;&lt;BR /&gt;Basically you have a VG that is striped across two disks with a strict allocation policy which will prevent you from making mirrors on the PV or PVG.  Because of the striping, its going to want to keep that consistancy so its not going to let you specify a disk to extend onto because that would screw up the striping.  That is not something you can change with an lvchange either once its in place.  Striping is good for performance but also introduces so problems as you can see.  The number you use also needs to be a multiple of numbers of disks involved in the striping so for 12288 mb, you are talking about 1536 PE or 768 on each disk (b/c of the number of stripes in the lvdisplay).  There is no way you can bring in this third disk into this striping because the striping could never work anymore.  &lt;BR /&gt;&lt;BR /&gt;If you goal is to retire these other disks, than I would recommend creating an new lvol and using cpio to move the data over.  You can do that by:  lvcreate -n [name] -s y -L [size] /dev/vg[vgname] then mount it to some temporary directory and cpio.  &lt;BR /&gt;&lt;BR /&gt;If you goal isn't to retire the disks, than I would still just recommend cpio.  A little different procedure though and I think you are going to need more disk to do this.  Basically, create an lvol large enough to house all of the data currently in this other lvol all on one disk (or multiple disks if one isn't big enough).  This should be done on disks that you aren't using for any other purpose right now, perferably in another VG.  Once you confident in the data, blow away the other old lvol and recreate it using the -i 3 option which will give the lvol striping across three disks.  If you aren't concerned about the striping, just use the -D y option and it will distributed it across the disks anyway.  Once you have this created, cpio all the data back onto this lvol and you should be good to go.  &lt;BR /&gt;&lt;BR /&gt;I hope this helps and more importantly, made at least a little sense. -Matt</description>
      <pubDate>Fri, 31 Dec 2004 12:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgextend/m-p/3452763#M209053</guid>
      <dc:creator>Matthew F. Carr</dc:creator>
      <dc:date>2004-12-31T12:32:58Z</dc:date>
    </item>
  </channel>
</rss>

