<?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: lvextend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067299#M600894</link>
    <description>Can I add another disk to the VG (vg03 which is on LUN 3) then extend it.  I have another disk on LUN 3 that is 51200 MB and unused.</description>
    <pubDate>Fri, 07 Sep 2007 14:56:02 GMT</pubDate>
    <dc:creator>Deborah Weatherspoon</dc:creator>
    <dc:date>2007-09-07T14:56:02Z</dc:date>
    <item>
      <title>lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067296#M600891</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm trying to extend a VG (vg03) to hopefully 60G, but I'm getting an error message: Can anyone tell me how to make this work or should I create a new 70G VG.&lt;BR /&gt;&lt;BR /&gt; lvextend -L 61440 /dev/vg03/lvol1&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg03/lvol1" could not be extended.&lt;BR /&gt;Failure possibly caused by strict allocation policy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;VG Name                     /dev/vg03&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                      1      &lt;BR /&gt;Open LV                     1      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      1      &lt;BR /&gt;Act PV                      1      &lt;BR /&gt;Max PE per PV               12799        &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    12797   &lt;BR /&gt;Alloc PE                    12796   &lt;BR /&gt;Free PE                     1       &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;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg03/lvol1&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            51184           &lt;BR /&gt;   Current LE                  12796     &lt;BR /&gt;   Allocated PE                12796       &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c8t0d3&lt;BR /&gt;   PV Name                     /dev/dsk/c10t0d3 Alternate Link&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    12797   &lt;BR /&gt;   Free PE                     1       &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Sep 2007 14:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067296#M600891</guid>
      <dc:creator>Deborah Weatherspoon</dc:creator>
      <dc:date>2007-09-07T14:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067297#M600892</link>
      <description>Look:&lt;BR /&gt;&lt;BR /&gt;PE Size (Mbytes) 4 &lt;BR /&gt;Total PE 12797 &lt;BR /&gt;Alloc PE 12796 &lt;BR /&gt;Free PE 1 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You have only 4MB free!&lt;BR /&gt;&lt;BR /&gt;You need to add more physical disk space (new disk/LUN) first.</description>
      <pubDate>Fri, 07 Sep 2007 14:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067297#M600892</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-09-07T14:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067298#M600893</link>
      <description>The output above tells you what your "FREE PE"s are.  And you've only got one free left, according the "PE Size" row, you've only got 4M free to allocate.&lt;BR /&gt;&lt;BR /&gt;So, your current size of lvol1 is about 50G(12,797x4M) - so the most you can put together without adding more disk 50Gig + 4M.&lt;BR /&gt;&lt;BR /&gt;You don't have enough space for that requested operation.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Sep 2007 14:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067298#M600893</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2007-09-07T14:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067299#M600894</link>
      <description>Can I add another disk to the VG (vg03 which is on LUN 3) then extend it.  I have another disk on LUN 3 that is 51200 MB and unused.</description>
      <pubDate>Fri, 07 Sep 2007 14:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067299#M600894</guid>
      <dc:creator>Deborah Weatherspoon</dc:creator>
      <dc:date>2007-09-07T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067300#M600895</link>
      <description>Yes, you should add the LUN to this vg using vgextend first.</description>
      <pubDate>Fri, 07 Sep 2007 14:58:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067300#M600895</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-09-07T14:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067301#M600896</link>
      <description>Thanks for all the info, but I need to make sure I have the correct instructions:&lt;BR /&gt;&lt;BR /&gt;1. pvcreate -f /dev/dsk/c10t1d5&lt;BR /&gt;&lt;BR /&gt;2. vgextend /dev/vg03 /dev/dsk/c10t1d5&lt;BR /&gt;&lt;BR /&gt;3. lvextend -L 71680 /dev/vg03/lvol1</description>
      <pubDate>Fri, 07 Sep 2007 15:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067301#M600896</guid>
      <dc:creator>Deborah Weatherspoon</dc:creator>
      <dc:date>2007-09-07T15:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067302#M600897</link>
      <description>Thanks for all the info, but I need to make sure I have the correct instructions:&lt;BR /&gt;&lt;BR /&gt;1. pvcreate -f /dev/dsk/c10t1d5&lt;BR /&gt;&lt;BR /&gt;2. vgextend /dev/vg03 /dev/dsk/c10t1d5&lt;BR /&gt;&lt;BR /&gt;3. lvextend -L 71680 /dev/vg03/lvol1&lt;BR /&gt;&lt;BR /&gt;You were very close. Change the /dev/dsk/c10t1d5 in the pvcreate step to /dev/rdsk/c10t1d5.&lt;BR /&gt;&lt;BR /&gt;When you create LUN's, it normal to make them bigger than you need at the moment. That makes it very easy to extend LVOL's later should the need arise without having to add additional LUN's.</description>
      <pubDate>Fri, 07 Sep 2007 15:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067302#M600897</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-07T15:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067303#M600898</link>
      <description>Thanks all,&lt;BR /&gt;&lt;BR /&gt;I will try it this weekend.</description>
      <pubDate>Fri, 07 Sep 2007 16:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067303#M600898</guid>
      <dc:creator>Deborah Weatherspoon</dc:creator>
      <dc:date>2007-09-07T16:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067304#M600899</link>
      <description>Hi Deborah,&lt;BR /&gt;            Since you are left with 1 free PE, so you cannot extend your lvol, you have to create another volume group for your purpose...&lt;BR /&gt;&lt;BR /&gt;Amitav</description>
      <pubDate>Tue, 11 Sep 2007 07:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend/m-p/4067304#M600899</guid>
      <dc:creator>Amitav</dc:creator>
      <dc:date>2007-09-11T07:37:00Z</dc:date>
    </item>
  </channel>
</rss>

