<?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 lvcreate error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663668#M644041</link>
    <description>Hi &lt;BR /&gt;I tried to create a new LV in /dev/vg00 with the command:&lt;BR /&gt;# lvcreate -L 8000 -m 1 /dev/vg00&lt;BR /&gt;I get the following error:&lt;BR /&gt;"lvcreate: Logical Vol /dev/vg00/lvol8 already exists."&lt;BR /&gt;This is true as lvol8 is /var but why doesn't lvcreate just choose the next avail lvol number.&lt;BR /&gt;If I use the -n option &amp;amp; specify the next lvol number everything works fine.  Im just curious why this happens.&lt;BR /&gt;Any help appreciated.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
    <pubDate>Wed, 13 Feb 2002 01:22:15 GMT</pubDate>
    <dc:creator>Conal O'Kelly</dc:creator>
    <dc:date>2002-02-13T01:22:15Z</dc:date>
    <item>
      <title>lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663668#M644041</link>
      <description>Hi &lt;BR /&gt;I tried to create a new LV in /dev/vg00 with the command:&lt;BR /&gt;# lvcreate -L 8000 -m 1 /dev/vg00&lt;BR /&gt;I get the following error:&lt;BR /&gt;"lvcreate: Logical Vol /dev/vg00/lvol8 already exists."&lt;BR /&gt;This is true as lvol8 is /var but why doesn't lvcreate just choose the next avail lvol number.&lt;BR /&gt;If I use the -n option &amp;amp; specify the next lvol number everything works fine.  Im just curious why this happens.&lt;BR /&gt;Any help appreciated.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Wed, 13 Feb 2002 01:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663668#M644041</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-02-13T01:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663669#M644042</link>
      <description>Hi conan,&lt;BR /&gt;&lt;BR /&gt;Can you post these two outputs.&lt;BR /&gt;&lt;BR /&gt;ll /dev/vg00&lt;BR /&gt;vgdisplay -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Feb 2002 01:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663669#M644042</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-02-13T01:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663670#M644043</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I suspect it may have something &lt;BR /&gt;to do with the mirroring option.&lt;BR /&gt;As suggested, post the vgdisplay &lt;BR /&gt;output.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Wed, 13 Feb 2002 01:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663670#M644043</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-13T01:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663671#M644044</link>
      <description>Hi,&lt;BR /&gt;As sanjay suggested please let us know those two outputs.I think this is related to minor number of the lvols.&lt;BR /&gt;If you specify the -n lv_name option, a new logical volume is created&lt;BR /&gt;with that name.  Otherwise, a system-generated name of the form lvolN&lt;BR /&gt;is created, where N is the decimal equivalent of the two least&lt;BR /&gt;significant bytes of the minor number of the new logical volume, in&lt;BR /&gt;the range 1 to 255 .</description>
      <pubDate>Wed, 13 Feb 2002 01:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663671#M644044</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2002-02-13T01:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663672#M644045</link>
      <description />
      <pubDate>Wed, 13 Feb 2002 01:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663672#M644045</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-02-13T01:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663673#M644046</link>
      <description>Hi Conal,&lt;BR /&gt;&lt;BR /&gt;I don't see any reason why the system should be trying to create lvol8 when it alredy exists. The lvol11 is missing, but that could very well be deleted. This could be a patch issue. Do you have lvm command / cumulative patches on this box that has warning issued against them. You can check if there are any warning for those patches.&lt;BR /&gt;&lt;BR /&gt;Animesh and Michael, can you think of any reason why this problem should be occuring.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanjay&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Feb 2002 02:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663673#M644046</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-02-13T02:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663674#M644047</link>
      <description>don't know if this will help; might spark something for someone. (my test box isn't patched.. yet)&lt;BR /&gt;&lt;BR /&gt;have a vg with 10 lvols, lvol1 - lvol10.&lt;BR /&gt;&lt;BR /&gt;# lvcreate -n lvol12 /dev/vgtmp&lt;BR /&gt;--&amp;gt; good&lt;BR /&gt;&lt;BR /&gt;# lvcreate /dev/vgtmp&lt;BR /&gt;--&amp;gt; no good "lvol12 exists"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I create lvol -n 11 (next in order, remove lvol12 1st) then follow it up w/ lvcreate (no -n) it created lvol12, no error. from the output of your vgdisplay and ll I think it might be something like this; since it appears lvols have been removed recreated, etc... I think the 1st place I'd look is at patches and their descriptions on what symptoms are.</description>
      <pubDate>Wed, 13 Feb 2002 02:49:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663674#M644047</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2002-02-13T02:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663675#M644048</link>
      <description>Thanks for the feedback guys. Patch levels are a little behind - up to March 2001 bundle.  However I have checked latest lvm cumulative patch (PHCO_24437) &amp;amp; couldn't see any mention of this problem.  &lt;BR /&gt;There has been a fair amount of adding/removing lv's etc from /dev/vg00 so maybe this accounts for it like Denver suggested. If I find anything more I'll let you know.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Feb 2002 04:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663675#M644048</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-02-13T04:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663676#M644049</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is part of the 'lvcreate' man page which tends to indicate what has been written by Denver. &lt;BR /&gt;&lt;BR /&gt;If you specify the -n lv_name option, a new logical volume is created with that name.  Otherwise, a system-generated name of the form lvolN is created, where N is the decimal equivalent of the two least significant bytes of the minor number of the new logical volume, in the range 1 to 255 (see lvm(7)).  Two device files are created in vg_name: a block device file named lv_name or lvolN, and a character (raw) device file named rlv_name or rlvolN.&lt;BR /&gt;&lt;BR /&gt;Because of the autogeneration of the numbering and what you have written, I would guess that the automatic numbering has got itself screwed up.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Wed, 13 Feb 2002 04:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate-error/m-p/2663676#M644049</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-13T04:47:08Z</dc:date>
    </item>
  </channel>
</rss>

