<?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: vgexport/vgimport problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391313#M199178</link>
    <description>Thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;The cluster is certainly working. Cmviewcl shows me the the package is up and running.&lt;BR /&gt;Also the database is still up.&lt;BR /&gt;&lt;BR /&gt;Borislav. Does this mean that the volume group structure on the primary host also has to be recreated ?</description>
    <pubDate>Fri, 01 Oct 2004 04:59:31 GMT</pubDate>
    <dc:creator>Walter Goncalves</dc:creator>
    <dc:date>2004-10-01T04:59:31Z</dc:date>
    <item>
      <title>vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391310#M199175</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;We have a M/C service guard cluster configuration. The package runs on one host and fails over to the other. However we ran SAM on the failover node and somehow used a disk whch was configured as part of the package to create a new (local)volume group.&lt;BR /&gt;We have since seen our error and exported the volume group on the failover node in order to free up that disk. However, when I try to run the vgimport command on the failover node to make that node aware of the shared volume group I get the following error. Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vg_data/m_d1_01" is missing Physical Volumes.&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vg_data/m_d1_02" is missing Physical Volumes.&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vg_data/m_d1_03" is missing Physical Volumes.&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vg_data/m_d1_04" is missing Physical Volumes.&lt;BR /&gt;&lt;BR /&gt;I know what I done wrong. I pvcreated a disk on the failover node that belonged to the cluster. Does anyone know how to reverse this. The only thing I can think of is to recreate the whole volume group structure - not something I want to do since this is a production server</description>
      <pubDate>Fri, 01 Oct 2004 04:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391310#M199175</guid>
      <dc:creator>Walter Goncalves</dc:creator>
      <dc:date>2004-10-01T04:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391311#M199176</link>
      <description>Hi,&lt;BR /&gt;I wonder if your production server is not in problem becuase when you use pvcreate from failover node it must have deleted the FileSystem on it (if you have used -f option) and if this FileSystem is part of any package that particular Package should fail.&lt;BR /&gt;Could you tell about "cmviewcl -v" output.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 01 Oct 2004 04:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391311#M199176</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-10-01T04:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391312#M199177</link>
      <description>Hi,&lt;BR /&gt;You already have the answer.&lt;BR /&gt;You need to recreate the whole VG structure.&lt;BR /&gt;Before that make sure that you have backup.&lt;BR /&gt;Export the VG configuration on active node. Copy the file to Standby node. Make the phisical volumes and import the configuration to standby.&lt;BR /&gt;&lt;BR /&gt;vgimport -m file_cfg_save vg_name /dev/dsk/cxtxd0 /dev/dsk/cxtxd1 .......&lt;BR /&gt;&lt;BR /&gt;Rgeards,&lt;BR /&gt;Borislav</description>
      <pubDate>Fri, 01 Oct 2004 04:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391312#M199177</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2004-10-01T04:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391313#M199178</link>
      <description>Thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;The cluster is certainly working. Cmviewcl shows me the the package is up and running.&lt;BR /&gt;Also the database is still up.&lt;BR /&gt;&lt;BR /&gt;Borislav. Does this mean that the volume group structure on the primary host also has to be recreated ?</description>
      <pubDate>Fri, 01 Oct 2004 04:59:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391313#M199178</guid>
      <dc:creator>Walter Goncalves</dc:creator>
      <dc:date>2004-10-01T04:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391314#M199179</link>
      <description>No, you should only export the VG, and copy it to standby for importing.&lt;BR /&gt;&lt;BR /&gt;vgexport â  m /tmp/vg_name.map â  p â  v vg_name&lt;BR /&gt;rcp /tmp/vg_name.map stand_by:/tmp/.&lt;BR /&gt;&lt;BR /&gt;then on standby you should:&lt;BR /&gt;&lt;BR /&gt;# vgexport vg_name   -&amp;gt; delete the volume group&lt;BR /&gt;# mkdir /dev/vg_name&lt;BR /&gt;# mknod /dev/vgdb/group c 64 0x0n0000&lt;BR /&gt;# vgimport â  m /tmp/vgdb.map vgdb \&lt;BR /&gt;&amp;gt; /dev/dsk/cxt0d0 /dev/dsk/cxt0d1 \&lt;BR /&gt;&amp;gt; /dev/dsk/cxt0d2 /dev/dsk/cxt0d3 \&lt;BR /&gt;&amp;gt; /dev/dsk/cxt0d4 /dev/dsk/cxt0d5 \&lt;BR /&gt;&amp;gt; .....</description>
      <pubDate>Fri, 01 Oct 2004 05:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391314#M199179</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2004-10-01T05:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391315#M199180</link>
      <description>Sorry&lt;BR /&gt;&lt;BR /&gt;# vgimport -Â Â m /tmp/vg_name.map vg_name \&lt;BR /&gt;&amp;gt; /dev/dsk/cxt0d0 /dev/dsk/cxt0d1 \&lt;BR /&gt;&amp;gt; /dev/dsk/cxt0d2 /dev/dsk/cxt0d3 \&lt;BR /&gt;&amp;gt; /dev/dsk/cxt0d4 /dev/dsk/cxt0d5 \&lt;BR /&gt;&amp;gt; .....&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bori</description>
      <pubDate>Fri, 01 Oct 2004 05:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391315#M199180</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2004-10-01T05:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391316#M199181</link>
      <description>Hi again,&lt;BR /&gt;If you say it's working and only the Failover node has lost the references then u could do as follows:&lt;BR /&gt;Assuming the VG is "vgxx"&lt;BR /&gt;1. On production do&lt;BR /&gt;# ls -la /dev/vgxx/group&lt;BR /&gt;Note down the minor no.&lt;BR /&gt;# vgexport -p -s -m vgxx.map vgxx&lt;BR /&gt;{ Please don't forget to give -p option }&lt;BR /&gt;# vgdisplay -v vgxx&lt;BR /&gt;Here note down all the PV's associated with that VG.&lt;BR /&gt;&lt;BR /&gt;2. On Failover Node do&lt;BR /&gt;-- Copy the vgxx.map file from production server.(Use ftp or rcp)&lt;BR /&gt;# vgexport vgxx&lt;BR /&gt;This will remove the existing vgxx configuration on Failover node.&lt;BR /&gt;# mkdir /dev/vgxx&lt;BR /&gt;# mknod /dev/vgxx/group c 64 &lt;MINOR no.="" you="" noted="" down="" above=""&gt;&lt;BR /&gt;# vgimport -m vgxx.map vgxx &lt;PV1&gt; &lt;PV2&gt; ..&lt;BR /&gt;This PV1,PV2,.. are the one you noted above.&lt;BR /&gt;&lt;BR /&gt;That's all. You have recreated you VG structure.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/PV2&gt;&lt;/PV1&gt;&lt;/MINOR&gt;</description>
      <pubDate>Fri, 01 Oct 2004 05:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391316#M199181</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-10-01T05:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391317#M199182</link>
      <description>Does this mean that the volume group structure on the primary host also has to be recreated ? &lt;BR /&gt;Yes, you have to.&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 01 Oct 2004 06:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391317#M199182</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-10-01T06:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391318#M199183</link>
      <description>If you pvcreated this disk, then you destroyed the information on the disk that tells it what vgid it belongs to.  To confirm this, select the disk in question and another disk from the vg it should be associated to and run:&lt;BR /&gt;&lt;BR /&gt;echo "0x2008?4D"&lt;BR /&gt;&lt;BR /&gt;Take a look at that last column-if they are the same then just vgexport &amp;amp; import...but if you pvcreated, then you should see they are different, and this is what you need to fix.  &lt;BR /&gt;[You may also have to deal with data that could have been affected on this disk, but that is another matter].&lt;BR /&gt;&lt;BR /&gt;You can try to restore this information by using the vgcfgrestore.  Here is what HP suggested we try when something 'similar' happened here, you may have to throw in a vgchange -c n:&lt;BR /&gt;&lt;BR /&gt;stop the db&lt;BR /&gt;umount all fs in /dev/vgwc    (volume group)&lt;BR /&gt;vgchange -a n /dev/vgwc&lt;BR /&gt;vgcfgrestore -n /dev/vgwc /dev/rdsk/c0t5d0   &lt;BR /&gt;vgchange -a e /dev/vgwc&lt;BR /&gt;&lt;BR /&gt;remount &amp;amp; ck using echo command to see if disks now on same vgid...&lt;BR /&gt;&lt;BR /&gt;mount all fs in /dev/vgwc volume group&lt;BR /&gt;----it worked for us----&lt;BR /&gt;&lt;BR /&gt;We also had this happen on a 'root' disk once and got it fixed...a little more involved because we had to clear those first 4 blocks that were now wrong and then get it restored.&lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Oct 2004 07:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391318#M199183</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2004-10-01T07:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391319#M199184</link>
      <description>..oops type...the command should be:&lt;BR /&gt;&lt;BR /&gt;echo "0x2008?4D" | adb /dev/dsk/c-t-d-   &lt;BR /&gt;&lt;BR /&gt;..where c-t-d- is the disk in question &amp;amp; the other good disk in the vg you choose.&lt;BR /&gt;&lt;BR /&gt;Sorry !&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Oct 2004 07:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391319#M199184</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2004-10-01T07:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391320#M199185</link>
      <description>Thanks all.&lt;BR /&gt;&lt;BR /&gt;I will try your suggestions tonight.</description>
      <pubDate>Fri, 01 Oct 2004 07:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391320#M199185</guid>
      <dc:creator>Walter Goncalves</dc:creator>
      <dc:date>2004-10-01T07:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391321#M199186</link>
      <description>..here's another point.  You may need to check as to which vg.conf you use.  Remember you want to restore from the vg.conf that was good - and sometimes that is the old vg.conf.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Oct 2004 08:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391321#M199186</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2004-10-01T08:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport/vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391322#M199187</link>
      <description>The disk which you have misused, I am not sure what operation you have performed on it. But certainly it is not identifying the volume group it is belonging to. &lt;BR /&gt;If safe, you can restore the VG configuration on the disk. &lt;BR /&gt;&lt;BR /&gt;You will have a VG config in /etc/lvmconf/vgxx.conf..&lt;BR /&gt;&lt;BR /&gt;What you have to try is, there is already the VG config present on your failover node..so is the VG config. &lt;BR /&gt;Do vgcfgrestore -F /etc/lvmconf/vgxx.conf &lt;DISK&gt;&lt;BR /&gt;Do &lt;BR /&gt;Do a vgexport of your VG. &lt;BR /&gt;And use a previously created map file for importting. &lt;BR /&gt;vgimport -s -m ....&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Prashant&lt;/DISK&gt;</description>
      <pubDate>Fri, 01 Oct 2004 09:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-vgimport-problem/m-p/3391322#M199187</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-10-01T09:59:03Z</dc:date>
    </item>
  </channel>
</rss>

