<?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: Creating a logical volume from shell? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303092#M184136</link>
    <description>you would use the lvcreate command&lt;BR /&gt;see the lvcreate man page for possible options that you'll need to use</description>
    <pubDate>Fri, 11 Jun 2004 14:46:10 GMT</pubDate>
    <dc:creator>curt larson_1</dc:creator>
    <dc:date>2004-06-11T14:46:10Z</dc:date>
    <item>
      <title>Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303091#M184135</link>
      <description>I am working on adding multiple logical volumes, I can use SAM however I'd prefer to create them from the shell.&lt;BR /&gt;&lt;BR /&gt;I've got multiple volume groups with available space, I have to setup informix databases using RAW space, &lt;BR /&gt;&lt;BR /&gt;how can I create the logical volume below&lt;BR /&gt;/dev/vg## without having to go into SAM?</description>
      <pubDate>Fri, 11 Jun 2004 14:44:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303091#M184135</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-06-11T14:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303092#M184136</link>
      <description>you would use the lvcreate command&lt;BR /&gt;see the lvcreate man page for possible options that you'll need to use</description>
      <pubDate>Fri, 11 Jun 2004 14:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303092#M184136</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-06-11T14:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303093#M184137</link>
      <description>Curt, &lt;BR /&gt;it is pretty cryptic. &lt;BR /&gt;&lt;BR /&gt;From the man page I can see HOW to create one, but on how to point to the Volume Group.. If it is created by default in the correct VG will it work OK?</description>
      <pubDate>Fri, 11 Jun 2004 14:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303093#M184137</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-06-11T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303094#M184138</link>
      <description>Hi rex,&lt;BR /&gt;&lt;BR /&gt;Use the following&lt;BR /&gt;&lt;BR /&gt;lvcreate -L XXXXX -n lv_name /dev/vg_name&lt;BR /&gt;&lt;BR /&gt;where XXXXX=size in MB. If you're going to want a mirror then add -m 1  If you want it striped then add -i x -I YYY where x=number of disks in the stripe (stripe count) &amp;amp; YYY=stripe size in KB (must be power of 2)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 11 Jun 2004 14:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303094#M184138</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-06-11T14:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303095#M184139</link>
      <description>Thanks I'll give it a shot..</description>
      <pubDate>Fri, 11 Jun 2004 14:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303095#M184139</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-06-11T14:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303096#M184140</link>
      <description>Maybe this is better:&lt;BR /&gt;&lt;BR /&gt;lvcreate -L &lt;SIZE in="" mb=""&gt; -n &lt;NAME&gt; &lt;VOLUME group=""&gt;&lt;BR /&gt;&lt;BR /&gt;IIRC, you can leave out the -n switch and it'll create it with a lvol## format.&lt;BR /&gt;&lt;BR /&gt;Then you can check it with:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/&lt;VOLUME group=""&gt;/&lt;LOGICAL volume=""&gt;&lt;BR /&gt;&lt;BR /&gt;If you're not creating raw volumes, you need to do this:&lt;BR /&gt;&lt;BR /&gt;newfs -F vxfs /dev/&lt;VG&gt;/&lt;RAWDEV&gt;&lt;BR /&gt;&lt;BR /&gt;Then add it to you fstab and mount it.&lt;BR /&gt;&lt;BR /&gt;&lt;/RAWDEV&gt;&lt;/VG&gt;&lt;/LOGICAL&gt;&lt;/VOLUME&gt;&lt;/VOLUME&gt;&lt;/NAME&gt;&lt;/SIZE&gt;</description>
      <pubDate>Fri, 11 Jun 2004 14:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303096#M184140</guid>
      <dc:creator>Marc Smith</dc:creator>
      <dc:date>2004-06-11T14:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303097#M184141</link>
      <description>Since you're wanting raw volumes then you can skip the next step of filesystem creation.&lt;BR /&gt;You just start using /dev/vg_name/lv_name&lt;BR /&gt;But you should consider putting *commented* entries in the /etc/fstab as a reminder or a placeholder if you will for those LVs you've created in those VGs because they'll never show up in a bdf output &amp;amp; can become forgotten over time.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 11 Jun 2004 14:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303097#M184141</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-06-11T14:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303098#M184142</link>
      <description>Marc's correct - you don't *need* the -n lv_name. It will give you the next lvolX value by default.&lt;BR /&gt;BUT I hate that. I want my lv_name to tell me just what the heck that LV's for. I want it to have meaning - not just another number. Just my preference.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 11 Jun 2004 15:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303098#M184142</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-06-11T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303099#M184143</link>
      <description>Wow...I don't know how I missed where you said you wanted raw volumes...Oh well, It's Friday. ;)</description>
      <pubDate>Fri, 11 Jun 2004 15:01:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303099#M184143</guid>
      <dc:creator>Marc Smith</dc:creator>
      <dc:date>2004-06-11T15:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303100#M184144</link>
      <description>Ok, &lt;BR /&gt;&lt;BR /&gt;I am starting to get confused so let me run this past you all.&lt;BR /&gt;&lt;BR /&gt;for example if I use: &lt;BR /&gt;lvcreate -L 1048576 -n plvdbs /dev/vg02 &lt;BR /&gt;&lt;BR /&gt;It will create the RAW logical called plvdbs since I am not creating a VXFS? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 15:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303100#M184144</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-06-11T15:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303101#M184145</link>
      <description>Yep.  It's the newfs command that creates the filesystem.  You will have a raw volume as long as you don't run newfs.&lt;BR /&gt;&lt;BR /&gt;Sorry for the confusion.</description>
      <pubDate>Fri, 11 Jun 2004 15:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303101#M184145</guid>
      <dc:creator>Marc Smith</dc:creator>
      <dc:date>2004-06-11T15:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303102#M184146</link>
      <description>cool.. &lt;BR /&gt;&lt;BR /&gt;We are heading in an upgrade and need to parallel 22 informix spaces.. I will script it and be done with it.. &lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 15:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303102#M184146</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-06-11T15:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303103#M184147</link>
      <description>What size are you looking for?&lt;BR /&gt;&lt;BR /&gt;The '-L 1048576' will create a 1,048,576 MB = 1,024 GB = 1 TB Volume.  Do you want 1 TB?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 15:20:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303103#M184147</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-06-11T15:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303104#M184148</link>
      <description>no.. 1 Gb. or 512m for the most of them</description>
      <pubDate>Fri, 11 Jun 2004 15:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303104#M184148</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-06-11T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303105#M184149</link>
      <description>You must remember then that you specify the size with the -L option in MB.  So if you want 1 GB (1,024 MB) then it is '-L 1024' and if you want 512 MB then it is '-L 512'.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 15:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303105#M184149</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-06-11T15:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a logical volume from shell?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303106#M184150</link>
      <description>Thanks Patrick for clarifying the size.. &lt;BR /&gt;And Mark and Jeff for the assist..</description>
      <pubDate>Fri, 11 Jun 2004 15:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-logical-volume-from-shell/m-p/3303106#M184150</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-06-11T15:30:28Z</dc:date>
    </item>
  </channel>
</rss>

