<?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: Check Primary and Alternate Link of PV in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423118#M354588</link>
    <description>Hello Arun,&lt;BR /&gt;&lt;BR /&gt;I think you can choose any path to create VG. It will all point to the same disk.&lt;BR /&gt;&lt;BR /&gt;And for aletrnate Links:&lt;BR /&gt;&lt;BR /&gt;After creating VG, try following:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vg01&lt;BR /&gt; ... ... &lt;BR /&gt;--- Physical volumes --- &lt;BR /&gt;PV Name /dev/dsk/c4t0d0&lt;BR /&gt;PV Name /dev/dsk/c5t0d0 Alternate Link&lt;BR /&gt;PV Status available&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c4t1d0&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name /dev/dsk/c4t1d0&lt;BR /&gt;PV Name /dev/dsk/c5t1d0 Alternate Link&lt;BR /&gt;VG Name /dev/vg01&lt;BR /&gt;PV Status available&lt;BR /&gt;-------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;BR /&gt;&lt;BR /&gt;R.K.</description>
    <pubDate>Wed, 20 May 2009 04:25:12 GMT</pubDate>
    <dc:creator>R.K. #</dc:creator>
    <dc:date>2009-05-20T04:25:12Z</dc:date>
    <item>
      <title>Check Primary and Alternate Link of PV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423116#M354586</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a HPUX server connected with IBM storage. I have a LUN ID with two paths.&lt;BR /&gt;How to check which is the primary and which is the alternate path before creating VG. Because after creating VG, I have to export it through map file and import on other server attached to same storage with LUN ID on two paths.&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;Does it matter in anyway if I choose any of the path to create the VG and extend the VG with another path.&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;Arun</description>
      <pubDate>Wed, 20 May 2009 03:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423116#M354586</guid>
      <dc:creator>Arun Jain</dc:creator>
      <dc:date>2009-05-20T03:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Check Primary and Alternate Link of PV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423117#M354587</link>
      <description>Hi,&lt;BR /&gt;If you have any storege support or person around he can tell you which is primary and which is alternate path.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Does it matter in anyway if I choose any of the path to create the VG and extend the VG with another path&lt;BR /&gt;&lt;BR /&gt;I think it will not giving any problem.&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Wed, 20 May 2009 04:08:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423117#M354587</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-20T04:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Check Primary and Alternate Link of PV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423118#M354588</link>
      <description>Hello Arun,&lt;BR /&gt;&lt;BR /&gt;I think you can choose any path to create VG. It will all point to the same disk.&lt;BR /&gt;&lt;BR /&gt;And for aletrnate Links:&lt;BR /&gt;&lt;BR /&gt;After creating VG, try following:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vg01&lt;BR /&gt; ... ... &lt;BR /&gt;--- Physical volumes --- &lt;BR /&gt;PV Name /dev/dsk/c4t0d0&lt;BR /&gt;PV Name /dev/dsk/c5t0d0 Alternate Link&lt;BR /&gt;PV Status available&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c4t1d0&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name /dev/dsk/c4t1d0&lt;BR /&gt;PV Name /dev/dsk/c5t1d0 Alternate Link&lt;BR /&gt;VG Name /dev/vg01&lt;BR /&gt;PV Status available&lt;BR /&gt;-------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;BR /&gt;&lt;BR /&gt;R.K.</description>
      <pubDate>Wed, 20 May 2009 04:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423118#M354588</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-05-20T04:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Check Primary and Alternate Link of PV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423119#M354589</link>
      <description>Does it matter in anyway if I choose any of the path to create the VG and extend the VG with another path.&lt;BR /&gt;&lt;BR /&gt;If you are using PVlink&lt;BR /&gt;&lt;BR /&gt;Ans: You may create the VG with one path and you can export the VG ( use switch s and m) and import in the same system. Which will add all your alternate patch to /etc/lvmtab automatically. If you do this, it is not required to do VG extend.&lt;BR /&gt;&lt;BR /&gt;Warning for Users of PV Links with vgscan&lt;BR /&gt;If you have multiple physical paths to your disk devices, the vgscan command may cause&lt;BR /&gt;several side effects that may have an impact on your system.&lt;BR /&gt;â ¢ vgscan may reverse the order of your primary and alternate links in the /etc/lvmtab&lt;BR /&gt;file.&lt;BR /&gt;â ¢ Alternate links will be added to the /etc/lvmtab file even if they werenâ  t configured in&lt;BR /&gt;the volume group initially.&lt;BR /&gt;â ¢ Boot information may no longer be correct due to different order of disks in the new&lt;BR /&gt;/etc/lvmtab file.&lt;BR /&gt;In order to correct the above problems, do the following:&lt;BR /&gt;1. Use vgchange with -a option to activate all volume groups.&lt;BR /&gt;2. Use lvlnboot with -R option to correct boot information on disk.&lt;BR /&gt;3. Use vgreduce to reduce any alternate links that were added to the /etc/lvmtab file&lt;BR /&gt;by vgscan, but they were not needed.&lt;BR /&gt;4. Use the procedure on the slide to modify the order of the PV links in the /etc/lvmtab&lt;BR /&gt;file.&lt;BR /&gt;LVM Considerations&lt;BR /&gt;for Disk Arrays</description>
      <pubDate>Wed, 20 May 2009 04:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423119#M354589</guid>
      <dc:creator>SoorajCleris</dc:creator>
      <dc:date>2009-05-20T04:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check Primary and Alternate Link of PV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423120#M354590</link>
      <description>&lt;BR /&gt;it is not matter&lt;BR /&gt;but while u are creating physical volume&lt;BR /&gt;u should use pvcreate command not pvcreate -f command&lt;BR /&gt;if u are using pvcreate -f command&lt;BR /&gt;it will not ask u alternate link &lt;BR /&gt;if u are using pvcreate only without f&lt;BR /&gt;it will tell lun is already used. then u can check after that u can create. otherwise u will lose all data related to alternate link which one is already used &lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Wed, 20 May 2009 06:40:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423120#M354590</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-05-20T06:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Check Primary and Alternate Link of PV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423121#M354591</link>
      <description>Hello Arun,&lt;BR /&gt;&lt;BR /&gt;And one more thing:&lt;BR /&gt;Do not run pvcreate on the other devicefile. Remember that it points to the same disk and this disk has already been pvcreated.&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.</description>
      <pubDate>Wed, 20 May 2009 08:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-primary-and-alternate-link-of-pv/m-p/4423121#M354591</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-05-20T08:16:26Z</dc:date>
    </item>
  </channel>
</rss>

