<?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 PVG Strict -Distributed Volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755311#M388602</link>
    <description>Hi All!&lt;BR /&gt;&lt;BR /&gt;When i create one logical volumes using (lvcreate -l 8000 -D y -s g -n lvol1 vg02 in the volume group vg02 which is grouped in 2 PVG's.(Using all extents for this one logical voulme).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How the data will be written on the disk?&lt;BR /&gt;&lt;BR /&gt;1.Whether it will be written in the order of disk40,disk41,disk42,disk44(using both PVG's)&lt;BR /&gt;&lt;BR /&gt;                 (OR)&lt;BR /&gt;&lt;BR /&gt;2.First it write disk 40,disk41 under PVG0 complete all extents and then move to disk43 disk44 under PVG1.&lt;BR /&gt;&lt;BR /&gt;# cat /etc/lvmpvg&lt;BR /&gt;VG      /dev/vg02&lt;BR /&gt;PVG     PVG0&lt;BR /&gt;/dev/disk/disk40&lt;BR /&gt;/dev/disk/disk41&lt;BR /&gt;PVG     PVG1&lt;BR /&gt;/dev/disk/disk42&lt;BR /&gt;/dev/disk/disk43&lt;BR /&gt;</description>
    <pubDate>Sun, 20 Feb 2011 04:24:04 GMT</pubDate>
    <dc:creator>Ganesh Balraman</dc:creator>
    <dc:date>2011-02-20T04:24:04Z</dc:date>
    <item>
      <title>PVG Strict -Distributed Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755311#M388602</link>
      <description>Hi All!&lt;BR /&gt;&lt;BR /&gt;When i create one logical volumes using (lvcreate -l 8000 -D y -s g -n lvol1 vg02 in the volume group vg02 which is grouped in 2 PVG's.(Using all extents for this one logical voulme).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How the data will be written on the disk?&lt;BR /&gt;&lt;BR /&gt;1.Whether it will be written in the order of disk40,disk41,disk42,disk44(using both PVG's)&lt;BR /&gt;&lt;BR /&gt;                 (OR)&lt;BR /&gt;&lt;BR /&gt;2.First it write disk 40,disk41 under PVG0 complete all extents and then move to disk43 disk44 under PVG1.&lt;BR /&gt;&lt;BR /&gt;# cat /etc/lvmpvg&lt;BR /&gt;VG      /dev/vg02&lt;BR /&gt;PVG     PVG0&lt;BR /&gt;/dev/disk/disk40&lt;BR /&gt;/dev/disk/disk41&lt;BR /&gt;PVG     PVG1&lt;BR /&gt;/dev/disk/disk42&lt;BR /&gt;/dev/disk/disk43&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Feb 2011 04:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755311#M388602</guid>
      <dc:creator>Ganesh Balraman</dc:creator>
      <dc:date>2011-02-20T04:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: PVG Strict -Distributed Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755312#M388603</link>
      <description>Hello Ganesh ,&lt;BR /&gt;&lt;BR /&gt;First we may know what " -s g " &amp;amp; "-D y" means.&lt;BR /&gt;-s g is PVG strict policy it means if you create mirrors then they will be placed @ different PVGS &amp;amp; " -D y " means that the data&lt;BR /&gt;will be striped across the disks attached to the controller or the disk in one PVG.&lt;BR /&gt;&lt;BR /&gt;&amp;amp; The distributed allocation policy&lt;BR /&gt;REQUIRES the PVG-strict allocation&lt;BR /&gt;policy ( -s g ) to ensure that mirrors of distributed extents do not overlap&lt;BR /&gt;(for maximum availability).&lt;BR /&gt;&lt;BR /&gt;You are not using the switch -m 1 ( mirror PVG strict )in the command above &amp;amp; most of the time the above setup is used for RAID 0 +1 ,stripe + mirror combination of LVM &lt;BR /&gt;&lt;BR /&gt;So specifically answering your question it looks that data will be striped across the disks in the first PVG only (AFAIK )&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Feb 2011 06:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755312#M388603</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-02-20T06:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: PVG Strict -Distributed Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755313#M388604</link>
      <description>Distributed Allocation Policy&lt;BR /&gt;      This example shows how the -D y option can be used to create EXTENT-&lt;BR /&gt;      BASED MIRRORED STRIPES.&lt;BR /&gt;&lt;BR /&gt;      Assume that volume group /dev/vgtest has two physical volume groups:&lt;BR /&gt;      pvg1 and pvg2.&lt;BR /&gt;&lt;BR /&gt;      Assume that each physical volume group has 2 physical volumes.&lt;BR /&gt;&lt;BR /&gt;      Assume that the first physical volume in each pvg has 3 extents free&lt;BR /&gt;      and the second physical volume in each pvg has 2 extents free.&lt;BR /&gt;&lt;BR /&gt;      The following command creates a logical volume in vgtest with EXTENT-&lt;BR /&gt;      BASED MIRRORED STRIPES:&lt;BR /&gt;&lt;BR /&gt;           lvcreate -D y -s g -m 1 -l 5 /dev/vgtest&lt;BR /&gt;&lt;BR /&gt;      The distributed allocation proceeds as follows:&lt;BR /&gt;           +    A free extent is allocated from the 1st pvol in pvg1.&lt;BR /&gt;           +    A free extent is allocated from the 2nd pvol in pvg1.&lt;BR /&gt;           +    A free extent is allocated from the 1st pvol in pvg1.&lt;BR /&gt;           +    A free extent is allocated from the 2nd pvol in pvg1.&lt;BR /&gt;           +    A free extent is allocated from the 1st pvol in pvg1.&lt;BR /&gt;           &lt;BR /&gt;+    Mirrors for the five extents are then allocated from the&lt;BR /&gt;                free extents in pvg2 in a similar manner.&lt;BR /&gt;This is raid 0+1&lt;BR /&gt;&lt;BR /&gt;i think this will clear your doubt. In your case as you are not using -m 1 so your logical volume will be distributed in the physical volume group (PVG0) as posted by manix</description>
      <pubDate>Sun, 20 Feb 2011 07:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755313#M388604</guid>
      <dc:creator>nijokj</dc:creator>
      <dc:date>2011-02-20T07:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: PVG Strict -Distributed Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755314#M388605</link>
      <description>Here i am using only Striping not mirroring.&lt;BR /&gt;&lt;BR /&gt;How will the data be written to disk when striped with command said by me.&lt;BR /&gt;&lt;BR /&gt;Please advice</description>
      <pubDate>Mon, 21 Feb 2011 09:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755314#M388605</guid>
      <dc:creator>Ganesh Balraman</dc:creator>
      <dc:date>2011-02-21T09:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: PVG Strict -Distributed Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755315#M388606</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;when you use -I to specify the stripe size, you must set the number of disks also to stripe across. -i and -I must be specified together.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90129/lvcreate.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90129/lvcreate.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It will write the data with specified stripe size to the no of disks specified in order within the volume group.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90672/ch08.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90672/ch08.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...</description>
      <pubDate>Mon, 21 Feb 2011 09:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-strict-distributed-volume/m-p/4755315#M388606</guid>
      <dc:creator>P Arumugavel</dc:creator>
      <dc:date>2011-02-21T09:45:20Z</dc:date>
    </item>
  </channel>
</rss>

