<?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/2829648#M635121</link>
    <description>Since you are using the distributed allocation policy I assume that the the lvol is PVG-strict.&lt;BR /&gt;&lt;BR /&gt;In this case there needs to be an /etc/lvmpvg file specifying at least one PVG (or more if the lvol is mirrored). Maybe your /etc/lvmpvg is missing or does not contain enouth PVGs with enough disks? See man lvmpvg(4).&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
    <pubDate>Mon, 21 Oct 2002 07:47:13 GMT</pubDate>
    <dc:creator>Dietmar Konermann</dc:creator>
    <dc:date>2002-10-21T07:47:13Z</dc:date>
    <item>
      <title>lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829640#M635113</link>
      <description>Hello people,&lt;BR /&gt;&lt;BR /&gt;I hope that someone can help me or have a great suggestion. I have one vg that has 5 disks. 4 diks of 14gb and one disk of 7gb. Now I want to increase the size of a lvol on this vg and I get the message: lvextend: Not enough free physical extents available&lt;BR /&gt;&lt;BR /&gt;When I looked at the free physical extends of the diks I see the following:vgdisplay -v /dev/fnvg | egrep "PV Name|Free PE"&lt;BR /&gt;Free PE 6726    &lt;BR /&gt;PV Name /dev/dsk/c9t0d0&lt;BR /&gt;PV Name /dev/dsk/c19t8d0 Alternate Link &lt;BR /&gt;Free PE 1660    &lt;BR /&gt;PV Name /dev/dsk/c9t8d0&lt;BR /&gt;PV Name /dev/dsk/c19t0d0 Alternate Link&lt;BR /&gt;Free PE 1688    &lt;BR /&gt;PV Name /dev/dsk/c9t8d2&lt;BR /&gt;PV Name /dev/dsk/c19t0d2 Alternate Link&lt;BR /&gt;Free PE 0       &lt;BR /&gt;PV Name /dev/dsk/c12t0d0&lt;BR /&gt;PV Name /dev/dsk/c22t8d0 Alternate Link&lt;BR /&gt;Free PE 1684    &lt;BR /&gt;PV Name /dev/dsk/c12t8d0&lt;BR /&gt;PV Name /dev/dsk/c22t0d0 Alternate Link&lt;BR /&gt;Free PE 1694&lt;BR /&gt;&lt;BR /&gt;On these disk there is extend base stripping. &lt;BR /&gt;So I think that the problem is that on the disk of 7gb there is no free PE left so you cannot enlarge the lv.&lt;BR /&gt;&lt;BR /&gt;But is their an easy way to make it work so I can extend the logical volume ?&lt;BR /&gt;&lt;BR /&gt;Thenks al lot. Greetings Bart</description>
      <pubDate>Mon, 21 Oct 2002 07:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829640#M635113</guid>
      <dc:creator>Hans Hendriks_1</dc:creator>
      <dc:date>2002-10-21T07:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829641#M635114</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Is the logical volume set to contiguous mode?  If so, then it needs the physical extents to be one after the other, and therefore cannot complete the extend, since most probably there is another logical volume on the way.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Vince</description>
      <pubDate>Mon, 21 Oct 2002 07:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829641#M635114</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2002-10-21T07:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829642#M635115</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If the lvol is extent striped and not 'properly' striped then you could stop the full disk from being considered by LVM by simply removing it from /etc/lvmpvg - just vi /etc/lvmpvg.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 21 Oct 2002 07:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829642#M635115</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-10-21T07:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829643#M635116</link>
      <description>I do not have a file /etc/lvmpvg. I have checked all my 6 machines but this file we do not have.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 07:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829643#M635116</guid>
      <dc:creator>Hans Hendriks_1</dc:creator>
      <dc:date>2002-10-21T07:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829644#M635117</link>
      <description>If you use extent based striping over say 5 disks then you need 5 disks with free space on in order to extend your lvol. One of your disks doesnt have any free PE - you need 5 disks with free PE in order to lvextend.&lt;BR /&gt;&lt;BR /&gt;If you cant free up any PE on the disk with none free then all you can do is create a new lvol on the 4 disks which do have free PE.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 07:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829644#M635117</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-10-21T07:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829645#M635118</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think it has to do with the striping.&lt;BR /&gt;Probably the best way to solve this is to backup the data in that volume group and create it all over with the right sizes and put the backed up data back from tape.&lt;BR /&gt;&lt;BR /&gt;C.</description>
      <pubDate>Mon, 21 Oct 2002 07:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829645#M635118</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2002-10-21T07:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829646#M635119</link>
      <description>Could you please post the output of the command lvdisplay -v &lt;LVOL&gt; where &lt;LVOL&gt; is the name of the LV that you are trying to extend. A full vgdisplay -v &lt;VG&gt; would also be useful.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/VG&gt;&lt;/LVOL&gt;&lt;/LVOL&gt;</description>
      <pubDate>Mon, 21 Oct 2002 07:43:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829646#M635119</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-10-21T07:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829647#M635120</link>
      <description>As you can see from the vgdisplay output, disk /dev/dsk/c12t0d0 does not have any free PEs.  Therefore you cannot extend the volume based on your striping policy.  The only way I can think of, is adding a 14GB disk and use the pvmove command to relocate the logical volume from /dev/dsk/c12t0d0 to another disk and then expand or just add the other disk in the group and expand.&lt;BR /&gt;George</description>
      <pubDate>Mon, 21 Oct 2002 07:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829647#M635120</guid>
      <dc:creator>George Petrides_1</dc:creator>
      <dc:date>2002-10-21T07:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829648#M635121</link>
      <description>Since you are using the distributed allocation policy I assume that the the lvol is PVG-strict.&lt;BR /&gt;&lt;BR /&gt;In this case there needs to be an /etc/lvmpvg file specifying at least one PVG (or more if the lvol is mirrored). Maybe your /etc/lvmpvg is missing or does not contain enouth PVGs with enough disks? See man lvmpvg(4).&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 21 Oct 2002 07:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829648#M635121</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-21T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829649#M635122</link>
      <description>BTW, the extent base allocation policy does NOT reqire "clean stripes". lvextend does simply take extents from a PVG using a round robin algo. If one PV is full then the remaining PVs are used.&lt;BR /&gt;&lt;BR /&gt;If your lvol is not mirrored then you may try to extend using a lvmpvg that contains all disks in a single PVG.&lt;BR /&gt;&lt;BR /&gt;VG /dev/fnvg&lt;BR /&gt;PVG PVG0&lt;BR /&gt;/dev/dsk/c9t0d0&lt;BR /&gt;/dev/dsk/c9t8d0&lt;BR /&gt;/dev/dsk/c9t8d2&lt;BR /&gt;/dev/dsk/c12t0d0&lt;BR /&gt;/dev/dsk/c12t8d0&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 07:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829649#M635122</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-21T07:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829650#M635123</link>
      <description />
      <pubDate>Mon, 21 Oct 2002 08:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829650#M635123</guid>
      <dc:creator>Hans Hendriks_1</dc:creator>
      <dc:date>2002-10-21T08:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829651#M635124</link>
      <description>Create /etc/lvmpvg as per Dietmar's post above containing the disks that you want the new extents to occupy then retry your lvextend.&lt;BR /&gt;&lt;BR /&gt;It may be version/patch related but on my test system with /etc/lvmpvg removed, I get the error:&lt;BR /&gt;lvextend: Error detected when reading from file "/etc/lvmpvg".&lt;BR /&gt;rather than &lt;BR /&gt;lvextend: Not enough free physical extents available&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 21 Oct 2002 08:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829651#M635124</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-10-21T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829652#M635125</link>
      <description>Yes it is true that I got the error: lvextend: Error detected when reading from file "/etc/lvmpvg". &lt;BR /&gt;&lt;BR /&gt;But I thought that was not the problem so I made that file with the rights it needed and then I got the message no free extends.</description>
      <pubDate>Mon, 21 Oct 2002 09:21:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829652#M635125</guid>
      <dc:creator>Hans Hendriks_1</dc:creator>
      <dc:date>2002-10-21T09:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829653#M635126</link>
      <description>lvextend requires the disk names to be in /etc/lvmpvg in order to extend a PVG-strict volume. &lt;BR /&gt;&lt;BR /&gt;/etc/lvmpvg must have existed when the volume was initially created, possibly on another server if the disks are shared.&lt;BR /&gt;&lt;BR /&gt;Having an empty /etc/lvmpvg stops the 'error reading' from message but as there are are no disk entries, you get the 'not enough extents' error.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 21 Oct 2002 09:31:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829653#M635126</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-10-21T09:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829654#M635127</link>
      <description>John what do you mean by disk names needing to be in order in /etc/lvmpvg?</description>
      <pubDate>Mon, 21 Oct 2002 09:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829654#M635127</guid>
      <dc:creator>SM_3</dc:creator>
      <dc:date>2002-10-21T09:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829655#M635128</link>
      <description>I didn't say that the disk names needed to be in order in /etc/lvmpvg, even though lvextend does allocate extents in the order specified.&lt;BR /&gt;&lt;BR /&gt;I said (or thought I did) that they had to be in the file - it looked as though Hans had simply created an empty lvmpvg.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 10:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829655#M635128</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-10-21T10:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829656#M635129</link>
      <description>You are true. I have made a empty file. But if I look all of my HP (6 pieces) machines I can not find on one of the systems the /etc/lvmpvg file. And when I make an new filesystem on the same volume and after that I extend it I nog get the message it works properly.</description>
      <pubDate>Mon, 21 Oct 2002 10:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829656#M635129</guid>
      <dc:creator>Hans Hendriks_1</dc:creator>
      <dc:date>2002-10-21T10:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829657#M635130</link>
      <description>But this particular filesystem has been created asd PVG-strict i.e. -D y -s g (see man lvextend)&lt;BR /&gt;&lt;BR /&gt;This means that /etc/lvmpvg must have existed when the LV was originally created and must exist for you to lvextend it. You just need to edit it as per Dietmar's post...&lt;BR /&gt;&lt;BR /&gt;VG /dev/fnvg &lt;BR /&gt;PVG PVG0 &lt;BR /&gt;/dev/dsk/c9t0d0 &lt;BR /&gt;/dev/dsk/c9t8d0 &lt;BR /&gt;/dev/dsk/c9t8d2 &lt;BR /&gt;/dev/dsk/c12t0d0 &lt;BR /&gt;/dev/dsk/c12t8d0 &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 21 Oct 2002 10:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829657#M635130</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-10-21T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829658#M635131</link>
      <description>Thanks a lot the latest suggestion works. This forem is great. Thanks again Bart.</description>
      <pubDate>Mon, 21 Oct 2002 10:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-error/m-p/2829658#M635131</guid>
      <dc:creator>Hans Hendriks_1</dc:creator>
      <dc:date>2002-10-21T10:31:10Z</dc:date>
    </item>
  </channel>
</rss>

