<?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: How can I undo a pvcreate? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449071#M657140</link>
    <description>Susan,&lt;BR /&gt;&lt;BR /&gt;I looks to me as if there were two different disks and you are trying to add them to a Volume group.&lt;BR /&gt;&lt;BR /&gt;If the one disk is trying to add to a volume group from two different paths, it will get added as a alternate link by it self. If you are referring to two different disks, then you can not add them as primary and alternate links.&lt;BR /&gt;&lt;BR /&gt;Please make sure the device files you are using and they refer to the same disk on different paths and try creating/extending the volume group</description>
    <pubDate>Sun, 01 Oct 2000 23:40:44 GMT</pubDate>
    <dc:creator>Manju Kampli</dc:creator>
    <dc:date>2000-10-01T23:40:44Z</dc:date>
    <item>
      <title>How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449065#M657134</link>
      <description>I have 2 disks, one being the primary and the other being the alternate link to it.  I am trying to add them to a vg and I did a pvcreate on both (duh) and not just on the primary.  So now the so-called 'alternate link' drive thinks he is on his own.  How can I undo a pvcreate?</description>
      <pubDate>Fri, 29 Sep 2000 16:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449065#M657134</guid>
      <dc:creator>Susan Harris</dc:creator>
      <dc:date>2000-09-29T16:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449066#M657135</link>
      <description>You can't but in this case you shouldn't need to. All that you've done is pvcreate the same disk twice. &lt;BR /&gt;&lt;BR /&gt;When you add both disk paths to a Volume Group they will appear as Primary and Alternate.</description>
      <pubDate>Fri, 29 Sep 2000 16:26:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449066#M657135</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-29T16:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449067#M657136</link>
      <description>I wish, but that is not the case.  Doing some reading after the fact, 'it' states that the pvcreate should only be done on the primary and not the alternate (which is what I did).  When doing a vgextend /dev/vgxx /dev/dsk/primary , it adds it in fine, but when I do a 'vgextend /dev/vgxx /dev/dsk/alternate', it adds it into the vg as another disk and not as the alternate of 'primary'.</description>
      <pubDate>Fri, 29 Sep 2000 16:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449067#M657136</guid>
      <dc:creator>Susan Harris</dc:creator>
      <dc:date>2000-09-29T16:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449068#M657137</link>
      <description>Susan,&lt;BR /&gt;&lt;BR /&gt;What order did you do things in&lt;BR /&gt;&lt;BR /&gt;Did you :-&lt;BR /&gt;pvcreate primary&lt;BR /&gt;create VG including primary&lt;BR /&gt;&lt;BR /&gt;then pvcreate alternate?&lt;BR /&gt;&lt;BR /&gt;If so then just trash the VG and start again:-&lt;BR /&gt;&lt;BR /&gt;vgchange -a n vg??&lt;BR /&gt;vgexport vg??&lt;BR /&gt;&lt;BR /&gt;pvcreate primary&lt;BR /&gt;mkdir /dev/vg??&lt;BR /&gt;mknod... group&lt;BR /&gt;&lt;BR /&gt;vgcreate your VG with primary and alternate disks specied and all should be well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Fri, 29 Sep 2000 16:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449068#M657137</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-29T16:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449069#M657138</link>
      <description>After due consideration...&lt;BR /&gt;&lt;BR /&gt;Are you absolutely sure that the two disks that are concerned are alternate links?&lt;BR /&gt;&lt;BR /&gt;Your symptoms suggest to me that they are not.</description>
      <pubDate>Fri, 29 Sep 2000 16:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449069#M657138</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-29T16:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449070#M657139</link>
      <description>One other point Susan is that until the disk is added to a Volume Group, both links are neither primary or alternate.&lt;BR /&gt;&lt;BR /&gt;It's only when you've added both to a volume group that the first becomes primary and the second alternate. You can also switch them round by removing the primary (lternate becomes primary) then putting it back at which point it becomes the alternate.</description>
      <pubDate>Fri, 29 Sep 2000 16:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449070#M657139</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-29T16:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449071#M657140</link>
      <description>Susan,&lt;BR /&gt;&lt;BR /&gt;I looks to me as if there were two different disks and you are trying to add them to a Volume group.&lt;BR /&gt;&lt;BR /&gt;If the one disk is trying to add to a volume group from two different paths, it will get added as a alternate link by it self. If you are referring to two different disks, then you can not add them as primary and alternate links.&lt;BR /&gt;&lt;BR /&gt;Please make sure the device files you are using and they refer to the same disk on different paths and try creating/extending the volume group</description>
      <pubDate>Sun, 01 Oct 2000 23:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449071#M657140</guid>
      <dc:creator>Manju Kampli</dc:creator>
      <dc:date>2000-10-01T23:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I undo a pvcreate?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449072#M657141</link>
      <description>&lt;BR /&gt;First:&lt;BR /&gt; &lt;BR /&gt;Primary and alternate link refers to the same disk using two hardware paths, so have you 1 disk or 2, 1 PV or 2PV?. In facts this means disk 1 is plugged by two ways.&lt;BR /&gt;&lt;BR /&gt;Second:&lt;BR /&gt;&lt;BR /&gt;if you have done pvcreate /dev/xx/alternate LVM can do it unless you use force (-f), because primary is into a VG yet.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3- When you do vgextend /dev/xx/alternate and LVM says  your VG has two disks you must belive, so you must have two disk 2PV, and no two conections for 1 disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4- in order to verify if your VGs disks are the same, run smt-&amp;gt;disk-&amp;gt;info and see the serial number for each.&lt;BR /&gt;&lt;BR /&gt;5- A way to undo a pvcreate is vgcfgrestore of a previously vgcfgbackp'd vg.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE:  Alternate link is a alternate path for a disk, not the path of mirror copy.&lt;BR /&gt; The use of disk A or B )( or mirror) is defined whe you create lvs not vgs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Oct 2000 08:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-undo-a-pvcreate/m-p/2449072#M657141</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2000-10-02T08:49:48Z</dc:date>
    </item>
  </channel>
</rss>

