<?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 LVM Question: lvcreate command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716279#M645239</link>
    <description>After extending a existing volume (vg01) with several new physical disks (c2t1d0, c3t0d0), I would like to create a logical volume to one of the new disk so that the file system will use only that disk.  Using the lvcreate command, what is the correct syntax to create a logical volume to a specific disk?</description>
    <pubDate>Fri, 03 May 2002 01:03:49 GMT</pubDate>
    <dc:creator>LG Porter</dc:creator>
    <dc:date>2002-05-03T01:03:49Z</dc:date>
    <item>
      <title>LVM Question: lvcreate command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716279#M645239</link>
      <description>After extending a existing volume (vg01) with several new physical disks (c2t1d0, c3t0d0), I would like to create a logical volume to one of the new disk so that the file system will use only that disk.  Using the lvcreate command, what is the correct syntax to create a logical volume to a specific disk?</description>
      <pubDate>Fri, 03 May 2002 01:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716279#M645239</guid>
      <dc:creator>LG Porter</dc:creator>
      <dc:date>2002-05-03T01:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Question: lvcreate command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716280#M645240</link>
      <description>The syntax is &lt;BR /&gt;lvcreate -L size -n lv_name vg_name&lt;BR /&gt;&lt;BR /&gt;man lvcreate for more.&lt;BR /&gt;&lt;BR /&gt;Since you have a couple of pv in your vg01, pv, lv and vg are all from logical point, I don't think you can do it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 01:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716280#M645240</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-05-03T01:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Question: lvcreate command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716281#M645241</link>
      <description>First you would create your LV without specifying the size. Then you would lvextend it with the size you wanted to the PV(disk) that you want it to reside.&lt;BR /&gt;EX:&lt;BR /&gt;&lt;BR /&gt;# lvcreate -n lvol4 /dev/vg01&lt;BR /&gt;# lvextend -L 800 /dev/vg01/lvol4 /dev/dsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;Check it afterwards ..&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg01/lvol4 | more&lt;BR /&gt;# pvdisplay -v /dev/dsk/c2t1d0</description>
      <pubDate>Fri, 03 May 2002 01:12:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716281#M645241</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-05-03T01:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Question: lvcreate command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716282#M645242</link>
      <description>I think S.K. Chan is correct, pls ignore my first post, sorry for about it.&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 01:16:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716282#M645242</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-05-03T01:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Question: lvcreate command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716283#M645243</link>
      <description>Hi,&lt;BR /&gt;As an extra "add-on"&lt;BR /&gt;If some (part of) the logical volume doesn't end up where you want it, use pvmove to replace it. It's slow, but it works ONLINE. I consider it as one of the best LVM tools around. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Fri, 03 May 2002 03:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716283#M645243</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-05-03T03:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Question: lvcreate command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716284#M645244</link>
      <description>&lt;BR /&gt;To add to SK's post, the size for L would be in Megabytes.&lt;BR /&gt;&lt;BR /&gt;Here is a LVM quick reference link:&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=51ed1c020f23f4057b/screen=ckiDisplayDocument?docId=200000058994424" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=51ed1c020f23f4057b/screen=ckiDisplayDocument?docId=200000058994424&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;-raj</description>
      <pubDate>Fri, 03 May 2002 03:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716284#M645244</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2002-05-03T03:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Question: lvcreate command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716285#M645245</link>
      <description>Create the lvol the same size as the disk. However, to force the lvol to a specific disk, use lvcreate with no length option. This creates a zero-length which you can extend using lvextend. lvextend can specify exactly which disk to use for the lvol.&lt;BR /&gt;&lt;BR /&gt;Before you extend the lvol, use vgdisplay -v to determine the number of free extents on the desired disk. Then use lvextend -l free-extent-num /dev/vgXX/lvolYY /dev/dsk/WhatEver and recheck with vgdisplay.  Once allocation is correct, then you can create the filesystem and mount the lvol.</description>
      <pubDate>Fri, 03 May 2002 10:40:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question-lvcreate-command/m-p/2716285#M645245</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-05-03T10:40:31Z</dc:date>
    </item>
  </channel>
</rss>

