<?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: vgcreate issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647475#M379944</link>
    <description>Fizan,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; # vgcreate -s 16 -e 8750 /dev/sapvg /dev/dsk/c2t0d0 &lt;BR /&gt;&lt;BR /&gt;&amp;gt; when i define with -s -e vgcreate happens why can you plz explain?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- LVM facts: &lt;BR /&gt;&lt;BR /&gt;e= default PE per PV   (-e ) is  1016 ,&lt;BR /&gt;The maximum number of physical extents can be a value in the range 1 to 65535.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;s= default PE Size     (-s ) is  4MB.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-   -e max_pe&lt;BR /&gt;Set the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group. The default value for max_pe is 1016. However, if the size of any physical volume exceeds 1016 times the pe_size, the default value for max_pe is adjusted to match the physical volume size. The maximum number of physical extents can be a value in the range 1 to 65535.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- so to adjust according to this formula , you have to increase PE size or/and MAX_pe_per_PV , so that it will support according to  the PV size. ( You can check the PV size with :# diskinfo /dev/rdsk/c2t0d0 ) #  &lt;BR /&gt;&lt;BR /&gt;Also check this out:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/vgcreate.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/vgcreate.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Jun 2010 05:41:03 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2010-06-15T05:41:03Z</dc:date>
    <item>
      <title>vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647468#M379937</link>
      <description># vgcreate /dev/sapvg /dev/dsk/c2t0d0&lt;BR /&gt;Increased the number of physical extents per physical volume to 35003.&lt;BR /&gt;vgcreate: Volume group "/dev/sapvg" could not be created:&lt;BR /&gt;VGRA for the disk is too big for the specified parameters. Increase the&lt;BR /&gt;extent size or decrease max_PVs/max_LVs and try again.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 15 Jun 2010 02:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647468#M379937</guid>
      <dc:creator>fizan</dc:creator>
      <dc:date>2010-06-15T02:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647469#M379938</link>
      <description>which version of HP_UX?&lt;BR /&gt;you may have to use various parameter to create the vg&lt;BR /&gt;&lt;BR /&gt;-e max_pe&lt;BR /&gt;-l max_lv &lt;BR /&gt;-p max_pv&lt;BR /&gt;-s pe_size &lt;BR /&gt;&lt;BR /&gt;read man page for more information, what is the size of disk.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jun 2010 03:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647469#M379938</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-06-15T03:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647470#M379939</link>
      <description>uname -a&lt;BR /&gt;HP-UX rx260-16 B.11.23 U ia64 843 unlimited-user license&lt;BR /&gt;[rx260-16]/dev/sapvg&lt;BR /&gt;# model&lt;BR /&gt;ia64 hp server rx2600</description>
      <pubDate>Tue, 15 Jun 2010 03:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647470#M379939</guid>
      <dc:creator>fizan</dc:creator>
      <dc:date>2010-06-15T03:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647471#M379940</link>
      <description>can u pls try with&lt;BR /&gt;#vgcreate -s 64 /dev/sapvg /dev/dsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;if still problem exists, then increase the kernal parameter MAX_PV</description>
      <pubDate>Tue, 15 Jun 2010 03:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647471#M379940</guid>
      <dc:creator>SUDHAKAR_18</dc:creator>
      <dc:date>2010-06-15T03:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647472#M379941</link>
      <description># vgcreate -s 16 -e 8750 /dev/sapvg /dev/dsk/c2t0d0&lt;BR /&gt;Volume group "/dev/sapvg" has been successfully created.&lt;BR /&gt;Volume Group configuration for /dev/sapvg has been saved in /etc/lvmconf/sapvg.conf&lt;BR /&gt;[rx260-16]/dev/sapvg&lt;BR /&gt;# lvcreate -L 3548 -n bineshlv /dev/sapvg&lt;BR /&gt;Warning: rounding up logical volume size to extent boundary at size "3552" MB.&lt;BR /&gt;Logical volume "/dev/sapvg/bineshlv" has been successfully created with&lt;BR /&gt;character device "/dev/sapvg/rbineshlv".&lt;BR /&gt;Logical volume "/dev/sapvg/bineshlv" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/sapvg has been saved in /etc/lvmconf/sapvg.conf&lt;BR /&gt;[rx260-16]/dev/sapvg&lt;BR /&gt;# newfs /dev/sapvg/rbineshlv&lt;BR /&gt;newfs: /etc/default/fs is used for determining the file system type&lt;BR /&gt;    version 6 layout&lt;BR /&gt;    3637248 sectors, 3637248 blocks of size 1024, log size 16384 blocks&lt;BR /&gt;    largefiles supported&lt;BR /&gt;&lt;BR /&gt;when i define with -s -e vgcreate happens why can you plz explain?&lt;BR /&gt;bcoz of version in 11iv3 if i give just vgcreate /dev/sapvg /dev/dsk/c0...&lt;BR /&gt;it use to get created.</description>
      <pubDate>Tue, 15 Jun 2010 03:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647472#M379941</guid>
      <dc:creator>fizan</dc:creator>
      <dc:date>2010-06-15T03:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647473#M379942</link>
      <description>there is a limitation of max pv's.&lt;BR /&gt;if you have not mentioned pv size with -s option, then it will create with default pv size 4mb. but your disk size is high and max pv size exceeds in case of 11iv2 pv size is less compared to 11iv3.</description>
      <pubDate>Tue, 15 Jun 2010 03:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647473#M379942</guid>
      <dc:creator>SUDHAKAR_18</dc:creator>
      <dc:date>2010-06-15T03:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647474#M379943</link>
      <description>the parameter I listed basically decide the layout of the volume group.&lt;BR /&gt;how many PE per PV&lt;BR /&gt;how many max PV per VG.&lt;BR /&gt;etc etc&lt;BR /&gt;&lt;BR /&gt;so by default value are very less so if u created a huge VG you will have to increase PE size,PE per PV and other things.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Tue, 15 Jun 2010 04:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647474#M379943</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-06-15T04:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647475#M379944</link>
      <description>Fizan,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; # vgcreate -s 16 -e 8750 /dev/sapvg /dev/dsk/c2t0d0 &lt;BR /&gt;&lt;BR /&gt;&amp;gt; when i define with -s -e vgcreate happens why can you plz explain?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- LVM facts: &lt;BR /&gt;&lt;BR /&gt;e= default PE per PV   (-e ) is  1016 ,&lt;BR /&gt;The maximum number of physical extents can be a value in the range 1 to 65535.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;s= default PE Size     (-s ) is  4MB.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-   -e max_pe&lt;BR /&gt;Set the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group. The default value for max_pe is 1016. However, if the size of any physical volume exceeds 1016 times the pe_size, the default value for max_pe is adjusted to match the physical volume size. The maximum number of physical extents can be a value in the range 1 to 65535.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- so to adjust according to this formula , you have to increase PE size or/and MAX_pe_per_PV , so that it will support according to  the PV size. ( You can check the PV size with :# diskinfo /dev/rdsk/c2t0d0 ) #  &lt;BR /&gt;&lt;BR /&gt;Also check this out:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/vgcreate.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/vgcreate.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jun 2010 05:41:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647475#M379944</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-06-15T05:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647476#M379945</link>
      <description>&amp;gt; when i define with -s -e vgcreate happens why can you plz explain?&lt;BR /&gt;&amp;gt; bcoz of version in 11iv3 if i give just vgcreate /dev/sapvg /dev/dsk/c0...&lt;BR /&gt;it use to get created.&lt;BR /&gt; &lt;BR /&gt;The problem is that the default sizes for vgcreate are designed for small disks, less than 100 GB. Whenever you use vgcreate, get in the habit of using -s and -e no matter what. And in order to supply the values for PEsize and maxPE, you must first determine how big the largest disk (PV) will be, not just now but in the future. If you create a VG with a 100 GB disk, then extending the VG later with a 500 GB disk will fail because the maxPE is too small.&lt;BR /&gt; &lt;BR /&gt;With appropriate patches, you can use vgmodify to change maxPE but not PEsize. Try to keep the maxPE under 30-40k. The maximum is 65535 and can never be increased. It is better to have larger extents (-s 32) and a smaller PE count, especially for large disks (500-1000 GB and hgigher).</description>
      <pubDate>Tue, 15 Jun 2010 12:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-issue/m-p/4647476#M379945</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-06-15T12:51:26Z</dc:date>
    </item>
  </channel>
</rss>

