<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416223#M764875</link>
    <description>Hi Bruce, I think it all went wrong when you did the vgcfgrestore. By doing &lt;BR /&gt;that, you denied vgimport the change to add the disks to the lvmtab. Please &lt;BR /&gt;check the tips you received on your previous question again. &lt;BR /&gt;&lt;BR /&gt;In short:&lt;BR /&gt;- umount&lt;BR /&gt;- vgchange -a n .....&lt;BR /&gt;- vgexport .......&lt;BR /&gt;....&lt;BR /&gt;replacement actions&lt;BR /&gt;....&lt;BR /&gt;- insf -e&lt;BR /&gt;- vgscan -v&lt;BR /&gt;- create vg-dir and group file&lt;BR /&gt;- vgimport .......&lt;BR /&gt;- vgchange -a y ......&lt;BR /&gt;&lt;BR /&gt;Good luck!</description>
    <pubDate>Wed, 24 Nov 1999 04:00:16 GMT</pubDate>
    <dc:creator>Paul Heffels_1</dc:creator>
    <dc:date>1999-11-24T04:00:16Z</dc:date>
    <item>
      <title>vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416220#M764872</link>
      <description>What am I doing wrong? Last weekend I replaced the root disk in a server &lt;BR /&gt;running HP-UX 10.20 with an external disk array. I ran vgcfgbackup on all of my &lt;BR /&gt;volumes, vgchange -a n (volumes), and vgexport -v m (mapfiles). Then I replaced &lt;BR /&gt;the operating disk and ran a complete new install.&lt;BR /&gt;Once that was completed I brought back my mapfiles.&lt;BR /&gt;Then&lt;BR /&gt;# mkdir /dev/(volume)&lt;BR /&gt;# mknod /dev/(volume) group c 64 0x0#0000&lt;BR /&gt;# vgcfgrestore -n /dev/(volume) /dev/rdsk/(disk #)&lt;BR /&gt;# vgimport -v -m (mapfile) /dev/(voloume) /dev/dsk/(disk #)&lt;BR /&gt;then I ran into a snag. System told me that I could not import, disk info was &lt;BR /&gt;not in lvmtab. So then I ran vgscan and this would not add info to lvmtab. &lt;BR /&gt;System told me that the logical volumes were active. When I triend to run &lt;BR /&gt;vgchange -a n system said volume does not exists in lvmtab? When I would run &lt;BR /&gt;vgscan it would see my disk units but told me I needed to run vgimport.&lt;BR /&gt;Needless to say I rebuilt volumes and restore data from tape. This server &lt;BR /&gt;was'nt to bad only 75 Gig's of data but I need to do another server this &lt;BR /&gt;weekend and this server has about 3 times the data. &lt;BR /&gt;&lt;BR /&gt;What did I do wrong??</description>
      <pubDate>Tue, 23 Nov 1999 12:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416220#M764872</guid>
      <dc:creator>Bruce Vanderford_2</dc:creator>
      <dc:date>1999-11-23T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416221#M764873</link>
      <description>Did you edit your vgexport map file with the new hardware paths for the &lt;BR /&gt;receiving end? When vgexporting to a different server or to a different SCSI &lt;BR /&gt;controller, you need to edit the map file to reflect the new home (hw path) of &lt;BR /&gt;the volume group.&lt;BR /&gt;&lt;BR /&gt;MrNeil&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Nov 1999 12:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416221#M764873</guid>
      <dc:creator>Neil Gast_1</dc:creator>
      <dc:date>1999-11-23T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416222#M764874</link>
      <description>Hi Bruce,&lt;BR /&gt;&lt;BR /&gt;I'm very sorry to hear that it didn't work out the way it was supposed to. I'm &lt;BR /&gt;not at work right now and I don't have my machine at hand to check something &lt;BR /&gt;out, but could you post or mail the exact syntax of the commands you've &lt;BR /&gt;entered? Don't worry, we'll find out before you're doing the "big one".</description>
      <pubDate>Tue, 23 Nov 1999 14:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416222#M764874</guid>
      <dc:creator>Paul Heffels_1</dc:creator>
      <dc:date>1999-11-23T14:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416223#M764875</link>
      <description>Hi Bruce, I think it all went wrong when you did the vgcfgrestore. By doing &lt;BR /&gt;that, you denied vgimport the change to add the disks to the lvmtab. Please &lt;BR /&gt;check the tips you received on your previous question again. &lt;BR /&gt;&lt;BR /&gt;In short:&lt;BR /&gt;- umount&lt;BR /&gt;- vgchange -a n .....&lt;BR /&gt;- vgexport .......&lt;BR /&gt;....&lt;BR /&gt;replacement actions&lt;BR /&gt;....&lt;BR /&gt;- insf -e&lt;BR /&gt;- vgscan -v&lt;BR /&gt;- create vg-dir and group file&lt;BR /&gt;- vgimport .......&lt;BR /&gt;- vgchange -a y ......&lt;BR /&gt;&lt;BR /&gt;Good luck!</description>
      <pubDate>Wed, 24 Nov 1999 04:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/2416223#M764875</guid>
      <dc:creator>Paul Heffels_1</dc:creator>
      <dc:date>1999-11-24T04:00:16Z</dc:date>
    </item>
  </channel>
</rss>

