<?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: vgimport error MC/SG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050809#M136476</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;I think the command was successful.  see the line at the end &lt;BR /&gt;&lt;BR /&gt;&amp;gt; Volume group "/dev/vg01" has been successfully created. &amp;lt;&lt;BR /&gt;&lt;BR /&gt;As Massimo says strip out the -p option to do the import.  I assume that the VG consists of 1 disk with 2 alternate paths (hence the warning can be ignored)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
    <pubDate>Mon, 18 Aug 2003 12:56:35 GMT</pubDate>
    <dc:creator>Tim D Fulford</dc:creator>
    <dc:date>2003-08-18T12:56:35Z</dc:date>
    <item>
      <title>vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050807#M136474</link>
      <description>I am trying to import a vg on to the standby node in a MC/SG cluster and i am getting the following error. How do I import it on both the PV's. The disks are visible on both the paths.&lt;BR /&gt;&lt;BR /&gt;vgimport -p -v -m /tmp/vg01.map vg01 /dev/dsk/c25t0d1 /dev/dsk/c29t0d1&lt;BR /&gt;Beginning the import process on Volume Group "vg01".&lt;BR /&gt;vgimport: Warning:  Volume Group belongs to different CPU ID.&lt;BR /&gt;Can not determine if Volume Group is in use on another system. Continuing.&lt;BR /&gt;vgimport: Warning: Volume Group contains "1" PVs, "2" specified. Continuing.&lt;BR /&gt;Logical volume "/dev/vg01/lvol1" has been successfully created&lt;BR /&gt;with lv number 1.&lt;BR /&gt;Volume group "/dev/vg01" has been successfully created.&lt;BR /&gt;Warning: A backup of this volume group may not exist on this machine.&lt;BR /&gt;Please remember to take a backup using the vgcfgbackup command after activating &lt;BR /&gt;the volume group.&lt;BR /&gt;&lt;BR /&gt;Appreciate your help.&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 18 Aug 2003 11:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050807#M136474</guid>
      <dc:creator>hpuxsa</dc:creator>
      <dc:date>2003-08-18T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050808#M136475</link>
      <description>The sintax is ccorrect, you are only seeing a warning because the VG was created on the oyher server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To do the real import, just tear away the "-p"&lt;BR /&gt;vgimport -p -v -m /tmp/vg01.map vg01 /dev/dsk/c25t0d1 /dev/dsk/c29t0d1 &lt;BR /&gt;&lt;BR /&gt;I say it a second time: they are NORMAL warnings, they are not errors.&lt;BR /&gt;&lt;BR /&gt;   Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 11:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050808#M136475</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-18T11:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050809#M136476</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I think the command was successful.  see the line at the end &lt;BR /&gt;&lt;BR /&gt;&amp;gt; Volume group "/dev/vg01" has been successfully created. &amp;lt;&lt;BR /&gt;&lt;BR /&gt;As Massimo says strip out the -p option to do the import.  I assume that the VG consists of 1 disk with 2 alternate paths (hence the warning can be ignored)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Mon, 18 Aug 2003 12:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050809#M136476</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-08-18T12:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050810#M136477</link>
      <description>Before I vgimport I always get rid of what is out in lvmtab first:&lt;BR /&gt;&lt;BR /&gt;vgexport /dev/vgname&lt;BR /&gt;mkdir /dev/vgname&lt;BR /&gt;mknod /dev/vgname/group c 64 0x_ _ 0000&lt;BR /&gt;&lt;BR /&gt;Then I do my import ( I tend to use the -s option, but that's just me.. ):&lt;BR /&gt;&lt;BR /&gt;vgimport -vs -m /etc/lvmconf/vgname.map /dev/vgname&lt;BR /&gt;&lt;BR /&gt;I do not tend to extend the statement with the disk device info (c_t_d_) as you noted above.&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 15:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050810#M136477</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2003-08-18T15:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050811#M136478</link>
      <description>A document that might help you with this process is:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=UXSGKBAN00000037&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=30&amp;amp;search.y=5" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=UXSGKBAN00000037&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=30&amp;amp;search.y=5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is a certified document related to distributing the VGs between SG nodes.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 15:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050811#M136478</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-08-18T15:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050812#M136479</link>
      <description>The way we do this is,&lt;BR /&gt;&lt;BR /&gt;on the 1st node,&lt;BR /&gt;&lt;BR /&gt;vgchange -a n /dev/vgname&lt;BR /&gt;vgexport -p -s -m /tmp/vgname.map /dev/vgname&lt;BR /&gt;&lt;BR /&gt;rcp the /tmp/vgname.map file to the second node, then do a vgimport on the other node.&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgname&lt;BR /&gt;mknod /dev/vgname/group c 64 0x0n0000&lt;BR /&gt;vgimport -s -m /tmp/vgname.map /dev/vgname&lt;BR /&gt;vgchange -a n /dev/vgname&lt;BR /&gt;vgchange -a y /dev/vgname&lt;BR /&gt;&lt;BR /&gt;If this was a cluster aware vg, use vgchange -a e /dev/vgname to activate the vg in exclusive mode.&lt;BR /&gt;&lt;BR /&gt;mount the filesystems and check and see if the vg is correctly imported or not.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 20:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050812#M136479</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2003-08-18T20:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050813#M136480</link>
      <description>i did a vgimport on the standby node only after exporting the vg. There was no reference to the vg in the lvmtab file of the standby node. But when i try to vgimport it gives me the Warning:Volume Group contains "1" PVs, "2" specified. Where does the standby node get the info that the vg has only one PV. &lt;BR /&gt;I tried importing the vg ignoring the warning and it updates the lvmtab file with Alternate PV path also.&lt;BR /&gt;&lt;BR /&gt;I was trying to recreate the cluster config file "cmquerycl -v -n node1 -n node2 -C filename". The config file created is missing the values for &lt;BR /&gt;FIRST_CLUSTER_LOCK_VG&lt;BR /&gt;FIRST_CLUSTER_LOCK_PV&lt;BR /&gt;VOLUME_GROUP</description>
      <pubDate>Tue, 19 Aug 2003 04:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050813#M136480</guid>
      <dc:creator>hpuxsa</dc:creator>
      <dc:date>2003-08-19T04:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050814#M136481</link>
      <description>check the vg on your main server by using 'vgdisplay -v /dev/vg01'. what does it show under 'Cur PV' ? This is the number of pv's on the main server.&lt;BR /&gt;&lt;BR /&gt;I do the vgexport/import usually as follows :&lt;BR /&gt;&lt;BR /&gt;on the main server :&lt;BR /&gt;vgexport -p -s -v -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;on the standby host(s) :&lt;BR /&gt;- vgexport /dev/vg01&lt;BR /&gt;- ioscan -fnCdisk&lt;BR /&gt;- insf -e&lt;BR /&gt;- get vg01.map from main server, save into /tmp&lt;BR /&gt;- mkdir /dev/vg01&lt;BR /&gt;- mknod /dev/vg01/group c 64 0xnn0000 (same as on main server)&lt;BR /&gt;- vgimport -s -v -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Never had any difficulties with this procedure. Running a 8-node cluster with 28 packages and almost 60 vg's spread across various disk systems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;have fun&lt;BR /&gt;Sandro</description>
      <pubDate>Tue, 19 Aug 2003 08:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050814#M136481</guid>
      <dc:creator>Sandro Schaer_2</dc:creator>
      <dc:date>2003-08-19T08:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error MC/SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050815#M136482</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But when i try to vgimport it gives me the&lt;BR /&gt;&amp;gt;Warning:Volume Group contains "1" PVs, "2"&lt;BR /&gt;&amp;gt;specified. Where does the standby node get &amp;gt;the info that the vg has only one PV. &lt;BR /&gt;&lt;BR /&gt;The warning is because you have alternate paths set up.  LVM stores this information on the header &amp;amp; footer of the disks themselves &amp;amp; they KNOW that there is only 1 physical disk (or LUN I assume), &amp;amp; when you do the vgimport you are specifying two disks/paths (hence the eWarning message).  At that point the programs obviously do not know one path is an alternate PV link.&lt;BR /&gt;&lt;BR /&gt;IF you were to do&lt;BR /&gt;vgexporet -s -m /tmp/vg01.map -p -v vg01&lt;BR /&gt;&amp;amp;&lt;BR /&gt;vgimport -s -m /tmp/vg01.map -v vg01&lt;BR /&gt;&lt;BR /&gt;you would not see this message, as the vgimport goes off &amp;amp; scans the hardware &amp;amp; finds all the disks with the correct VGID.&lt;BR /&gt;&lt;BR /&gt;There really is nothing to worry about, it is an warning that you can ignore.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 20 Aug 2003 14:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error-mc-sg/m-p/3050815#M136482</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-08-20T14:46:34Z</dc:date>
    </item>
  </channel>
</rss>

