<?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 and vgimport problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824001#M940320</link>
    <description>ofcouse ofter you get the lovl1 you need to them with the names &lt;BR /&gt;&lt;BR /&gt;mount /dev/vgnew/lvol1 /test1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;now the issues is which lvol on which mount point , what i suggest you is to look inot /etc/fstab of the old server and check what lvols where mounted on which mount points , and then mount them coresspondingly .&lt;BR /&gt; &lt;BR /&gt;Incase you cannot get the names of the mount poijnts then u need to mount on some test directory check the contents and remount using the correct names .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You would need to a fsck -y /dev/vgnew/rl* to make the lvols mountable .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Essentially the map file ahs the list of lvols the old volume group was supoos to have .&lt;BR /&gt;&lt;BR /&gt;Also please doa vgcfgback after you get the stuff up.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
    <pubDate>Fri, 11 Oct 2002 14:56:52 GMT</pubDate>
    <dc:creator>MANOJ SRIVASTAVA</dc:creator>
    <dc:date>2002-10-11T14:56:52Z</dc:date>
    <item>
      <title>vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823993#M940312</link>
      <description>hi all,&lt;BR /&gt;i have two hp servers accessing auto raid 12H E-disk array. there i have two luns in a volume group. i have many logical volumes and raw devices in that volume group. the problem is the vg was active on machine A. i wanted it on machine B. by accident i did a vgexport on A with out creating map file. now vg is not available on both the machines. i tried vgimport on machine B but no use. can any body tell me how to come out of this problem.&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;ravi</description>
      <pubDate>Fri, 11 Oct 2002 14:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823993#M940312</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-10-11T14:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823994#M940313</link>
      <description>Hi Ravi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can try just using a vgimport without a map file , it should come up with the lvols provide all the disks are the same . ie&lt;BR /&gt;&lt;BR /&gt;do vgimport /dev/vgnew /dev/dsk/cxtydz /dev/dsk/cx1ty1dz1 and so on , this would bring back the logical volumes  w/o any problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 11 Oct 2002 14:48:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823994#M940313</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-10-11T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823995#M940314</link>
      <description>hi manoj,&lt;BR /&gt;i tried that but lvols names are changed it is giving lvol1, lvol2 and so on, instead of orginal names.&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Oct 2002 14:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823995#M940314</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-10-11T14:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823996#M940315</link>
      <description>This is what a map file looks like,....&lt;BR /&gt;&lt;BR /&gt;dcsux100 &amp;gt; cat /tmp/vgDCS6DB.map&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;4 lvol4&lt;BR /&gt;5 lvol5&lt;BR /&gt;6 lvol6&lt;BR /&gt;7 lvol7&lt;BR /&gt;8 lvol8&lt;BR /&gt;9 lvol9&lt;BR /&gt;10 lvol10&lt;BR /&gt;11 lvol11&lt;BR /&gt;12 lvol12&lt;BR /&gt;13 lvol13&lt;BR /&gt;14 lvol14&lt;BR /&gt;15 lvol15&lt;BR /&gt;16 lvol16&lt;BR /&gt;17 lvol17&lt;BR /&gt;18 lvol18&lt;BR /&gt;&lt;BR /&gt;use the -f file for a list of physical disk devices (in order). Preferable if there are too many disks devices to specify on 1 command line. Both of these files can be generated by a vgdisplay -v of the previous VG on the previous system which of course you do at a regular interval (try sysinfo script from the porting centre or print_manifest from ignite if you do not!)&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Fri, 11 Oct 2002 14:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823996#M940315</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-10-11T14:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823997#M940316</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The mapfiles associated with volume group exports and imports are a convienence only.&lt;BR /&gt;&lt;BR /&gt;If you use the default, standard names for logical volumes with volume groups, then the mapfile is superflous, since the logical volume names will be 'lvol1, lvol2', etc.&lt;BR /&gt;&lt;BR /&gt;Otherwise, you can create a mapfile after the fact for use with the 'vgimport'; for example:&lt;BR /&gt;&lt;BR /&gt;1 mylvol1name&lt;BR /&gt;2 mylvol2name&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Oct 2002 14:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823997#M940316</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-10-11T14:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823998#M940317</link>
      <description>Well this was not a really good move but assuming that you have some sort of system documentation, you should be able to recover. I would actually get this VG going again on Machine A where you have presumeably known pv paths. Do the usual mkdir /dev/vgnn, mknod /dev/vgnn/group c 64 0xnnnnnn stuff, and vgimport -v /dev/vgnn /dev/dsk/cXtYd0 /dev/dsk/cXtYd1. &lt;BR /&gt;&lt;BR /&gt;The naming of the lvols will be lost but you will habve all the data.&lt;BR /&gt;&lt;BR /&gt;Next when you do a vgexport -m -m mapfile you can then edit the mapfile and put back in any custom vgnames for the vgimport on Machine B.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Oct 2002 14:54:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823998#M940317</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-11T14:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823999#M940318</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Remember that after the 'vgimport' you will need to activate the volume group:&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Oct 2002 14:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2823999#M940318</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-10-11T14:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824000#M940319</link>
      <description>When you exported it, what was the command you used ? Did you use "-s" option ? Vgimporting without the mapfile would work nicely if you use the standard LV naming convention (ex: lvol1,lvol2,lvol3, ..). The mapfile is basically consisted of this kind of entries ..&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;and so on. BUT if you use "-s" in your vgexport it'll include the VGID in the first line ..&lt;BR /&gt;VGID 77612e103c1a5e96&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;So I need to know if you'd used "-s" or not in your vgexport. If not and if you know all the names of the lvols you can manually create the mapfile and try the vgimport with that map file. You must have had backup of your LVM config to determine those LVs names.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Oct 2002 14:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824000#M940319</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-11T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824001#M940320</link>
      <description>ofcouse ofter you get the lovl1 you need to them with the names &lt;BR /&gt;&lt;BR /&gt;mount /dev/vgnew/lvol1 /test1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;now the issues is which lvol on which mount point , what i suggest you is to look inot /etc/fstab of the old server and check what lvols where mounted on which mount points , and then mount them coresspondingly .&lt;BR /&gt; &lt;BR /&gt;Incase you cannot get the names of the mount poijnts then u need to mount on some test directory check the contents and remount using the correct names .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You would need to a fsck -y /dev/vgnew/rl* to make the lvols mountable .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Essentially the map file ahs the list of lvols the old volume group was supoos to have .&lt;BR /&gt;&lt;BR /&gt;Also please doa vgcfgback after you get the stuff up.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 11 Oct 2002 14:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824001#M940320</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-10-11T14:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824002#M940321</link>
      <description>hi Clay,&lt;BR /&gt;iam using mknod on machine A as u suggested to create group. after iam trying vgimport with pv paths, but it is saying can not open control file /dev/vgtst/group , no such device.&lt;BR /&gt;what to do?&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Oct 2002 14:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824002#M940321</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-10-11T14:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824003#M940322</link>
      <description>if you need to match up lvol names to mount points, surely somewhere there are the results of a 'bdf' lying around in a report or temporary file?&lt;BR /&gt;&lt;BR /&gt;Can you get back /etc/fstab from an ignite tape or an old backup?&lt;BR /&gt;&lt;BR /&gt;When u get your info, match up what you expect in the filesystem (omniback can show what is last backed up in there) with the lvol by mounting it on a temp mount point, and then identifying which lvol name it is by the contents.&lt;BR /&gt;&lt;BR /&gt;I sympathise I have done this myself once or twice.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Fri, 11 Oct 2002 14:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824003#M940322</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-10-11T14:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824004#M940323</link>
      <description>Ravi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgnew&lt;BR /&gt;mknod /dev/vgnew/group 64 0xabcbde&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;wher the abcde is a unique no check ls -lR /dev/vg | grep groups to know waht nos are already used.&lt;BR /&gt;and then doa vgimport .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 11 Oct 2002 15:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824004#M940323</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-10-11T15:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824005#M940324</link>
      <description>Another thought I had .. extract the VGID from the disk (only need this if you've exported the VG with -s) and use that to build your mapfile. To extract the VGID ..&lt;BR /&gt;# echo 0x2010?2X|adb /dev/dsk/&lt;THE-DISK-PATH&gt;&lt;BR /&gt;2010: 77612E10 3C1A5E96&lt;BR /&gt;With that the 1st line in your mapfile would be ..&lt;BR /&gt;VGID 77612e103c1a5e96&lt;BR /&gt;...&lt;BR /&gt;followed by all the LV names in order.&lt;BR /&gt;&lt;BR /&gt;&lt;/THE-DISK-PATH&gt;</description>
      <pubDate>Fri, 11 Oct 2002 15:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824005#M940324</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-11T15:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport and vgimport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824006#M940325</link>
      <description>hi all,&lt;BR /&gt;thanks to all, the problem is solved with ur suggesstions.&lt;BR /&gt;regds&lt;BR /&gt;ravi</description>
      <pubDate>Sat, 12 Oct 2002 10:33:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-and-vgimport-problem/m-p/2824006#M940325</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-10-12T10:33:50Z</dc:date>
    </item>
  </channel>
</rss>

