<?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 creation of PVG based VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739129#M548508</link>
    <description>Hi Gurus,&lt;BR /&gt;Its for my testing based environment.&lt;BR /&gt;I have a 11.31 box&lt;BR /&gt;with two controllers.&lt;BR /&gt;my plan is I should have a PVG as below:&lt;BR /&gt;&lt;BR /&gt;VG vg0x&lt;BR /&gt;PVG pvg1&lt;BR /&gt;/dev/dsk/c3t2d0&lt;BR /&gt;PVG pvg2&lt;BR /&gt;/dev/dsk/c5t0d2&lt;BR /&gt;&lt;BR /&gt;I need to create a VG with the pvg based.&lt;BR /&gt;I have checked many docs but not getting the exact one to begin my learning in lvm pvg&lt;BR /&gt;I tried as &lt;BR /&gt; after creating the vg controlfile,tried to create vg:&lt;BR /&gt;vgcreate -s 64 -g pvg1 pvg2 /dev/vg01 /dev/dsk/c3t2d0&lt;BR /&gt; /dev/dsk/c5t0d2&lt;BR /&gt;&lt;BR /&gt;but its not working..&lt;BR /&gt;&lt;BR /&gt;could you guide me on this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In short my requirement is to create a vg with pVG policy.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sree</description>
    <pubDate>Sun, 16 Jan 2011 17:44:53 GMT</pubDate>
    <dc:creator>Sreer</dc:creator>
    <dc:date>2011-01-16T17:44:53Z</dc:date>
    <item>
      <title>creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739129#M548508</link>
      <description>Hi Gurus,&lt;BR /&gt;Its for my testing based environment.&lt;BR /&gt;I have a 11.31 box&lt;BR /&gt;with two controllers.&lt;BR /&gt;my plan is I should have a PVG as below:&lt;BR /&gt;&lt;BR /&gt;VG vg0x&lt;BR /&gt;PVG pvg1&lt;BR /&gt;/dev/dsk/c3t2d0&lt;BR /&gt;PVG pvg2&lt;BR /&gt;/dev/dsk/c5t0d2&lt;BR /&gt;&lt;BR /&gt;I need to create a VG with the pvg based.&lt;BR /&gt;I have checked many docs but not getting the exact one to begin my learning in lvm pvg&lt;BR /&gt;I tried as &lt;BR /&gt; after creating the vg controlfile,tried to create vg:&lt;BR /&gt;vgcreate -s 64 -g pvg1 pvg2 /dev/vg01 /dev/dsk/c3t2d0&lt;BR /&gt; /dev/dsk/c5t0d2&lt;BR /&gt;&lt;BR /&gt;but its not working..&lt;BR /&gt;&lt;BR /&gt;could you guide me on this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In short my requirement is to create a vg with pVG policy.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sree</description>
      <pubDate>Sun, 16 Jan 2011 17:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739129#M548508</guid>
      <dc:creator>Sreer</dc:creator>
      <dc:date>2011-01-16T17:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739130#M548509</link>
      <description>Hi Sree,&lt;BR /&gt;&lt;BR /&gt;U have PV:/dev/dsk/c3t2d0&lt;BR /&gt;       PV:/dev/dsk/c5t0d2&lt;BR /&gt;&lt;BR /&gt;To create a VG fro this two PV, run belo commands,&lt;BR /&gt;#pvcreate -f /dev/rdsk/c3t2d0&lt;BR /&gt;#pvcreate -f /dev/rdsk/c5t0d2&lt;BR /&gt;#mkdir /dev/vg0X  ; X u can give any no&lt;BR /&gt;#mknod /dev/vg0X/group c 64 0x0X0000&lt;BR /&gt;#vgcreate -p 60 -s PE_size -e 12500 /dev/vg0X /dev/dsk/c3t2d0&lt;BR /&gt; /dev/dsk/c5t0d2&lt;BR /&gt; Now this will create a VG vg0X&lt;BR /&gt;U can create logival volume under it as per ur req.&lt;BR /&gt;&lt;BR /&gt;Hope this solves ur query.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vishnu Khandare&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Jan 2011 18:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739130#M548509</guid>
      <dc:creator>vishnu.khandare</dc:creator>
      <dc:date>2011-01-16T18:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739131#M548510</link>
      <description>Hi Vishu,&lt;BR /&gt;Thnaks for the reply.&lt;BR /&gt;What you given is a normal vg creation..But my requirement is a vg with PVG!!!!&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sree</description>
      <pubDate>Sun, 16 Jan 2011 18:29:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739131#M548510</guid>
      <dc:creator>Sreer</dc:creator>
      <dc:date>2011-01-16T18:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739132#M548511</link>
      <description>The pvgs must have been created like this&lt;BR /&gt;vgcreate -g pvg1 /dev/vgname /dev/dsk/c5t8d0 /dev/dsk/c5t9d0 &lt;BR /&gt;vgextend -g pvg2 /dev/vgname /dev/dsk/c7t1d0 /dev/dsk/c7t2d0 &lt;BR /&gt;&lt;BR /&gt;Then when creating volumes you can do&lt;BR /&gt;lvcreate -m 1 -n volname -L size_in_mb -s g /dev/vgname&lt;BR /&gt;&lt;BR /&gt;id you want to do RAID 0 + 1 then you can&lt;BR /&gt;mention "-s g &amp;amp; -D Y" while lv creation&lt;BR /&gt;but then you need at least two disks in each PVG as shown.</description>
      <pubDate>Sun, 16 Jan 2011 20:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739132#M548511</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-16T20:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739133#M548512</link>
      <description>PVGs are usually used to group PV by controller to increase performance. LV can be mirrored   two different PVGs. This is controlled by the -s option (strictness) of lvextend -m&lt;BR /&gt;&lt;BR /&gt;As per your scenario &lt;BR /&gt;&lt;BR /&gt;VG vg0x&lt;BR /&gt;PVG pvg1&lt;BR /&gt;/dev/dsk/c3t2d0&lt;BR /&gt;PVG pvg2&lt;BR /&gt;/dev/dsk/c5t0d2&lt;BR /&gt;&lt;BR /&gt;# vgcreate -g pvg1 -s 32  /dev/vg0x /dev/dsk/c3t2d0&lt;BR /&gt;&lt;BR /&gt;vgextend -g pvg2 -s 32 /dev/vg0x /dev/dsk/c3t2d0&lt;BR /&gt;&lt;BR /&gt;lvcreate -m 1 -s g -L size -n lv_name /dev/vg0x</description>
      <pubDate>Mon, 17 Jan 2011 03:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739133#M548512</guid>
      <dc:creator>nijokj</dc:creator>
      <dc:date>2011-01-17T03:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739134#M548513</link>
      <description>No no no.&lt;BR /&gt;&lt;BR /&gt;This will create a VG "pvg1", not a PVG!&lt;BR /&gt;&lt;BR /&gt;The lvmpvg file is a plain text file.&lt;BR /&gt;You need to create it (by vi or ...).&lt;BR /&gt;&lt;BR /&gt;For 2 disks it doesn't make much sense.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;VG vg0x&lt;BR /&gt;PVG pvg1&lt;BR /&gt;/dev/dsk/c3t2d0&lt;BR /&gt;PVG pvg2&lt;BR /&gt;/dev/dsk/c5t0d2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With some more disks it makes much more sense.&lt;BR /&gt;&lt;BR /&gt;It is basically used to mirror "pvg1" to "pvg2" without specifying the certain disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See the man page also!</description>
      <pubDate>Mon, 17 Jan 2011 15:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739134#M548513</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-01-17T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739135#M548514</link>
      <description>Sorry, I really need to clean my glasses ...</description>
      <pubDate>Mon, 17 Jan 2011 15:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739135#M548514</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-01-17T15:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739136#M548515</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;All I succeeded to create the VG with Pvg characteristics.&lt;BR /&gt;now my querry is :&lt;BR /&gt;&lt;BR /&gt;do we need minimum 2 disks in each pvg to full fill the lv creation with PVG characteristics????&lt;BR /&gt;&lt;BR /&gt;Or tleast 1 disk is enough ?&lt;BR /&gt;&lt;BR /&gt;I tried to use just 10 LEs but Iam getting errors!!!&lt;BR /&gt;&lt;BR /&gt;#  lvcreate  -n lvdata -l 10 -s g -D y /dev/vg0x&lt;BR /&gt;Logical volume "/dev/vg0x/lvdata" has been successfully created with&lt;BR /&gt;character device "/dev/vg0x/rlvdata".&lt;BR /&gt;lvcreate: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg0x/lvdata" could not be extended.&lt;BR /&gt;Failure possibly caused by PVG-Strict or Distributed allocation policies.&lt;BR /&gt;[rx26-206]/&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;But see there is enough space in both disks.&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/vg0x&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg0x&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      0&lt;BR /&gt;Open LV                     0&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      2&lt;BR /&gt;Act PV                      2&lt;BR /&gt;Max PE per PV               1093&lt;BR /&gt;VGDA                        4&lt;BR /&gt;PE Size (Mbytes)            64&lt;BR /&gt;Total PE                    1156&lt;BR /&gt;Alloc PE                    0&lt;BR /&gt;Free PE                     1156&lt;BR /&gt;Total PVG                   2&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;VG Version                  1.0&lt;BR /&gt;VG Max Size                 1093g&lt;BR /&gt;VG Max Extents              17488&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c5t0d3&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    63&lt;BR /&gt;   Free PE                     63&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;   Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c3t2d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    1093&lt;BR /&gt;   Free PE                     1093&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;   Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volume groups ---&lt;BR /&gt;   PVG Name                    pvg1&lt;BR /&gt;   PV Name                     /dev/dsk/c5t0d3&lt;BR /&gt;&lt;BR /&gt;   PVG Name                    pvg2&lt;BR /&gt;   PV Name                     /dev/dsk/c3t2d0&lt;BR /&gt;&lt;BR /&gt;Thnx for help&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sree</description>
      <pubDate>Tue, 18 Jan 2011 07:44:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739136#M548515</guid>
      <dc:creator>Sreer</dc:creator>
      <dc:date>2011-01-18T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: creation of PVG based VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739137#M548516</link>
      <description>&amp;gt;&amp;gt;# lvcreate -n lvdata -l 10 -s g -D y /dev/vg0x&lt;BR /&gt;&lt;BR /&gt;as i said earlier if you are using " -D y"&lt;BR /&gt;distributive extent  based striping you need&lt;BR /&gt;even no of disks at each PVG.&lt;BR /&gt;&lt;BR /&gt;for PVG strict mirror - what you want to do as&lt;BR /&gt;told so far,i think below command should work&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# lvcreate -n lvdata -l 10 -s g  /dev/vg0x&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2011 08:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creation-of-pvg-based-vg/m-p/4739137#M548516</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-18T08:53:02Z</dc:date>
    </item>
  </channel>
</rss>

