<?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: lvcreate in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152862#M157869</link>
    <description>Indeed. The minor numbers are looking good, you're just missing that lvol35.&lt;BR /&gt;&lt;BR /&gt;It will take a lot of mounting, unmounting and (don't forget !!) editing fstab, but it will be ok when you rename 36 to 35, 37 to 36 and so on.&lt;BR /&gt;&lt;BR /&gt;It's a dirty job, but..&lt;BR /&gt;&lt;BR /&gt;greets&lt;BR /&gt;Wout</description>
    <pubDate>Mon, 29 Dec 2003 09:32:44 GMT</pubDate>
    <dc:creator>Wouter Jagers</dc:creator>
    <dc:date>2003-12-29T09:32:44Z</dc:date>
    <item>
      <title>lvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152857#M157864</link>
      <description>Hello people,&lt;BR /&gt;&lt;BR /&gt;When I create a logical volume on vg01, I get the following error:&lt;BR /&gt;#lvcreate -L 100 vg01&lt;BR /&gt;lvcreate: Logical volume "/dev/vg01/lvol48" already exists.&lt;BR /&gt;&lt;BR /&gt;So I looked at /dev/vg01 directory and I noticed that there is a difference between the device file names and their minor numbers. lvols 1-34 are ok: their minor numbers are 0x010001-0x010022.&lt;BR /&gt;lvol 35 does not exist. lvol 36 has minor number 0x010023 instead of 0x010024. The mess continues until lvol 49, which has minor number 0x01002f (47 in decimal). So, when I run lvcreate, it looks for the first free minor number, which is 0x010030 (48 in decimal), but it fails because lvol48 already exists.&lt;BR /&gt;&lt;BR /&gt;Does anyone knows how to fix this problem? I don't want to use lvcreate -n every time I want to create a logical volume.&lt;BR /&gt;&lt;BR /&gt;Thanx.</description>
      <pubDate>Sun, 28 Dec 2003 06:34:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152857#M157864</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2003-12-28T06:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152858#M157865</link>
      <description>Cleaning up the minor numbers almost always fixes this.&lt;BR /&gt;&lt;BR /&gt;If the minor number does not belong removal is in order.&lt;BR /&gt;&lt;BR /&gt;doing a -n with proper automated names will still leave you with a volume group you can export and import.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 28 Dec 2003 08:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152858#M157865</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-28T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152859#M157866</link>
      <description>Humm .. worst case will be to vgexport without (NO) "-m" option then vgimport this will reset all lvols. &lt;BR /&gt;can you list vgdisplay vg01 ? check Cur PV &amp;amp; Act PV &amp;amp; open LV ... all that good stuff.&lt;BR /&gt;I would try vgxport/vgimport, but you have to deactivate vg b4 vgexporting, that means unmounting filesystems first. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Dec 2003 10:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152859#M157866</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2003-12-28T10:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152860#M157867</link>
      <description>vgexport/vgimport solution is risky: after doing vgimport without -m option, I wont know the proper order of the new lvols (for example, I wont know what was the previous name of lvol35).&lt;BR /&gt;&lt;BR /&gt;What do you mean in "cleaning up the minor numbers"?&lt;BR /&gt;&lt;BR /&gt;10x.</description>
      <pubDate>Mon, 29 Dec 2003 04:29:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152860#M157867</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2003-12-29T04:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152861#M157868</link>
      <description>I don't think you can change the minor numbers.  But you CAN change the LV-names:&lt;BR /&gt;&lt;BR /&gt;If the file system is not part of the "boot sequence", you can just&lt;BR /&gt;&lt;BR /&gt;                umount /fs&lt;BR /&gt;                cd /dev/vgXX&lt;BR /&gt;                mv block_old block_new&lt;BR /&gt;                mv raw_old raw_new&lt;BR /&gt;                vi /etc/fstab&lt;BR /&gt;                        change old to new&lt;BR /&gt;                mount /fs&lt;BR /&gt;&lt;BR /&gt;You can change /dev/vgXX/lvolNN to /dev/vgXX/lvolYY.&lt;BR /&gt;&lt;BR /&gt;But, I think you should get used to creating new lvols with the "-n lvolNN" option.  what's the problem there?</description>
      <pubDate>Mon, 29 Dec 2003 09:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152861#M157868</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-12-29T09:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152862#M157869</link>
      <description>Indeed. The minor numbers are looking good, you're just missing that lvol35.&lt;BR /&gt;&lt;BR /&gt;It will take a lot of mounting, unmounting and (don't forget !!) editing fstab, but it will be ok when you rename 36 to 35, 37 to 36 and so on.&lt;BR /&gt;&lt;BR /&gt;It's a dirty job, but..&lt;BR /&gt;&lt;BR /&gt;greets&lt;BR /&gt;Wout</description>
      <pubDate>Mon, 29 Dec 2003 09:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152862#M157869</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2003-12-29T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: lvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152863#M157870</link>
      <description>You can change the minor number with another unique one:&lt;BR /&gt;crw-r-----   1 root  sys  64 0x000004 Aug 21 08:58 /dev/vg00/rlvol4&lt;BR /&gt;&lt;BR /&gt;here is an example :&lt;BR /&gt;# mknod /dev/vg00/rlvol4 c 64 0x00000a&lt;BR /&gt;# mknod /dev/vg00/lvol4 b 64 0x00000a &lt;BR /&gt;# ll /dev/vg00/*lvol4                 &lt;BR /&gt;brw-rw-rw-   1 root       sys         64 0x00000a Dec 27 14:08 /dev/vg00/lvol4&lt;BR /&gt;crw-rw-rw-   1 root       sys         64 0x00000a Dec 27 14:06 /dev/vg00/rlvol4&lt;BR /&gt;&lt;BR /&gt;Happy 200.4 all</description>
      <pubDate>Mon, 29 Dec 2003 09:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvcreate/m-p/3152863#M157870</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2003-12-29T09:41:56Z</dc:date>
    </item>
  </channel>
</rss>

