<?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 error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177852#M561192</link>
    <description>The wording was misleading, the error and display is within the posting. When the lvexend &lt;BR /&gt;cmd is issued the response is: &lt;BR /&gt;&lt;BR /&gt;lvextend -L 1024 /dev/vg01/lvol4&lt;BR /&gt;Usage: lvextend&lt;BR /&gt;[-A Autobackup]&lt;BR /&gt;{-l LogicalExtentsNumber |&lt;BR /&gt;-L LogicalVolumeSize}&lt;BR /&gt;LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]&lt;BR /&gt;Program error. Bad usage of options handling routines.&lt;BR /&gt;&lt;BR /&gt;The filesystem is not in use and I can unmount it. &lt;BR /&gt;&lt;BR /&gt;The vgdisplay -v returns: &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name /dev/vg01&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 16&lt;BR /&gt;Open LV 16&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 4341&lt;BR /&gt;VGDA 2&lt;BR /&gt;PE Size (Mbytes) 4&lt;BR /&gt;Total PE 4340&lt;BR /&gt;Alloc PE 2629&lt;BR /&gt;Free PE 1711&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;&lt;BR /&gt;LV Name /dev/vg01/lvol4&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 252&lt;BR /&gt;Current LE 63&lt;BR /&gt;Allocated PE 63&lt;BR /&gt;Used PV 1&lt;BR /&gt;&lt;BR /&gt;So the free space is there and the command syntax is correct.</description>
    <pubDate>Wed, 27 May 2009 12:38:36 GMT</pubDate>
    <dc:creator>Stephen Grecni</dc:creator>
    <dc:date>2009-05-27T12:38:36Z</dc:date>
    <item>
      <title>lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177850#M561190</link>
      <description>When extending a volume I get the following attached error. Also the vg seem to have enough free space and I get the same error using SAM.  Has anyonse seen this before and have a solution ? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;#lvextend -L 1024 /dev/vg01/lvol4&lt;BR /&gt;Usage: lvextend&lt;BR /&gt;        [-A Autobackup]&lt;BR /&gt;        {-l LogicalExtentsNumber |&lt;BR /&gt;         -L LogicalVolumeSize}&lt;BR /&gt;        LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]&lt;BR /&gt;Program error. Bad usage of options handling routines.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#vgdisplay -v vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&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                      16&lt;BR /&gt;Open LV                     16&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               4341&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    4340&lt;BR /&gt;Alloc PE                    2629&lt;BR /&gt;Free PE                     1711&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;   &lt;BR /&gt;   LV Name                     /dev/vg01/lvol4&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            252&lt;BR /&gt;   Current LE                  63&lt;BR /&gt;   Allocated PE                63&lt;BR /&gt;   Used PV                     1</description>
      <pubDate>Wed, 27 May 2009 12:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177850#M561190</guid>
      <dc:creator>Stephen Grecni</dc:creator>
      <dc:date>2009-05-27T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177851#M561191</link>
      <description>&amp;gt;&amp;gt; Has anyonse seen this before &lt;BR /&gt;&lt;BR /&gt;Heck, I can't even see it now!!&lt;BR /&gt;&lt;BR /&gt;(You forgot the attachment)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 27 May 2009 12:33:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177851#M561191</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-05-27T12:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177852#M561192</link>
      <description>The wording was misleading, the error and display is within the posting. When the lvexend &lt;BR /&gt;cmd is issued the response is: &lt;BR /&gt;&lt;BR /&gt;lvextend -L 1024 /dev/vg01/lvol4&lt;BR /&gt;Usage: lvextend&lt;BR /&gt;[-A Autobackup]&lt;BR /&gt;{-l LogicalExtentsNumber |&lt;BR /&gt;-L LogicalVolumeSize}&lt;BR /&gt;LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]&lt;BR /&gt;Program error. Bad usage of options handling routines.&lt;BR /&gt;&lt;BR /&gt;The filesystem is not in use and I can unmount it. &lt;BR /&gt;&lt;BR /&gt;The vgdisplay -v returns: &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name /dev/vg01&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 16&lt;BR /&gt;Open LV 16&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 4341&lt;BR /&gt;VGDA 2&lt;BR /&gt;PE Size (Mbytes) 4&lt;BR /&gt;Total PE 4340&lt;BR /&gt;Alloc PE 2629&lt;BR /&gt;Free PE 1711&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;&lt;BR /&gt;LV Name /dev/vg01/lvol4&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 252&lt;BR /&gt;Current LE 63&lt;BR /&gt;Allocated PE 63&lt;BR /&gt;Used PV 1&lt;BR /&gt;&lt;BR /&gt;So the free space is there and the command syntax is correct.</description>
      <pubDate>Wed, 27 May 2009 12:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177852#M561192</guid>
      <dc:creator>Stephen Grecni</dc:creator>
      <dc:date>2009-05-27T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177853#M561193</link>
      <description>hello steve&lt;BR /&gt;what if you will try &lt;BR /&gt;lvextend -l &lt;LOGICAL extends="" number=""&gt;&lt;BR /&gt;&lt;BR /&gt;will get same error?&lt;BR /&gt;&lt;/LOGICAL&gt;</description>
      <pubDate>Wed, 27 May 2009 12:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177853#M561193</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-05-27T12:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177854#M561194</link>
      <description>what is your LVM patch level ?&lt;BR /&gt;&lt;BR /&gt;swlist -l product | grep -i "LVM commands cumulative patch"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 May 2009 12:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177854#M561194</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-05-27T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177855#M561195</link>
      <description>using the -i option produces the same result &lt;BR /&gt;#lvextend -l 10 /dev/vg01/lvol4&lt;BR /&gt;Usage: lvextend&lt;BR /&gt;        [-A Autobackup]&lt;BR /&gt;        {-l LogicalExtentsNumber |&lt;BR /&gt;         -L LogicalVolumeSize}&lt;BR /&gt;        LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]&lt;BR /&gt;&lt;BR /&gt;The LVM level is: &lt;BR /&gt;&lt;BR /&gt;#swlist -l product | grep -i LVM&lt;BR /&gt;  LVM                   B.11.11        LVM&lt;BR /&gt;  PHCO_35313            1.0            LVM commands cumulative patch&lt;BR /&gt;  PHKL_30607            1.0            VxVM,EMC,PM,vPar,slpq,KRS,DUMP,LVM,VM,DaS&lt;BR /&gt;,IF&lt;BR /&gt;  PHKL_34986            1.0            LVM Cumulative Patch; LVM OLR; SLVM 16 No&lt;BR /&gt;de</description>
      <pubDate>Wed, 27 May 2009 12:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177855#M561195</guid>
      <dc:creator>Stephen Grecni</dc:creator>
      <dc:date>2009-05-27T12:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177856#M561196</link>
      <description>I never saw this error,Your command is 101% correct&lt;BR /&gt;what is lvdisplay /dev/vg01/lvol4 says ?&lt;BR /&gt;&lt;BR /&gt;somebody might create an alias for lvextend command something like &lt;BR /&gt;alias lvextend=lvextend -x&lt;BR /&gt;&lt;BR /&gt;or in there could be some white space in the lvol name&lt;BR /&gt;just thoughts :-)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;can you copy the lvextend binary from some other server and try ??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Johnson</description>
      <pubDate>Wed, 27 May 2009 12:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177856#M561196</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-05-27T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177857#M561197</link>
      <description>Well, my server I just checked was patched few months ago and I have &lt;BR /&gt;&lt;BR /&gt;PHCO_35955            1.0            LVM commands cumulative patch&lt;BR /&gt;&lt;BR /&gt;So, you may need this patch as I also found this page with the same error message matching what you found out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h50221.www5.hp.com/upassist/itrc_japan/assist2/patchdigest/PHCO_35955.html" target="_blank"&gt;http://h50221.www5.hp.com/upassist/itrc_japan/assist2/patchdigest/PHCO_35955.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(I hope you are fluent in reading katakana alphabet as the page seems to be in Japanese when it comes to explanations. It might have something to do with the internationalization)&lt;BR /&gt;&lt;BR /&gt;Something to consider and since it is a PHCO patch, it does not require downtime and can be applied (unless you are in a tightly restricted environment)&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Wed, 27 May 2009 12:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177857#M561197</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-05-27T12:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177858#M561198</link>
      <description>The results of the cmd is: &lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg01/lvol4&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol4&lt;BR /&gt;VG Name                     /dev/vg01&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)            252&lt;BR /&gt;Current LE                  63&lt;BR /&gt;Allocated PE                63&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;I thought about updating the patch levels. Its been a while for this server.</description>
      <pubDate>Wed, 27 May 2009 12:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177858#M561198</guid>
      <dc:creator>Stephen Grecni</dc:creator>
      <dc:date>2009-05-27T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177859#M561199</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is the english version of the link provided by Mel.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_35955&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main" target="_blank"&gt;http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_35955&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main&lt;/A&gt;|search|&lt;BR /&gt;&lt;BR /&gt;If you have the patch PHCO_35313, then you will get that error. It is a known issue. See this patch notes..&lt;BR /&gt;&lt;BR /&gt; ( SR:8606473680 CR:JAGag28309 )&lt;BR /&gt; lvextend command can fail on systems running with&lt;BR /&gt; PHCO_35313 that also do not have optional MirrorDisk/UX&lt;BR /&gt; software (bundle B2491BA), with the following error&lt;BR /&gt; message:&lt;BR /&gt;&lt;BR /&gt; Usage: lvextend&lt;BR /&gt; [-A Autobackup]&lt;BR /&gt; {-l LogicalExtentsNumber |&lt;BR /&gt; -L LogicalVolumeSize}&lt;BR /&gt; LogicalVolumePath [ PhysicalVolumePath... |&lt;BR /&gt; PhysicalVolumeGroupName... ]&lt;BR /&gt; Program error. Bad usage of options handling routines.&lt;BR /&gt;&lt;BR /&gt;So the patch PHCO_35955 will fix your issue.</description>
      <pubDate>Wed, 27 May 2009 13:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177859#M561199</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-05-27T13:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177860#M561200</link>
      <description>Sure looks like it. Thanks for the help. Let me get it installed and see if it works. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 May 2009 13:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177860#M561200</guid>
      <dc:creator>Stephen Grecni</dc:creator>
      <dc:date>2009-05-27T13:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177861#M561201</link>
      <description>The patch fixed the issue. Thanks for all of the help. &lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 27 May 2009 13:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177861#M561201</guid>
      <dc:creator>Stephen Grecni</dc:creator>
      <dc:date>2009-05-27T13:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177862#M561202</link>
      <description>Thre patch corrected the isuse. Thank you for the help. &lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 27 May 2009 13:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177862#M561202</guid>
      <dc:creator>Stephen Grecni</dc:creator>
      <dc:date>2009-05-27T13:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177863#M561203</link>
      <description>&lt;BR /&gt;Yes stephen&lt;BR /&gt;u have already enough space in the volume group 1711*4&lt;BR /&gt;but u can't extend the logical volume.Normally this issue is mainly due to the patch level.&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;sajjad Sahir</description>
      <pubDate>Wed, 27 May 2009 13:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/5177863#M561203</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-05-27T13:59:42Z</dc:date>
    </item>
  </channel>
</rss>

