<?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: Create Logical volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118920#M727014</link>
    <description>Nice script Doug, but for somebody who asked how to use lvcreate this script may be overkill &lt;BR /&gt;;-)&lt;BR /&gt;Or not?</description>
    <pubDate>Wed, 19 Dec 2007 13:56:06 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2007-12-19T13:56:06Z</dc:date>
    <item>
      <title>Create Logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118916#M727010</link>
      <description>&lt;!--!*#--&gt;Hi All&lt;BR /&gt;&lt;BR /&gt;   I am planning to create several lvol(lvol1, lvol2,lvol3) in my new volume group(VG05). Please guide me to create those logical volumes in CLI mode.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Niru &lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 13:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118916#M727010</guid>
      <dc:creator>Shehan</dc:creator>
      <dc:date>2007-12-19T13:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create Logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118917#M727011</link>
      <description>Basic usage is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60105/lvcreate.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60105/lvcreate.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Do you want to mirror the LVOLs and if, how many disks are in that VG?</description>
      <pubDate>Wed, 19 Dec 2007 13:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118917#M727011</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-12-19T13:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118918#M727012</link>
      <description>hi niru ;&lt;BR /&gt;&lt;BR /&gt;the basic create command is &lt;BR /&gt;&lt;BR /&gt;lvcreate -n lvname1 -L sizeinMB vg05 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;without striping or mirrorring.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hasan&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 13:15:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118918#M727012</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2007-12-19T13:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create Logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118919#M727013</link>
      <description>&lt;!--!*#--&gt;Hey;&lt;BR /&gt;&lt;BR /&gt;Basic usage information can be found at &lt;A href="http://www.olearycomputers.com/ll/hplvcreate.html" target="_blank"&gt;http://www.olearycomputers.com/ll/hplvcreate.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The way I normally do this is to create a data file:&lt;BR /&gt;&lt;BR /&gt;#VG   LV     SIZE  MP&lt;BR /&gt;######################&lt;BR /&gt;vg05  lvol1  2048  /oracle&lt;BR /&gt;vg05  lvol2  1024  /oracle/fs1&lt;BR /&gt;vg05  lvol3   512  /oracle/fs2&lt;BR /&gt;vg05  lvol4  8196  /oracle/fs3&lt;BR /&gt;vg05  lvol5  8196  /oracle/fs4&lt;BR /&gt;&lt;BR /&gt;Then, you read through the data file:&lt;BR /&gt;&lt;BR /&gt;grep -v ^# ${file | while read vg lv size&lt;BR /&gt;do&lt;BR /&gt;   echo lvcreate -L ${size} -n ${lv} ${vg}&lt;BR /&gt;   [[ ${size} -gt 2048 ]] &amp;amp;&amp;amp; args="-o largefiles" || args=""&lt;BR /&gt;   echo newfs -F vxfs ${args} /dev/${vg}/r${lv}&lt;BR /&gt;   [[ ! -d ${mp} ]] &amp;amp;&amp;amp; mkdir -p -m 755 ${mp}&lt;BR /&gt;   [[ ${size} -gt 2048 ]] &amp;amp;&amp;amp; args=",largefiles" || args=""&lt;BR /&gt;   echo "${lv} ${mp} vxfs delaylog${args} 0 2" &amp;gt;&amp;gt; /etc/fstab&lt;BR /&gt;   echo mount ${mp}&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;If that looks right, remove the echos.&lt;BR /&gt;&lt;BR /&gt;Doug O'Leary&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 13:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118919#M727013</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-12-19T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create Logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118920#M727014</link>
      <description>Nice script Doug, but for somebody who asked how to use lvcreate this script may be overkill &lt;BR /&gt;;-)&lt;BR /&gt;Or not?</description>
      <pubDate>Wed, 19 Dec 2007 13:56:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118920#M727014</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-12-19T13:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118921#M727015</link>
      <description>lol! Probably.  I refer you to my personal quote:&lt;BR /&gt;&lt;BR /&gt;"A good script will make an admin's day... A bad one will ruin it."&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 19 Dec 2007 14:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118921#M727015</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-12-19T14:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118922#M727016</link>
      <description>totally agree with you :-)</description>
      <pubDate>Wed, 19 Dec 2007 14:12:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-logical-volume/m-p/4118922#M727016</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-12-19T14:12:10Z</dc:date>
    </item>
  </channel>
</rss>

