<?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: URGENT!  lvextend fails... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593976#M647745</link>
    <description>What is the exact command you're using?  Sounds like you're trying to extend the LV to a smaller size.  Check the size of the LV using lvdisplay and make sure that the new size is bigger.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
    <pubDate>Fri, 12 Oct 2001 15:35:33 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-10-12T15:35:33Z</dc:date>
    <item>
      <title>URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593974#M647743</link>
      <description>trying to extend lvol on 10.20 system, I have plenty of disk space available.&lt;BR /&gt;I'm receiving the error:&lt;BR /&gt;lvextend: "LogicalExtentsNumber" is not bigger than current setting.&lt;BR /&gt;&lt;BR /&gt;anyone know whats wrong?</description>
      <pubDate>Fri, 12 Oct 2001 15:31:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593974#M647743</guid>
      <dc:creator>Erik Voelker_1</dc:creator>
      <dc:date>2001-10-12T15:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593975#M647744</link>
      <description>&lt;BR /&gt;You need to put a new and higher value on the lvextend command, your error indicates your trying to extend it smaller than it already is !&lt;BR /&gt;&lt;BR /&gt;lvextend -l &lt;NUMBER&gt; is in extents (4MB each, so 1000 = 4 GB)&lt;BR /&gt;lvextend -L&lt;NUMBER&gt; is in Megabytes (eg 4000 = 4 GB)&lt;BR /&gt;&lt;/NUMBER&gt;&lt;/NUMBER&gt;</description>
      <pubDate>Fri, 12 Oct 2001 15:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593975#M647744</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-10-12T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593976#M647745</link>
      <description>What is the exact command you're using?  Sounds like you're trying to extend the LV to a smaller size.  Check the size of the LV using lvdisplay and make sure that the new size is bigger.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Fri, 12 Oct 2001 15:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593976#M647745</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-12T15:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593977#M647746</link>
      <description>do an lvdisplay /dev/vgXY/lvolZ&lt;BR /&gt;&lt;BR /&gt;before you lvextend.&lt;BR /&gt;The Big L is Mega&lt;BR /&gt;small l pe's&lt;BR /&gt;&lt;BR /&gt;See an example:&lt;BR /&gt;# mount -p&lt;BR /&gt;/dev/vg00/lvol3  /       vxfs  log                    0 1&lt;BR /&gt;/dev/vg00/lvol1  /stand  hfs   defaults               0 0&lt;BR /&gt;/dev/vg00/lvol8  /var    vxfs  delaylog,nodatainlog   0 0&lt;BR /&gt;/dev/vg00/lvol7  /usr    vxfs  delaylog,nodatainlog   0 0&lt;BR /&gt;/dev/vg00/lvol4  /tmp    vxfs  delaylog,nodatainlog   0 0&lt;BR /&gt;/dev/vg00/lvol6  /opt    vxfs  delaylog,nodatainlog   0 0&lt;BR /&gt;/dev/vg00/lvol5  /home   vxfs  delaylog,nodatainlog   0 0&lt;BR /&gt;/dev/vg00/lvol9  /debug  vxfs  delaylog,nodatainlog   0 0&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg00/lvol7&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol7&lt;BR /&gt;VG Name                     /dev/vg00&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)            1148&lt;BR /&gt;Current LE                  287&lt;BR /&gt;Allocated PE                287&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     143360   56837   81137   41% /&lt;BR /&gt;/dev/vg00/lvol1      83733   34489   40870   46% /stand&lt;BR /&gt;/dev/vg00/lvol8    1200000  840524  340007   71% /var&lt;BR /&gt;/dev/vg00/lvol7    1175552  651709  491142   57% /usr&lt;BR /&gt;/dev/vg00/lvol4     500000   70604  402721   15% /tmp&lt;BR /&gt;/dev/vg00/lvol6    2048000 1178081  815564   59% /opt&lt;BR /&gt;/dev/vg00/lvol5      20480    8218   11564   42% /home&lt;BR /&gt;/dev/vg00/lvol9    2048000  658242 1302960   34% /debug&lt;BR /&gt;&lt;BR /&gt;# vgdisplay vg00&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg00&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                      9&lt;BR /&gt;Open LV                     9&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               2500&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    2169&lt;BR /&gt;Alloc PE                    2079&lt;BR /&gt;Free PE                     90&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;I've got 90 free PS's&lt;BR /&gt;GREAT!!&lt;BR /&gt;&lt;BR /&gt;Ahhh remember lvextend -l NEW SIZE!!!!&lt;BR /&gt;&lt;BR /&gt;# lvextend -l 350 /dev/vg00/lvol7&lt;BR /&gt;Logical volume "/dev/vg00/lvol7" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con&lt;BR /&gt;f&lt;BR /&gt;&lt;BR /&gt;not:&lt;BR /&gt;# lvextend -l 90 /dev/vg00/lvol7&lt;BR /&gt;lvextend: "LogicalExtentsNumber" is not bigger than current setting.&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -b 1200000 /usr&lt;BR /&gt;fsadm: /dev/vg00/rlvol7 is currently 1175552 sectors - size will be increased&lt;BR /&gt;&lt;BR /&gt;I could have gone more but...&lt;BR /&gt;(if this fs extension doesn't work for you get onlineJFS)&lt;BR /&gt;&lt;BR /&gt;It's an example&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     143360   56837   81137   41% /&lt;BR /&gt;/dev/vg00/lvol1      83733   34489   40870   46% /stand&lt;BR /&gt;/dev/vg00/lvol8    1200000  842572  338087   71% /var&lt;BR /&gt;/dev/vg00/lvol7    1200000  651717  514054   56% /usr&lt;BR /&gt;/dev/vg00/lvol4     500000   70604  402721   15% /tmp&lt;BR /&gt;/dev/vg00/lvol6    2048000 1178081  815564   59% /opt&lt;BR /&gt;/dev/vg00/lvol5      20480    8218   11564   42% /home&lt;BR /&gt;/dev/vg00/lvol9    2048000  658242 1302960   34% /debug&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Oct 2001 15:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593977#M647746</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-10-12T15:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593978#M647747</link>
      <description>Erik,&lt;BR /&gt;&lt;BR /&gt;   Bill's response is comprehensive.   &lt;BR /&gt;One related note:  I prefer to give the&lt;BR /&gt;size in "Megabytes"  rather than "number&lt;BR /&gt;of extents"  to avoid confusion.&lt;BR /&gt;So, for instance, if you already know&lt;BR /&gt;your existing LV size as 100Mb, to extend&lt;BR /&gt;it to 150MB, you simply specify&lt;BR /&gt;lvextend -L 150 /dev/vg*/lv* .  &lt;BR /&gt;&lt;BR /&gt; Also, note that the size you give in&lt;BR /&gt;lvextend command should be the "NEW SIZE"&lt;BR /&gt;and  **not**  the  "increment".  For&lt;BR /&gt;instance, you should not specify &lt;BR /&gt;lvextend -L 50 in the above example;&lt;BR /&gt; lvextend -L 150 would be the correct format.&lt;BR /&gt;&lt;BR /&gt;In all probability, this is the cause of &lt;BR /&gt;your error.&lt;BR /&gt;&lt;BR /&gt;-raj</description>
      <pubDate>Fri, 12 Oct 2001 16:17:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593978#M647747</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-10-12T16:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593979#M647748</link>
      <description>Erik,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;One mistake that is commonly done most of the time is  to specify the "increment" size with the lvextend command. We need to specify the new size(current + incremental)&lt;BR /&gt;&lt;BR /&gt;For ex., if the LV is of 200 MB and if we want to extend it to 300, we need to specify 300 as an argument to -L.&lt;BR /&gt;&lt;BR /&gt;lvextend -L 300 /dev/vgxx/lvolx&lt;BR /&gt;extendfs /dev/vgxx/rlvolx&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Oct 2001 16:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593979#M647748</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-12T16:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593980#M647749</link>
      <description>Erik,&lt;BR /&gt;&lt;BR /&gt;Also, if the logical volume is mirrored, a request to extend it will take double the amount of space from the volume group as you specify.&lt;BR /&gt;&lt;BR /&gt;-Tim&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Oct 2001 16:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593980#M647749</guid>
      <dc:creator>Timothy Czarnik</dc:creator>
      <dc:date>2001-10-12T16:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593981#M647750</link>
      <description>Hi Erik:&lt;BR /&gt;&lt;BR /&gt;On point more (an aside, perhaps).  Remember that 1MB = 1024 KB.  Thus, one standard 4MB extent = 4096 KB.  Thus, if you were to allocate a logical volume with '-l 24' you would see 96MB reflected in the "LV Size" from an 'lvdisplay', but 98.304 MB in the "kbytes" of a 'bdf'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 12 Oct 2001 17:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593981#M647750</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-12T17:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!  lvextend fails...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593982#M647751</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;You are trying to extend the lv to a size smaller or equal to the present size of that LV. Check the syntax of your command. If you are using "L", you specify the size in MB. If you use "l" you specify the size in extend. By default eack extent is 4MB in size. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Oct 2001 21:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-lvextend-fails/m-p/2593982#M647751</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-10-12T21:19:45Z</dc:date>
    </item>
  </channel>
</rss>

