<?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: LVM to PVG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088304#M599367</link>
    <description>This assumes you have already configured the primaries with Distributed striping. If not you can only rebuild or create new and migrate.&lt;BR /&gt;&lt;BR /&gt;You should be able to drop all your mirror disks, edit /etc/lvmpvg then..&lt;BR /&gt;&lt;BR /&gt;put all primaries in group1 and secondaries in group2 then remirror using strict policy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;VG /dev/vgdata1&lt;BR /&gt;PVG PVG1&lt;BR /&gt;/dev/dsk/c8t0d0&lt;BR /&gt;/dev/dsk/c8t1d0&lt;BR /&gt;/dev/dsk/c8t2d0&lt;BR /&gt;/dev/dsk/c8t3d0&lt;BR /&gt;/dev/dsk/c8t4d0&lt;BR /&gt;/dev/dsk/c8t5d0&lt;BR /&gt;/dev/dsk/c8t8d0&lt;BR /&gt;PVG PVG2&lt;BR /&gt;/dev/dsk/c9t0d0&lt;BR /&gt;/dev/dsk/c9t1d0&lt;BR /&gt;/dev/dsk/c9t2d0&lt;BR /&gt;/dev/dsk/c9t3d0&lt;BR /&gt;/dev/dsk/c9t4d0&lt;BR /&gt;/dev/dsk/c9t5d0&lt;BR /&gt;/dev/dsk/c9t8d0&lt;BR /&gt;</description>
    <pubDate>Wed, 16 Jan 2008 18:56:13 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2008-01-16T18:56:13Z</dc:date>
    <item>
      <title>LVM to PVG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088300#M599363</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Sommes times ago, we had a smal server with&lt;BR /&gt;smal activity. Litle by litle our system comme&lt;BR /&gt;big and we inserted the disk to our VG01.&lt;BR /&gt;&lt;BR /&gt;Is there a way to change a classic VG  to PVG ?&lt;BR /&gt;&lt;BR /&gt;I read the lvchange manuel but is not so clear&lt;BR /&gt;pour me. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2008 16:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088300#M599363</guid>
      <dc:creator>Frédéric DAMEZ</dc:creator>
      <dc:date>2008-01-16T16:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: LVM to PVG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088301#M599364</link>
      <description>PVG ensures that mirrors go to the right disk.&lt;BR /&gt;&lt;BR /&gt;Your question is not clear to me.&lt;BR /&gt;&lt;BR /&gt;For PVGs, see&lt;BR /&gt;&lt;BR /&gt;man lvmpvg</description>
      <pubDate>Wed, 16 Jan 2008 16:42:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088301#M599364</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-01-16T16:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: LVM to PVG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088302#M599365</link>
      <description>Bonsoir Frederic,&lt;BR /&gt;&lt;BR /&gt;As Torsten said, your needs are not very clear.&lt;BR /&gt;&lt;BR /&gt;Any way, if you want to change allocation policy to Distributed it will not be possible in a strict definition of Distributed. man lvchange :&lt;BR /&gt;&lt;BR /&gt;----------------&lt;BR /&gt;The -D y option will fail if the existing logical volume has any two consecutive logical extents on the same physical volume. To override this failure, use the -D f option. If a logical volume with the distributed allocation policy has at least two consecutive logical extents on the same physical volume, then lvdisplay(1M) will display the allocation as partially-distributed (vs.  distributed).&lt;BR /&gt;----------------&lt;BR /&gt;&lt;BR /&gt;That is the case : I guess that all LV in your VG01 have at least 2 contiguous extends.&lt;BR /&gt;&lt;BR /&gt;So in a strict definition you can modify the LV to a partially-distributed plociy. That means that new LV's extends will be allocate in a distributed manner and that existing ones will stay as they are now. Not a problem at all ...&lt;BR /&gt;&lt;BR /&gt;But why do you want to do that ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2008 17:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088302#M599365</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-01-16T17:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: LVM to PVG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088303#M599366</link>
      <description>There is no easy way to go from a classic VG to a PVG other than starting from scratch. A PVG requires that each successive LE go to a different PV and each of the LEs should be mirrored onto a PV in a different PVG. Mirrored LEs follow the distributed allocation policy in which each successive LE goes to a different PV. In a classic VG all the LEs occupy a PV one after another until it runs out of space and then a new PV needs to be added for lvol expansion.&lt;BR /&gt;&lt;BR /&gt;~hope it helps</description>
      <pubDate>Wed, 16 Jan 2008 18:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088303#M599366</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2008-01-16T18:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: LVM to PVG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088304#M599367</link>
      <description>This assumes you have already configured the primaries with Distributed striping. If not you can only rebuild or create new and migrate.&lt;BR /&gt;&lt;BR /&gt;You should be able to drop all your mirror disks, edit /etc/lvmpvg then..&lt;BR /&gt;&lt;BR /&gt;put all primaries in group1 and secondaries in group2 then remirror using strict policy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;VG /dev/vgdata1&lt;BR /&gt;PVG PVG1&lt;BR /&gt;/dev/dsk/c8t0d0&lt;BR /&gt;/dev/dsk/c8t1d0&lt;BR /&gt;/dev/dsk/c8t2d0&lt;BR /&gt;/dev/dsk/c8t3d0&lt;BR /&gt;/dev/dsk/c8t4d0&lt;BR /&gt;/dev/dsk/c8t5d0&lt;BR /&gt;/dev/dsk/c8t8d0&lt;BR /&gt;PVG PVG2&lt;BR /&gt;/dev/dsk/c9t0d0&lt;BR /&gt;/dev/dsk/c9t1d0&lt;BR /&gt;/dev/dsk/c9t2d0&lt;BR /&gt;/dev/dsk/c9t3d0&lt;BR /&gt;/dev/dsk/c9t4d0&lt;BR /&gt;/dev/dsk/c9t5d0&lt;BR /&gt;/dev/dsk/c9t8d0&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2008 18:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088304#M599367</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-16T18:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: LVM to PVG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088305#M599368</link>
      <description>&lt;BR /&gt;Thanks every body. I did create new PVG and&lt;BR /&gt;copy vg01 over it.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jan 2008 10:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088305#M599368</guid>
      <dc:creator>Frédéric DAMEZ</dc:creator>
      <dc:date>2008-01-21T10:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: LVM to PVG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088306#M599369</link>
      <description>I'm not sure how the discussion got to Distributed Allocation Policy, but you can use PVGs *without* Distributed Allocation.&lt;BR /&gt;&lt;BR /&gt;However, the converse is not true.&lt;BR /&gt;DAP does *require* PVGs.&lt;BR /&gt;&lt;BR /&gt;All PVG-strict mirroring policy means is that mirrored extents will go on PVs in different PVGs.&lt;BR /&gt;((The default, "strict", means just use *any* different PV.  With "none", mirrored PEs can actually go on the *same* PV -- useful for splitting, but no HA redundancy.&lt;BR /&gt;))&lt;BR /&gt;&lt;BR /&gt;The original idea of PVGs, before DAP, was simply to make it easy to ensure that mirroring occurred across  HBA boundaries, so that a loss of an HBA would not completely blow up the mirroring.&lt;BR /&gt;&lt;BR /&gt;With lots of PVs, it might be hard to remember which guys are on different HBAs or buses or arrays.  Once, you set up /etc/lvmpvg correctly, making sure that all PVs on an HBA, for example, are in a separate PVG, then you don't have to remember when you extend the mirrored LVOL.&lt;BR /&gt;&lt;BR /&gt;bv&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Feb 2008 18:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-to-pvg/m-p/5088306#M599369</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2008-02-03T18:42:22Z</dc:date>
    </item>
  </channel>
</rss>

