<?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 vgimport error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560652#M646838</link>
    <description>I am vgexporting from one host and vgimmporting on another (both attached to an emc array).&lt;BR /&gt;&lt;BR /&gt;1. vgexport -p -m /tmp/vgapp03.mapfile /dev/vgapp03&lt;BR /&gt;2. rcp file over &lt;BR /&gt;3. since this was a new disk...pvcreate /dev/rdsk/c22t3d3&lt;BR /&gt;4. mkdir /dev/vgstgapp03&lt;BR /&gt;5. mknod /dev/vgstgapp03/group c 64 0x680000&lt;BR /&gt;6. vgcreate /dev/vgstgapp03 /dev/dsk/c22t3d3&lt;BR /&gt;7. vgexport -m /tmp/vgstgapp03.mapfile /dev/vgstgapp03 (had to do step 6 and 7 because when i tried to vgimport it gave me an error saying that it could not import because no vg was associated with pv...or something similar)&lt;BR /&gt;8. mkdir again&lt;BR /&gt;9. mknod again&lt;BR /&gt;10. vgimport -m /tmp/vgstgapp03.mapfile -v /dev/vgstgapp03 /dev/dsk/c22t3d3&lt;BR /&gt;&lt;BR /&gt;I get the following error....&lt;BR /&gt;&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgstgapp03".&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vgstgapp03/lvtrans" is missing Physical Volumes.&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vgstgapp03/lvsapmnt" is missing Physical Volumes.&lt;BR /&gt;Volume group "/dev/vgstgapp03" 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;The volume group is created but the lv is not.&lt;BR /&gt;&lt;BR /&gt;If I vgexport destroy and recreate the dir. and node and then reimport i still get the same error.  &lt;BR /&gt;&lt;BR /&gt;Any ideas???&lt;BR /&gt;Brent</description>
    <pubDate>Thu, 02 Aug 2001 14:17:44 GMT</pubDate>
    <dc:creator>Brent Hardesty</dc:creator>
    <dc:date>2001-08-02T14:17:44Z</dc:date>
    <item>
      <title>vgimport error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560652#M646838</link>
      <description>I am vgexporting from one host and vgimmporting on another (both attached to an emc array).&lt;BR /&gt;&lt;BR /&gt;1. vgexport -p -m /tmp/vgapp03.mapfile /dev/vgapp03&lt;BR /&gt;2. rcp file over &lt;BR /&gt;3. since this was a new disk...pvcreate /dev/rdsk/c22t3d3&lt;BR /&gt;4. mkdir /dev/vgstgapp03&lt;BR /&gt;5. mknod /dev/vgstgapp03/group c 64 0x680000&lt;BR /&gt;6. vgcreate /dev/vgstgapp03 /dev/dsk/c22t3d3&lt;BR /&gt;7. vgexport -m /tmp/vgstgapp03.mapfile /dev/vgstgapp03 (had to do step 6 and 7 because when i tried to vgimport it gave me an error saying that it could not import because no vg was associated with pv...or something similar)&lt;BR /&gt;8. mkdir again&lt;BR /&gt;9. mknod again&lt;BR /&gt;10. vgimport -m /tmp/vgstgapp03.mapfile -v /dev/vgstgapp03 /dev/dsk/c22t3d3&lt;BR /&gt;&lt;BR /&gt;I get the following error....&lt;BR /&gt;&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgstgapp03".&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vgstgapp03/lvtrans" is missing Physical Volumes.&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vgstgapp03/lvsapmnt" is missing Physical Volumes.&lt;BR /&gt;Volume group "/dev/vgstgapp03" 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;The volume group is created but the lv is not.&lt;BR /&gt;&lt;BR /&gt;If I vgexport destroy and recreate the dir. and node and then reimport i still get the same error.  &lt;BR /&gt;&lt;BR /&gt;Any ideas???&lt;BR /&gt;Brent</description>
      <pubDate>Thu, 02 Aug 2001 14:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560652#M646838</guid>
      <dc:creator>Brent Hardesty</dc:creator>
      <dc:date>2001-08-02T14:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560653#M646839</link>
      <description>Hi Brent:&lt;BR /&gt;&lt;BR /&gt;The operation of 'vgexport' on one server and 'vgimport' on another is designed to give ownership of a volume group from the source (export) to the destination (import).&lt;BR /&gt;&lt;BR /&gt;The data on the physical disk comprising the volume group is not changed.  You are "telling" one server that it no longer owns the volume group while "telling" the second server that it does now own it.  In part, in the process, each server's /etc/lvmtab is updated to reflect the presence/absence of the volume group and the physical disk.&lt;BR /&gt;&lt;BR /&gt;You do *not* do '*create' on anything.&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2001 14:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560653#M646839</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-02T14:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560654#M646840</link>
      <description>just as a quick analysis, it appears that you are trying to create a vg in line 6 without doing a pvcreate on the dsk c22t3d0&lt;BR /&gt;If there is already a pvcreate done on the vg before, there is no reason typically to do a vgcreate.. the vgimport does the vgcreation for you.. apart from the group file.. (68 seems really large - did you ll /dev/*/group to find that?)&lt;BR /&gt;&lt;BR /&gt;Note that if you pvcreate, all lvm headers and fs lv structure will be lost and it is difficult to recreate it.&lt;BR /&gt;Try the commands w/out the vgcreate.&lt;BR /&gt;&lt;BR /&gt;vgexport -p -m /tmp/vgapp03.mapfile /dev/vgapp03 &lt;BR /&gt;2. rcp file over &lt;BR /&gt;3. since this was a new disk...pvcreate /dev/rdsk/c22t3d3 &lt;BR /&gt;4. mkdir /dev/vgstgapp03 &lt;BR /&gt;5. mknod /dev/vgstgapp03/group c 64 0x680000 &lt;BR /&gt;6. vgcreate /dev/vgstgapp03 /dev/dsk/c22t3d3 &lt;BR /&gt;7. vgexport -m /tmp/vgstgapp03.mapfile /dev/vgstgapp03 (had to do step 6 and 7 because when i tried to vgimport it gave me an error saying that it could not import because no vg was associated with pv...or something similar) &lt;BR /&gt;8. mkdir again &lt;BR /&gt;9. mknod again &lt;BR /&gt;10. vgimport -m /tmp/vgstgapp03.mapfile -v /dev/vgstgapp03 /dev/dsk/c22t3d3 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2001 14:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560654#M646840</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-08-02T14:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560655#M646841</link>
      <description>James and Bill:&lt;BR /&gt;&lt;BR /&gt;Thanks for your responses.  I realize that I should not have to do a vgcreate as long as the disk was pvcreated (which it was).  I have retried to do the vgimport from the beginning. 1. Re pvcreated the disk&lt;BR /&gt;2. mkdir&lt;BR /&gt;3. mknod&lt;BR /&gt;4. vgexported from other host&lt;BR /&gt;5. rcp'd the mapfile over&lt;BR /&gt;6. vgimported and i get the following error (which is why i decided to go ahead and do the vgcreate as previously mentioned)&lt;BR /&gt;&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgstgapp03".&lt;BR /&gt;Physical Volume "/dev/dsk/c22t3d3" is not part of a Volume Group&lt;BR /&gt;&lt;BR /&gt;What am I missing here?&lt;BR /&gt;&lt;BR /&gt;As to why #0x68....we have app. 100 vg's on this server.&lt;BR /&gt;&lt;BR /&gt;thx again</description>
      <pubDate>Thu, 02 Aug 2001 16:39:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560655#M646841</guid>
      <dc:creator>Brent Hardesty</dc:creator>
      <dc:date>2001-08-02T16:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560656#M646842</link>
      <description>last post didnt come out like i meant....&lt;BR /&gt;&lt;BR /&gt;"I realize that I should not have to do a vgcreate as long as the disk was pvcreated (which it was)" &lt;BR /&gt;&lt;BR /&gt;Should have read...once the new disk was pvcreated...I realize the vgimport should create the vg for me.......&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;again...thx for your help/time</description>
      <pubDate>Thu, 02 Aug 2001 16:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560656#M646842</guid>
      <dc:creator>Brent Hardesty</dc:creator>
      <dc:date>2001-08-02T16:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560657#M646843</link>
      <description>You are exporting a volume group structure from on host to another host.&lt;BR /&gt;Since they are EMC, are you trying to do BCV configuration.&lt;BR /&gt;If bcv configuration do as follows&lt;BR /&gt;On a souce host(Where you have STD devices)&lt;BR /&gt;vgexport -m &lt;MAPFILE name=""&gt; -p -v /dev/&lt;VOLUMEGROUP name=""&gt;&lt;BR /&gt;rcp &lt;MAPFILE name=""&gt; &lt;DESTINATION host--where="" you="" have="" bcv=""&gt;:/&lt;LOCATION where="" you="" want="" to="" copy=""&gt;&lt;BR /&gt;&lt;BR /&gt;On destination host(Where you have BCV devices)&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;mkdir /dev/&lt;VOLUMEGROUP name=""&gt;&lt;BR /&gt;mknod /dev/&lt;VOLUMEGROUP name=""&gt;/group c 64 0xnnnnnn&lt;BR /&gt;Now you have to find out which std device is matched with what bcv device&lt;BR /&gt;vgimport -m &lt;MAPFILE name=""&gt; -v /dev/&lt;VOLUME group="" name=""&gt; &lt;MATCHED bcv="" pv=""&gt;&lt;BR /&gt;vgchange -a y /dev/&lt;VOLUMEGROUP name=""&gt;&lt;BR /&gt;vgcfgbackup /dev/&lt;VOLUMEGROUP name=""&gt;&lt;BR /&gt;&lt;BR /&gt;If you moving disks from host port to another host ports through SDR (Symmetrix disk relocator) software:&lt;BR /&gt;Do following steps&lt;BR /&gt;---------------------&lt;BR /&gt;Run inq on source host and store it in a file&lt;BR /&gt;vgdisplay -v /dev/&lt;VOLUME group="" you="" are="" moving=""&gt;|grep "PV Name"|grep -v "Alternate"|sed e 's/^ *//'|awk '{print $3}'|sed -e 's/dsk/rdsk/' &amp;gt; vgname.disks&lt;BR /&gt;for i in `cat vgname.disks`&lt;BR /&gt;do&lt;BR /&gt;    grep ${i} inq.out&lt;BR /&gt;done &amp;gt; vgname_emc_disk.info&lt;BR /&gt;Print out vgname_emc_disk.info&lt;BR /&gt;vgexport -m &lt;MAPFILE name=""&gt; -v /dev/&lt;VOLUME group="" you="" are="" moving=""&gt;&lt;BR /&gt;rpc map file to target host(where you are moving your disks&lt;BR /&gt;move volume group disks to target host with SDR software.&lt;BR /&gt;log on to target host&lt;BR /&gt;run ioscan -fnC disk&lt;BR /&gt;run insf -e -C disk&lt;BR /&gt;run ioscan -fnC disk &amp;gt; ioscan.out&lt;BR /&gt;look ioscan.out for new disks&lt;BR /&gt;run inq &amp;gt; inq_targethost.out&lt;BR /&gt;From the Print out vgname_emc_disk.info take 5th field.  Grep this 5th field from inq_targethost.out file. &lt;BR /&gt;You get new set of PV disks&lt;BR /&gt;Do not do pvcreate on these disks&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/&lt;VGNAME&gt; on target host&lt;BR /&gt;mknod /dev/&lt;VGNAME&gt;/group c 64 0xnnnnnn on target hot&lt;BR /&gt;vgimport -m &lt;MAP file="" from="" source="" host=""&gt; -v /dev/&lt;VGNAME&gt;&lt;BR /&gt;vgchange -a y /dev/&lt;VGNAME&gt;&lt;BR /&gt;vgcfgbackup /dev/&lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;this will work for you&lt;BR /&gt; &lt;BR /&gt;Srini&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/MAP&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VOLUME&gt;&lt;/MAPFILE&gt;&lt;/VOLUME&gt;&lt;/VOLUMEGROUP&gt;&lt;/VOLUMEGROUP&gt;&lt;/MATCHED&gt;&lt;/VOLUME&gt;&lt;/MAPFILE&gt;&lt;/VOLUMEGROUP&gt;&lt;/VOLUMEGROUP&gt;&lt;/LOCATION&gt;&lt;/DESTINATION&gt;&lt;/MAPFILE&gt;&lt;/VOLUMEGROUP&gt;&lt;/MAPFILE&gt;</description>
      <pubDate>Fri, 03 Aug 2001 12:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-error/m-p/2560657#M646843</guid>
      <dc:creator>Steve Tasker</dc:creator>
      <dc:date>2001-08-03T12:11:40Z</dc:date>
    </item>
  </channel>
</rss>

