<?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: volume group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578703#M920397</link>
    <description>Hi jade,&lt;BR /&gt;Are you looking for this command ?&lt;BR /&gt;&lt;BR /&gt;#lvdisplay -v /dev/vg00/lvol3|more&lt;BR /&gt;Will show the of physical volumes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; --- Distribution of logical volume ---&lt;BR /&gt; PV Name            LE on PV  PE on PV&lt;BR /&gt; /dev/dsk/c0t6d0    35        35&lt;BR /&gt; /dev/dsk/c2t6d0    35        35&lt;BR /&gt;Normally we call first disk as primary but it hardly matters as both the disk are same.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Sep 2001 00:24:06 GMT</pubDate>
    <dc:creator>Animesh Chakraborty</dc:creator>
    <dc:date>2001-09-13T00:24:06Z</dc:date>
    <item>
      <title>volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578701#M920395</link>
      <description>What is the command to determine which physical volume in the volume group is the primary and which one is the mirrored copy??&lt;BR /&gt;&lt;BR /&gt;Need help.</description>
      <pubDate>Wed, 12 Sep 2001 23:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578701#M920395</guid>
      <dc:creator>Jade Bulante</dc:creator>
      <dc:date>2001-09-12T23:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578702#M920396</link>
      <description>As far as I know, there isn't really a primary/secondary  aspect to mirroring...  they are both considered the same when a failed disk occurs..&lt;BR /&gt;&lt;BR /&gt;However, if you reduce a mirror without specifing which disk to reduce, then it will probably take he disk that is in the right hand column of the lvdisplay -v LV output...&lt;BR /&gt;&lt;BR /&gt;Just my thoughts... Can anyone correct me ?&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Thu, 13 Sep 2001 00:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578702#M920396</guid>
      <dc:creator>Andrew_4</dc:creator>
      <dc:date>2001-09-13T00:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578703#M920397</link>
      <description>Hi jade,&lt;BR /&gt;Are you looking for this command ?&lt;BR /&gt;&lt;BR /&gt;#lvdisplay -v /dev/vg00/lvol3|more&lt;BR /&gt;Will show the of physical volumes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; --- Distribution of logical volume ---&lt;BR /&gt; PV Name            LE on PV  PE on PV&lt;BR /&gt; /dev/dsk/c0t6d0    35        35&lt;BR /&gt; /dev/dsk/c2t6d0    35        35&lt;BR /&gt;Normally we call first disk as primary but it hardly matters as both the disk are same.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Sep 2001 00:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578703#M920397</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-09-13T00:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578704#M920398</link>
      <description>I believe if you do a lvdisplay -v on the logical volume, the table showing the logical extends lists the primary disk first followed by the mirror disk.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 13 Sep 2001 00:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578704#M920398</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-13T00:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578705#M920399</link>
      <description>Hmm, I just created two LVs on the same VG with two disks. &lt;BR /&gt;On the first LV I created on disk1 and extended (lvextend -m 1) to disk2.&lt;BR /&gt;On the second LV I created on disk2 and extended it to disk1.&lt;BR /&gt;&lt;BR /&gt;The output from lvdisplay -v shows both LVs similarly, i.e. that they both span both disk, and list both disk in the same order, i.e. lexigraphically (?).  BUT, the logical extents area list disk1 as PV1 and disk2 as PV2 on the first LV, whereas the the second LV list disk2 as PV1 and disk1 as PV2.&lt;BR /&gt;&lt;BR /&gt;So doesn't this mean that PV1 is the primary disk and PV2 is the mirror copy?&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 13 Sep 2001 00:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578705#M920399</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-13T00:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578706#M920402</link>
      <description>Hi Jade,&lt;BR /&gt;&lt;BR /&gt;My opinion is Santosh is right. When you do lvdisplay -v /dev/vg_name/lv_name it show you the distribution of extent and refer to the first link as PV1 and the other as PV2. So it should be safer to say that the disk on which the first extent is there would be the primary disk and the disk on which the copy of that extent is present is the seconday copy. This is if you are having mirror on different disks.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Sep 2001 01:14:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578706#M920402</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-09-13T01:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578707#M920405</link>
      <description>Hi,&lt;BR /&gt;you can try &lt;BR /&gt;#lvlnboot -v &lt;BR /&gt;&lt;BR /&gt;The Hard disk shown first is generally taken as the primary HDD and the second as Mirrored HDD.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;S.Sudhakaran.</description>
      <pubDate>Thu, 13 Sep 2001 06:17:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578707#M920405</guid>
      <dc:creator>SUDHAKARAN.</dc:creator>
      <dc:date>2001-09-13T06:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578708#M920407</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just execute &lt;BR /&gt;# lvdisplay -v /dev/vg##/lvol#&lt;BR /&gt;&lt;BR /&gt;In --Logical extents-- section you will get information on how PEs are distributed and which PV is primary and which is mirror.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Sep 2001 07:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578708#M920407</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-09-13T07:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578709#M920410</link>
      <description>Hello Jade,&lt;BR /&gt;&lt;BR /&gt;it depends upon which mirror copy was broken, and&lt;BR /&gt;then the "surviving" one is mirrored onto the other&lt;BR /&gt;(after this has been replaced, and re-activated).&lt;BR /&gt;&lt;BR /&gt;But you can ask your kernel, from which of the disks&lt;BR /&gt;it did actually boot, if that is, what you are looking for:&lt;BR /&gt;&lt;BR /&gt;echo "boot_string/S" | adb /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch</description>
      <pubDate>Thu, 13 Sep 2001 18:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578709#M920410</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-09-13T18:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578710#M920412</link>
      <description>Jade,&lt;BR /&gt;&lt;BR /&gt;There is no command that specifcally says that PV? is the primary. &lt;BR /&gt;&lt;BR /&gt;The general understanding when working with LVM is that the left hand column of your lvdisplay -v is the "primary" while the right&lt;BR /&gt;hand column is the mirror. If you were to do an lvdisplay -v before you mirror the output would be displayed on the left hand side for the physical extents which is why most equate the "primary" with the left side of the output.&lt;BR /&gt;&lt;BR /&gt;If you were to do an lvreduce and specify PV1 as the mirror to get rid of, then PV2 would assume the left side of the lvdisplay -v output. Consequently if you were to establish a mirror copy again specifying PV1, it would be on the right side of the lvdisplay output. &lt;BR /&gt;&lt;BR /&gt;It's really what you are comfortable with when you talk about mirrors but I've always equated the "primary" with the lefthand side and the mirror with the righthand side of the lvdisplay -v output. Others may see it differently though.&lt;BR /&gt;&lt;BR /&gt;My $.02&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 13 Sep 2001 20:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2578710#M920412</guid>
      <dc:creator>Jeff Gyurko</dc:creator>
      <dc:date>2001-09-13T20:06:57Z</dc:date>
    </item>
  </channel>
</rss>

