<?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: pvcreate pvlink in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533969#M648934</link>
    <description>I didn't spend too much time on it unfortunately, since it was a newly created vg and I was short of time. I vgexport everything then, create vg01 again. But this time, didn't pvcreate on the alt path, just vgextend.  The system can then see the alt path.</description>
    <pubDate>Tue, 29 May 2001 20:45:44 GMT</pubDate>
    <dc:creator>Wilfred Chau_1</dc:creator>
    <dc:date>2001-05-29T20:45:44Z</dc:date>
    <item>
      <title>pvcreate pvlink</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533965#M648930</link>
      <description>Hi all,&lt;BR /&gt;  I did a "pvcreate -f /dev/rdsk/c5t0d0" which is the alt path to /dev/rdsk/c4t0d0.  After&lt;BR /&gt;that when I vgextend this disk to vg01, the&lt;BR /&gt;system doesn't see this as an alternate link&lt;BR /&gt;but instead an individual disk.  Other disk&lt;BR /&gt;that work just fine, when me issuing the pvcreate command...&lt;BR /&gt;  What is being destroyed? and How can I restore the info?  Thanks.</description>
      <pubDate>Tue, 29 May 2001 18:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533965#M648930</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2001-05-29T18:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate pvlink</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533966#M648931</link>
      <description>You should not use the -f option on the pvcreate command since it is the same disk as the primary.  You just want lvmtab to have this disk registered.  Then when you extend it should show up as an alternate link.  The -f destroys any existing information in the LVM headers on the disk. It didn't hurt the headers on your primary disk?  &lt;BR /&gt;&lt;BR /&gt;Are you sure this is the alternate disk?</description>
      <pubDate>Tue, 29 May 2001 18:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533966#M648931</guid>
      <dc:creator>Peggy Fong</dc:creator>
      <dc:date>2001-05-29T18:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate pvlink</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533967#M648932</link>
      <description>I guess I didn't check. I just did a vgdisplay and saw the lv info, then assumed LVM header is on the primary disk is ok.  Sounds like it is not the case.  Then I did a vgcfgrestore -n vg01 -o /dev/rdsk/c4t0d0 /dev/rdsk/c5t0d0, hope to restore the info back to c5t0d0...looks like if I did it without the -o option, I would have fixed the problem. Right?</description>
      <pubDate>Tue, 29 May 2001 19:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533967#M648932</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2001-05-29T19:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate pvlink</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533968#M648933</link>
      <description>I'm not really sure you do a pvcreate on the 2d device file since it is actually the same disk.&lt;BR /&gt;&lt;BR /&gt;When originally created you could have specified both disk on the vgcreate command &lt;BR /&gt;vgcreate /dev/vg01 /dev/dsk/pv1 /dev/dsk/pv2&lt;BR /&gt;&lt;BR /&gt;I'm not sure what the vgcfgrestore command did - what is the behaviour or output of vgdisplay -v /dev/vgXX  (your volume group)&lt;BR /&gt;&lt;BR /&gt;You mentioned the output of vgdisplay worked so your headers were ok on the disk.&lt;BR /&gt;&lt;BR /&gt;You can also vgexport the volume group and then vgimport with both disks.&lt;BR /&gt;&lt;BR /&gt;If vgdisplay shows your volume group with 2 disks and no alternate links, and the pvcreate did not damage the headers on the first disk it really sounds to me like they are 2 different disks.  Have you verified that the 2 device files actually point to the same physical disk?&lt;BR /&gt;&lt;BR /&gt;Peggy</description>
      <pubDate>Tue, 29 May 2001 20:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533968#M648933</guid>
      <dc:creator>Peggy Fong</dc:creator>
      <dc:date>2001-05-29T20:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate pvlink</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533969#M648934</link>
      <description>I didn't spend too much time on it unfortunately, since it was a newly created vg and I was short of time. I vgexport everything then, create vg01 again. But this time, didn't pvcreate on the alt path, just vgextend.  The system can then see the alt path.</description>
      <pubDate>Tue, 29 May 2001 20:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533969#M648934</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2001-05-29T20:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate pvlink</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533970#M648935</link>
      <description>Great - so as I mentioned in my last post then you weren't supposed to the pvcreate - that is what messed up the alternate link information.  Good troubleshooting.&lt;BR /&gt;&lt;BR /&gt;Peggy</description>
      <pubDate>Tue, 29 May 2001 20:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533970#M648935</guid>
      <dc:creator>Peggy Fong</dc:creator>
      <dc:date>2001-05-29T20:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate pvlink</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533971#M648936</link>
      <description>Creating PV Links:&lt;BR /&gt;&lt;BR /&gt;Where /dev/rdsk/cXtXdX is the Primary Link&lt;BR /&gt;and /dev/rdsk/cYtYdY is the Alternate Link &lt;BR /&gt;  &lt;BR /&gt;pvcreate /dev/rdsk/cXtXdX&lt;BR /&gt;vgcreate /dev/vg04 /dev/dsk/cXtXdX /dev/rdsk/cXtXdX&lt;BR /&gt;&lt;BR /&gt;Do NOT pvcreate the Alternate Link!</description>
      <pubDate>Thu, 31 May 2001 17:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-pvlink/m-p/2533971#M648936</guid>
      <dc:creator>Rob Mallard</dc:creator>
      <dc:date>2001-05-31T17:05:09Z</dc:date>
    </item>
  </channel>
</rss>

