<?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: Importing LUNs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530462#M868641</link>
    <description>You should be able to configure the way it was before.  What vgexport command did you use? (like vgexport -m /tmp/mapfile vg02)</description>
    <pubDate>Sat, 19 May 2001 17:18:29 GMT</pubDate>
    <dc:creator>Byron Myers</dc:creator>
    <dc:date>2001-05-19T17:18:29Z</dc:date>
    <item>
      <title>Importing LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530460#M868637</link>
      <description>After a fresh install, I am ready to import volumes I exported prior to the reinstall. In SAM I see I have two controllers and a LUN. I select the LUN, and it wants me to either put it in a new volume group, or an old one, vg00. I want it to go in the one it was in before. We had 3, vg02, vg03, and sybase. Can I tell it to configure itself the way it was before?</description>
      <pubDate>Sat, 19 May 2001 17:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530460#M868637</guid>
      <dc:creator>Sid Bytheway</dc:creator>
      <dc:date>2001-05-19T17:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Importing LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530461#M868639</link>
      <description>I don't know how this got in the database section, I thought I was in the 'general' area.</description>
      <pubDate>Sat, 19 May 2001 17:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530461#M868639</guid>
      <dc:creator>Sid Bytheway</dc:creator>
      <dc:date>2001-05-19T17:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Importing LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530462#M868641</link>
      <description>You should be able to configure the way it was before.  What vgexport command did you use? (like vgexport -m /tmp/mapfile vg02)</description>
      <pubDate>Sat, 19 May 2001 17:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530462#M868641</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2001-05-19T17:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Importing LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530463#M868643</link>
      <description>No options, simply &lt;BR /&gt;&lt;BR /&gt;vgexport vg03&lt;BR /&gt;&lt;BR /&gt;after doing&lt;BR /&gt;&lt;BR /&gt;vgchange -a no vg03&lt;BR /&gt;&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;I did save a copy of the output of vgdisplay&lt;BR /&gt;</description>
      <pubDate>Sat, 19 May 2001 17:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530463#M868643</guid>
      <dc:creator>Sid Bytheway</dc:creator>
      <dc:date>2001-05-19T17:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Importing LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530464#M868644</link>
      <description>I get the lvmtab and other files off backup if need be.</description>
      <pubDate>Sat, 19 May 2001 17:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530464#M868644</guid>
      <dc:creator>Sid Bytheway</dc:creator>
      <dc:date>2001-05-19T17:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Importing LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530465#M868645</link>
      <description>If you can tell which disks belong in a corresponding vg, then this is a way to do it.&lt;BR /&gt;for example, vg02 - if c1t0d0 c2t0d0 were the disk on the old system (your saved vgdisplay -v vg02 would show this - if you used the "-v" option), and on the new OS, the disks are, say c5t0do and c6t0d0, then:&lt;BR /&gt;1. create the directory /dev/vg02&lt;BR /&gt;2. create the "group" file in /dev/vg02.&lt;BR /&gt;   The minor number MUST be unique.&lt;BR /&gt;   do a "# ls -al /dev/vg* | grep group" to&lt;BR /&gt;   see the existing group minor numbers.  &lt;BR /&gt;   Example:&lt;BR /&gt;   # ls -al /dev/vg*&lt;BR /&gt;     the minor numers shown might be:&lt;BR /&gt;       0x000000   (root volume group vg00)&lt;BR /&gt;       0x010000   (some other volume group)&lt;BR /&gt;   Pick the next minor number (in hex), in&lt;BR /&gt;   this example it is 0x020000.&lt;BR /&gt;   #mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;&lt;BR /&gt;   then &lt;BR /&gt;# vgimport /dev/vg02 /dev/dsk/c5t0d0 /dev/dsk/c6t0d0&lt;BR /&gt;(this is using the new disks)&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;# vgchange -a y vg02&lt;BR /&gt;# vgdisplay -v vg02&lt;BR /&gt;  you should see the logical volumes - lvol1, lvol2, etc.&lt;BR /&gt;  You will need to figure out which of these logical volumes belongs where.  If you saved a copy of /etc/fstab, this will help.&lt;BR /&gt;&lt;BR /&gt;The usual method to export vg's for OS re-installs is to use "vgexport -m &lt;MAP file="" name=""&gt; -s &lt;VG name=""&gt;"  this prevents all of this lv stuff.&lt;BR /&gt;&lt;BR /&gt;&lt;/VG&gt;&lt;/MAP&gt;</description>
      <pubDate>Sat, 19 May 2001 17:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530465#M868645</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2001-05-19T17:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Importing LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530466#M868646</link>
      <description>Thank you. This is all very useful. But it sounds like I have no guarantee that the disk names will be the same on the new OS?&lt;BR /&gt;&lt;BR /&gt;I did no do vgdisplay -v&lt;BR /&gt;only vgdisplay.&lt;BR /&gt;&lt;BR /&gt;I am trying to retrieve a copy of lvmtab, but if the disks are named differently it will complicate the whole process. It sounds like I better just recreate the volumes and restore from backup.</description>
      <pubDate>Sat, 19 May 2001 20:26:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/importing-luns/m-p/2530466#M868646</guid>
      <dc:creator>Sid Bytheway</dc:creator>
      <dc:date>2001-05-19T20:26:18Z</dc:date>
    </item>
  </channel>
</rss>

