<?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 Lvol creation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343099#M191073</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have 4 PV c8t1d0,c8t1d1,c8t1d2,c8t1d3. I have created a vg01 with this 4 PV. I need to create 3 lvols such that c8t1d0 will be in lvol1, c8t1d1 and c8t1d2 will be in lvol2 and c8t1d3 will be on lvol3. I will not use any striping. What will be the command for creating this three lvol.</description>
    <pubDate>Wed, 28 Jul 2004 05:39:39 GMT</pubDate>
    <dc:creator>M. Tariq Ayub</dc:creator>
    <dc:date>2004-07-28T05:39:39Z</dc:date>
    <item>
      <title>Lvol creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343099#M191073</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have 4 PV c8t1d0,c8t1d1,c8t1d2,c8t1d3. I have created a vg01 with this 4 PV. I need to create 3 lvols such that c8t1d0 will be in lvol1, c8t1d1 and c8t1d2 will be in lvol2 and c8t1d3 will be on lvol3. I will not use any striping. What will be the command for creating this three lvol.</description>
      <pubDate>Wed, 28 Jul 2004 05:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343099#M191073</guid>
      <dc:creator>M. Tariq Ayub</dc:creator>
      <dc:date>2004-07-28T05:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Lvol creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343100#M191074</link>
      <description>Hi,&lt;BR /&gt;I don't know what are you going to achieve &lt;BR /&gt;by that...&lt;BR /&gt;Anyways&lt;BR /&gt;I dont think it's so simple with LVM but &lt;BR /&gt;i will advise you to create 4 vg's instead and allot the full vg to a single LV.&lt;BR /&gt;&lt;BR /&gt;say you can create &lt;BR /&gt;vg01 = c8t1d1&lt;BR /&gt;vg02 = c8t1d2&lt;BR /&gt;vg03 = c8t1d3&lt;BR /&gt;vg04 = c8t1d4&lt;BR /&gt;then create single LV's on each above vg's.&lt;BR /&gt;This will also be simple and helpful for data&lt;BR /&gt;recovery and failure of disks..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2004 06:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343100#M191074</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-28T06:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lvol creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343101#M191075</link>
      <description>lvcreate -n lvol1 /dev/vg01 &lt;BR /&gt;lvcreate -n lvol2 /dev/vg01 &lt;BR /&gt;lvcreate -n lvol3 /dev/vg01 &lt;BR /&gt;&lt;BR /&gt;Replace -l X with the number of extents to allocate to each lvol:&lt;BR /&gt;lvextend -l X /dev/vg01/lvol1 /dev/dsk/c8t1d0&lt;BR /&gt;lvextend -l X /dev/vg01/lvol2 /dev/dsk/c8t1d2&lt;BR /&gt;lvextend -l X /dev/vg01/lvol3 /dev/dsk/c8t1d3&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2004 06:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343101#M191075</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-07-28T06:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lvol creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343102#M191076</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'll recomend you the following schema:&lt;BR /&gt;lvol1 --&amp;gt; vg01 --&amp;gt; c8t1d0&lt;BR /&gt;lvol2 --&amp;gt; vg02 --&amp;gt; c8t1d1, c8t1d2&lt;BR /&gt;lvol3 --&amp;gt; vg03 --&amp;gt; c8t1d3&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;pvcreate -f /dev/rdsk/c8t1d0&lt;BR /&gt;mkdir -p /dev/vg01&lt;BR /&gt;mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;vgcreate vg01  /dev/dsk/c8t1d0&lt;BR /&gt;lvcreate -L &lt;TOTAL_KB_SIZE&gt; -n lvol1 vg01&lt;BR /&gt;newfs -F vxfs /dev/vg01/rlvol1&lt;BR /&gt;fsadm -F vxfs -o largefiles /dev/vg01/rlvol1&lt;BR /&gt;mkdir -p /&lt;MOUNT_DIR&gt;&lt;BR /&gt;mount /dev/vg01/lvol1 /&lt;MOUNT_DIR&gt;&lt;BR /&gt;#&lt;BR /&gt;pvcreate -f /dev/rdsk/c8t1d1&lt;BR /&gt;pvcreate -f /dev/rdsk/c8t1d2&lt;BR /&gt;mkdir -p /dev/vg02&lt;BR /&gt;mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;vgcreate vg02  /dev/dsk/c8t1d1 /dev/rdsk/c8t1d2&lt;BR /&gt;lvcreate -L &lt;TOTAL_KB_SIZE&gt; -n lvol2 vg02&lt;BR /&gt;newfs -F vxfs /dev/vg02/rlvol2&lt;BR /&gt;fsadm -F vxfs -o largefiles /dev/vg02/rlvol2&lt;BR /&gt;mkdir -p /&lt;MOUNT_DIR&gt;&lt;BR /&gt;mount /dev/vg02/lvol2 /&lt;MOUNT_DIR&gt;&lt;BR /&gt;#&lt;BR /&gt;pvcreate -f /dev/rdsk/c8t1d3&lt;BR /&gt;mkdir -p /dev/vg03&lt;BR /&gt;mknod /dev/vg03/group c 64 0x030000&lt;BR /&gt;vgcreate vg02  /dev/dsk/c8t1d3&lt;BR /&gt;lvcreate -L &lt;TOTAL_KB_SIZE&gt; -n lvol3 vg03&lt;BR /&gt;newfs -F vxfs /dev/vg03/rlvol3&lt;BR /&gt;fsadm -F vxfs -o largefiles /dev/vg03/rlvol3&lt;BR /&gt;mkdir -p /&lt;MOUNT_DIR&gt;&lt;BR /&gt;mount /dev/vg03/lvol3 /&lt;MOUNT_DIR&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/MOUNT_DIR&gt;&lt;/MOUNT_DIR&gt;&lt;/TOTAL_KB_SIZE&gt;&lt;/MOUNT_DIR&gt;&lt;/MOUNT_DIR&gt;&lt;/TOTAL_KB_SIZE&gt;&lt;/MOUNT_DIR&gt;&lt;/MOUNT_DIR&gt;&lt;/TOTAL_KB_SIZE&gt;</description>
      <pubDate>Wed, 28 Jul 2004 06:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343102#M191076</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-07-28T06:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lvol creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343103#M191077</link>
      <description>Hi I want to give two disks to lvol2. so what should be the command&lt;BR /&gt;&lt;BR /&gt;lvextend -l X /dev/vg01/lvol2 /dev/dsk/c8t1d1 /dev/dsk/c8t1d2</description>
      <pubDate>Wed, 28 Jul 2004 06:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343103#M191077</guid>
      <dc:creator>M. Tariq Ayub</dc:creator>
      <dc:date>2004-07-28T06:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Lvol creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343104#M191078</link>
      <description>I apologize for the oversight in my original answer.  &lt;BR /&gt;&lt;BR /&gt;You have the correct syntax.&lt;BR /&gt;&lt;BR /&gt;You can also specify -l (lower case L) to specify the extent size, or -L (upper case) to specify the size in Megabytes rather than extents.&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="http://www.docs.hp.com/hpux/onlinedocs/B2355-90691/00/01/199-con.html" target="_blank"&gt;http://www.docs.hp.com/hpux/onlinedocs/B2355-90691/00/01/199-con.html&lt;/A&gt;  for further  explanation of -l and -L.</description>
      <pubDate>Wed, 28 Jul 2004 06:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvol-creation/m-p/3343104#M191078</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-07-28T06:24:10Z</dc:date>
    </item>
  </channel>
</rss>

