<?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 probs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238796#M626937</link>
    <description>I hope you didn't actually run the pvcreate (as Mike mentioned).  That would have overwritten any existing LVM structures on those drives. &lt;BR /&gt;&lt;BR /&gt;The only thing I would add going forward is possibly using the -s option when you do the vgexport as it will add the PVID to the mapfile.  That way when you are going to vgimport, you don't need to specify the disk paths.&lt;BR /&gt;&lt;BR /&gt;I had a question somewhat similar to this a while ago and got some great responses that you may want to read through:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=191717" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=191717&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That thread proved very helpful.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;</description>
    <pubDate>Sat, 03 Apr 2004 00:34:14 GMT</pubDate>
    <dc:creator>Jim Mallett</dc:creator>
    <dc:date>2004-04-03T00:34:14Z</dc:date>
    <item>
      <title>Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238794#M626935</link>
      <description>Have created a mapfile of the a vg using vgexport from system A, and copied the mapfile to system B and when running vgimport I get the error :&lt;BR /&gt;&lt;BR /&gt;vgimport -m vgdata01.mapfile -v vgdata21 /dev/dsk/c9t0d1 /dev/dsk/c11t0d2&lt;BR /&gt;Beginning the import process on Volume Group "vgdata21".&lt;BR /&gt;Physical Volume "/dev/dsk/c9t0d1" is not part of a Volume Group&lt;BR /&gt;Physical Volume "/dev/dsk/c11t0d2" is not part of a Volume Group&lt;BR /&gt;&lt;BR /&gt;I then pvcreate the disks above successfully :&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c9t0d1&lt;BR /&gt;Physical volume "/dev/rdsk/c9t0d1" has been successfully created.&lt;BR /&gt;# pvcreate -f /dev/rdsk/c11t0d2&lt;BR /&gt;Physical volume "/dev/rdsk/c11t0d2" has been successfully created.&lt;BR /&gt;&lt;BR /&gt;But still get the above errors when vgimporting. pvdisplay fails as well :&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c9t0d1&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c9t0d1" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c9t0d1".&lt;BR /&gt;&lt;BR /&gt;/etc/lvmtab is clean. Diskinfo shows the disk ok :&lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdsk/c9t0d1&lt;BR /&gt;SCSI describe of /dev/rdsk/c9t0d1:&lt;BR /&gt;             vendor: EMC&lt;BR /&gt;         product id: SYMMETRIX&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 35354880 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdsk/c11t0d2&lt;BR /&gt;SCSI describe of /dev/rdsk/c11t0d2:&lt;BR /&gt;             vendor: EMC&lt;BR /&gt;         product id: SYMMETRIX&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 35354880 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;How would I vgimport the vg properly? Would appreciate any advice. Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 23:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238794#M626935</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-02T23:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238795#M626936</link>
      <description>Before you can import, you need to firstly create the directory and the device major device for the group.&lt;BR /&gt;&lt;BR /&gt;e.g&lt;BR /&gt;mkdir /dev/myvg&lt;BR /&gt;mknod /dev/myvg/group c 64 0x020000&lt;BR /&gt;vgimport -v -m myvg.mapfile -p /dev/myvg (always run the preview option first) &lt;BR /&gt;&lt;BR /&gt;Are you sure that these two LUN's are part of your volume group? What was your procedure on  having system B see the disks from system A ?&lt;BR /&gt;There is never any need to run 'pvcreate' when importing. Why did you run 'pvcreate -f' ? 'pvcreate -f' bascially clobbers any LVM related information on your disk.&lt;BR /&gt;&lt;BR /&gt;I am afraid if have picked the correct LUN's you have clobbered your disks ..... Time to get your backups out. You did create backups right ?&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Apr 2004 00:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238795#M626936</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-04-03T00:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238796#M626937</link>
      <description>I hope you didn't actually run the pvcreate (as Mike mentioned).  That would have overwritten any existing LVM structures on those drives. &lt;BR /&gt;&lt;BR /&gt;The only thing I would add going forward is possibly using the -s option when you do the vgexport as it will add the PVID to the mapfile.  That way when you are going to vgimport, you don't need to specify the disk paths.&lt;BR /&gt;&lt;BR /&gt;I had a question somewhat similar to this a while ago and got some great responses that you may want to read through:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=191717" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=191717&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That thread proved very helpful.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Apr 2004 00:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238796#M626937</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-04-03T00:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238797#M626938</link>
      <description>Hi,&lt;BR /&gt;You say that you have done pvcreate-- Why?&lt;BR /&gt;You don't need to do pvcreate if you want to do vgimport.&lt;BR /&gt;Now in this situation you say that /etc/lvmtab is empty--So,do&lt;BR /&gt;#vgscan -v &lt;BR /&gt;This will create a new lvmtab file for you.&lt;BR /&gt;Don't Worry it may take some time also.&lt;BR /&gt;And this will tell you whether /dev/dsk/c9t0d1 and c11t0d2 are avialable for import or not.&lt;BR /&gt;If yes follow the &lt;BR /&gt;Michael's Instruction to import those Volume groups.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Apr 2004 01:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238797#M626938</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-04-03T01:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238798#M626939</link>
      <description>No need to pvcreate on the disks, it will destroy your data on the disks. Also no need to use mapfile if u don't want the same lvol names.&lt;BR /&gt;&lt;BR /&gt;Just create  dir vgdata21 in /dev&lt;BR /&gt;&lt;BR /&gt;# cd /dev&lt;BR /&gt;&lt;BR /&gt;# mkdir vgdata21&lt;BR /&gt;&lt;BR /&gt;# cd vgdata21&lt;BR /&gt;&lt;BR /&gt;# mknod group c 64 0x0n0000&lt;BR /&gt;&lt;BR /&gt;where n is a distinct no. for volume group&lt;BR /&gt;&lt;BR /&gt;Then import the vg.&lt;BR /&gt;&lt;BR /&gt;# vgimport -v vgdata21 /dev//dev/dsk/c9t0d1 /dev/dsk/c11t0d2&lt;BR /&gt;&lt;BR /&gt;thats all&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Sat, 03 Apr 2004 05:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238798#M626939</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2004-04-03T05:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238799#M626940</link>
      <description>When you create map file &amp;amp; do vgexport with -s option, it will scan the vgid and while vgimport using that map file it will look for same vgid and give error which you got is that vgid is not same. Now whenever you have this problem do vgexport -p and don't use -s option but while vgimport do like this&lt;BR /&gt;# vgimport -m /tmp/xx.map /dev/dsk/cxtxdx /dev/dsk/cxtxdx and so on.....&lt;BR /&gt;If its is a BCV copy of disks that you may sync it again and use -s option because this time same vgid information  will be written on these disks.</description>
      <pubDate>Sat, 03 Apr 2004 10:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238799#M626940</guid>
      <dc:creator>SS_6</dc:creator>
      <dc:date>2004-04-03T10:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238800#M626941</link>
      <description>Thanks for all the replies.&lt;BR /&gt;&lt;BR /&gt;I have pvcreate'd the disks already. But this is the scenario.&lt;BR /&gt;&lt;BR /&gt;system A and B do not share disks. &lt;BR /&gt;&lt;BR /&gt;system A has EMC disks which need to be Timefinder sync'ed to system B 's BCV disks.&lt;BR /&gt;&lt;BR /&gt;Hence the vg info of system A needs to be in duplicated into system B.&lt;BR /&gt;&lt;BR /&gt;vgexport of system A was done :&lt;BR /&gt;# vgexport -p -v -m vgdata01.mapfile /dev/vgdata01&lt;BR /&gt;&lt;BR /&gt;But when vgimport'ing into system B, I get the above msgs and can't vgimport.&lt;BR /&gt;&lt;BR /&gt;Since the disks have been pvcreate'd, how would vgimport into system B then? It has different device disk files etc. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Apr 2004 19:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238800#M626941</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-03T19:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238801#M626942</link>
      <description>If these are BCV's then you need to get a fresh copy from the originals. Are the disks on system A RDF1 ? If so you will need to do a full establish from these to your BCV's using the 'symmir' command. e.g. You can this providing you have the SYMCLI license and you have the device group(s) set up correctly.&lt;BR /&gt;&lt;BR /&gt;# symmir -g mydevicegroup.rdf -full establish&lt;BR /&gt;# symmir -g mydevicegroup.rdf split&lt;BR /&gt;# vgexport -m mymapfile -v -p -s /dev/myvg&lt;BR /&gt;&lt;BR /&gt;System B&lt;BR /&gt;copy the mapfile from system A&lt;BR /&gt;# ioscan -fn (to get the disks, if you have presented them correctly)&lt;BR /&gt;# mkdir /dev/myvg&lt;BR /&gt;# mknod /dev/myvg/group c 64 0x020000&lt;BR /&gt;# vgchgid /dev/rdsk/cXtYdZ (add each disk)&lt;BR /&gt;# vgimport -v -m myvg.mapfile -p /dev/myvg (always run the preview option first)&lt;BR /&gt;drop the preview if no errors.&lt;BR /&gt;# vgchange -a y /dev/myvg&lt;BR /&gt;# vgcfgfgbackup /dev/myvg&lt;BR /&gt;You may to have to run an 'fsck' prior to mounting the filesystem.</description>
      <pubDate>Sat, 03 Apr 2004 20:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238801#M626942</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-04-03T20:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238802#M626943</link>
      <description>The -s on vgexport/vgimport is the key.  With that, you don't need to know the device files on the new system.  The PVID will be searched on each of the disks and only the appropriate disks added.  Michael's steps walk you through it.&lt;BR /&gt;&lt;BR /&gt;The only other question I would have is, you mentioned "system A and system B do not share disks".  We are going on the assumption here that the these disks are multi-ported from the Symmetrix to both hosts.  If the disks are not ported to both hosts then you will not be able to import them on system B.  Do you know that they were configured for both hosts by EMC?  Or do you have a tool like Control Center to view the disks?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Apr 2004 20:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238802#M626943</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-04-03T20:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238803#M626944</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestions. Have done everything you recommended up till vgimport :&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m vgdata01.mapfile -p /dev/vgdata21&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgdata21".&lt;BR /&gt;vgimport: Unable to read the physical volume.&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m vgdata01.mapfile -p /dev/vgdata21 /dev/dsk/c9t0d1 /dev/dsk/c11t0d2&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgdata21".&lt;BR /&gt;vgimport: The Physical Volumes specified on the command line&lt;BR /&gt;do not belong to the same Volume Group.&lt;BR /&gt;&lt;BR /&gt;This is what I meant...have TF sync'ed the BCVs, vgchgid etc. In the future the BCVs in system B will be used to backup the data from system A via daily TF syncs.&lt;BR /&gt;&lt;BR /&gt;I think it's because I pvcreate'd both the disks earlier. So how can I vgimport now? Thanks again.</description>
      <pubDate>Sat, 03 Apr 2004 21:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238803#M626944</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-03T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238804#M626945</link>
      <description>Jim,&lt;BR /&gt;Yes, one Symmetrix box, with disks in different hosts that are not shared. System A using the STD (M1/M2) disks, and system B BCVs.</description>
      <pubDate>Sat, 03 Apr 2004 21:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238804#M626945</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-03T21:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238805#M626946</link>
      <description>pvdisplay info on the disks :&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c9t0d1&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c9t0d1" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c9t0d1".&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c11t0d2&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c11t0d2" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c11t0d2".&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Apr 2004 00:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238805#M626946</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-04T00:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238806#M626947</link>
      <description>genexadmin describes my situation exactly here :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=102080" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=102080&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;except in my case the disks are pvcreate'd and vgimport fails with the above msgs.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Sun, 04 Apr 2004 01:02:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238806#M626947</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-04T01:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238807#M626948</link>
      <description>The vgimport is not going to work if you added the pvcreate step in between.  You basically wiped those disks out.  At this point, I think your best best is going to be trying a vgcfgrestore on system A.  This will get you back to your initial position and may be your only chance to keep any of the data that was on there.&lt;BR /&gt;If that is successful, start the whole process over using the sequence of commands that Michael outlined.  Be sure to use the -s option on the vgexport and vgimport as it will make the process easier as you won't need to worry about the paths.&lt;BR /&gt;I don't have access to man pages right now so I'm not sure of the syntax on the vgcfgrestore, but as with any command use it carefully.  I'll try to check back in when I get up tomorrow, hopefully by then someone will have been able to add to this.&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Sun, 04 Apr 2004 02:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238807#M626948</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-04-04T02:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238808#M626949</link>
      <description>I just recreated your issue.  I have some disk on my Symm visible to two hosts.  I vgexported it from HostA and did a pvcreate from HostB.  At that point neither host is going to recognize the old LVM structures.&lt;BR /&gt;&lt;BR /&gt;If a backup of your LVM configuration exists on HostA in /etc/lvmconf do a vgcfgrestore, this will get you back to the starting point and should retain your data providing you haven't written to the disk elsewhere (From HostA):&lt;BR /&gt;# vgcfgrestore -n /dev/vgdata21 /dev/dsk/c9t0d1 /dev/dsk/c11t0d2&lt;BR /&gt;# mkdir /dev/vgdata21&lt;BR /&gt;# mknod /dev/vgdata21/group c 64 0x150000  (hex for 21)&lt;BR /&gt;# vgimport /dev/vgdata21 /dev/dsk/c9t0d1 /dev/dsk/c11t0d2&lt;BR /&gt;# vgchange -a y /dev/vgdata21&lt;BR /&gt;Mount your filesystem, and you should be back in business on HostA.&lt;BR /&gt;&lt;BR /&gt;Then start over and don't pvcreate anything this time (from HostA):&lt;BR /&gt;- Unmount your directory.&lt;BR /&gt;- Deactivate your volume group.&lt;BR /&gt;- vgexport your volume group using -s&lt;BR /&gt;# vgexport -v -s -m /tmp/vgdata21.map /dev/vgdata21&lt;BR /&gt;- Copy your map file to the 2nd system.&lt;BR /&gt;&lt;BR /&gt;From HostB:&lt;BR /&gt;# mkdir /dev/vgdata21&lt;BR /&gt;# mknod /dev/vgdata21/group c 64 0x150000 &lt;BR /&gt;# vgimport -v -s -m /tmp/vgdata21.map /dev/vgdata21&lt;BR /&gt;# vgchange -a y /dev/vgdata21&lt;BR /&gt;&lt;BR /&gt;Please check my syntax before executing (5am).  I'm going to see if I can sneak back into bed without getting yelled at now.&lt;BR /&gt;&lt;BR /&gt;Good luck...  Jim</description>
      <pubDate>Sun, 04 Apr 2004 03:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238808#M626949</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-04-04T03:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238809#M626950</link>
      <description>Jim,&lt;BR /&gt;I'll have to give you 10 points on effort alone. :)&lt;BR /&gt;&lt;BR /&gt;Please let me try to explain it one more time. HostA has STD disks which hostB (with BCVs) does not see, and vice-versa.&lt;BR /&gt;&lt;BR /&gt;STD-to-BCV mapping has been done. STD disks in HostA will eventually get TF sync'ed into BCVs in HostB on a daily basis as backup.&lt;BR /&gt;&lt;BR /&gt;I have vgexported HostA's VG :&lt;BR /&gt;# vgexport -m vgdata01.mapfile -p -v /dev/vgdata01&lt;BR /&gt;&lt;BR /&gt;The "-s" option was not used as the disks are not shared between hosts.&lt;BR /&gt;&lt;BR /&gt;At this point, have done a full TF sync from STD_hostA to BCV_hostB (as Michael pointed out).&lt;BR /&gt;&lt;BR /&gt;On hostB, have done the mknod etc ensuring the minor number is unique. I had also pvcreate'd both the disks which are supposed to be vgimport'ed into.&lt;BR /&gt;&lt;BR /&gt;And I get the errors when vgimport'ing as above. &lt;BR /&gt;&lt;BR /&gt;Assuming that on hostB these are new BCVs (disks), so a pvcreate shouldn't hurt? I'm stumped.&lt;BR /&gt;&lt;BR /&gt;Help!&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Apr 2004 04:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238809#M626950</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-04T04:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238810#M626951</link>
      <description>Am I missing the point here?  If I undeestand correctly host A disks has NOTHING to do with Host B disks.  If this is the case the vgimport is not the tool for you.  Simply create the volume group.  It will not contain ANY data or the LVM structires of host A.  You can synchronise the two data sets by copying the data (backup on A, then restore on B), but the data will not stay in sync...&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x??0000&lt;BR /&gt;# vgcreate vg01 /dev/dsk/... /dev/dsk/...&lt;BR /&gt;# lvcreate ...&lt;BR /&gt;# newfs ....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Apr 2004 04:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238810#M626951</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2004-04-04T04:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238811#M626952</link>
      <description>Tim,&lt;BR /&gt;vgexport/vgimport was done previously on separate hosts.&lt;BR /&gt;&lt;BR /&gt;As Michael suggested :&lt;BR /&gt;1. Full establish for STD -&amp;gt; BCV&lt;BR /&gt;2. Split&lt;BR /&gt;3. vgexport from hostA&lt;BR /&gt;4. copy map files to hostB&lt;BR /&gt;5. mkdir vg, mknod&lt;BR /&gt;6. vgimport map files in hostB&lt;BR /&gt;&lt;BR /&gt;And this is where it fails. If (6) succeeds then the vgimport'ed vg in hostB would have the filesystem/lv structure of hostA.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Apr 2004 20:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238811#M626952</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-04T20:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238812#M626953</link>
      <description>There is a step you have missed. We do this all the time, splitting off BCV's from an R2 set.&lt;BR /&gt;This is how:&lt;BR /&gt;&lt;BR /&gt;1. Full establish for STD -&amp;gt; BCV&lt;BR /&gt;2. Split&lt;BR /&gt;3. vgexport to create map file from hostA&lt;BR /&gt;4. copy map files to hostB&lt;BR /&gt;5. mkdir vg, mknod&lt;BR /&gt;6. vgchgid for each device in a string (man page shows how)&lt;BR /&gt;7. vgimport map files in hostB&lt;BR /&gt;&lt;BR /&gt;fsck/mount as necessary. Without running the vgchgid you will not be able to run the vgimport successfully.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Apr 2004 20:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238812#M626953</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-04-04T20:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport probs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238813#M626954</link>
      <description>It works!!! Fool of a Took!&lt;BR /&gt;&lt;BR /&gt;Michael, found out that if we don't vgchgid we will get this warning in vgimport :&lt;BR /&gt;&lt;BR /&gt;vgimport -p -v -m vgdata02.mapfile vgdata32 /dev/dsk/c9t2d0&lt;BR /&gt;Beginning the import process on Volume Group "vgdata32".&lt;BR /&gt;vgimport: Warning:  Volume Group belongs to different CPU ID.&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;But it's ok.  Thanks everyone, esp Michael and Jim. &lt;BR /&gt;</description>
      <pubDate>Mon, 05 Apr 2004 00:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-probs/m-p/3238813#M626954</guid>
      <dc:creator>W L Wong</dc:creator>
      <dc:date>2004-04-05T00:33:59Z</dc:date>
    </item>
  </channel>
</rss>

