<?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 with same name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932321#M634565</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a machine that has gone belly up. It had two disks in it  vg01 and vg02. I need to get the data off these disks.&lt;BR /&gt;&lt;BR /&gt;I have another machine, but it has the same volume groups on it (vg01 and vg02). I have not been able to export the disks, because the machine went belly up. How do I import the volume groups manually on to this second machine?&lt;BR /&gt;&lt;BR /&gt;I am guessing something along the lines of creating a directory /dev/vgnew and creating the /dev/vgnew/group node but then what do I do?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 20 Mar 2003 20:25:39 GMT</pubDate>
    <dc:creator>Stephen Morrison_3</dc:creator>
    <dc:date>2003-03-20T20:25:39Z</dc:date>
    <item>
      <title>vgimport with same name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932321#M634565</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a machine that has gone belly up. It had two disks in it  vg01 and vg02. I need to get the data off these disks.&lt;BR /&gt;&lt;BR /&gt;I have another machine, but it has the same volume groups on it (vg01 and vg02). I have not been able to export the disks, because the machine went belly up. How do I import the volume groups manually on to this second machine?&lt;BR /&gt;&lt;BR /&gt;I am guessing something along the lines of creating a directory /dev/vgnew and creating the /dev/vgnew/group node but then what do I do?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 20 Mar 2003 20:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932321#M634565</guid>
      <dc:creator>Stephen Morrison_3</dc:creator>
      <dc:date>2003-03-20T20:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport with same name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932322#M634566</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Take a look at next question and answer made A. Clay Stephenson&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0xd1480fe6d0f7d61190050090279cd0f9,00.html" target="_blank"&gt;http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0xd1480fe6d0f7d61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Thu, 20 Mar 2003 20:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932322#M634566</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-03-20T20:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport with same name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932323#M634567</link>
      <description>You are correct.  YOu first need to create the /dev/vgnew directory and then the group file.&lt;BR /&gt;&lt;BR /&gt;From there you can just do:&lt;BR /&gt;&lt;BR /&gt;# vgimport /dev/vgnew /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;Do this for both disks.</description>
      <pubDate>Thu, 20 Mar 2003 20:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932323#M634567</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-03-20T20:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport with same name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932324#M634568</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use the disks in the command line. For ex., if you know that c0t0d0 and c0t0d1 correspond to vg01, then you would do the following.&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vgnew&lt;BR /&gt;#mknod /dev/vgnew/group c 64 0x0?0000&lt;BR /&gt;#vgimport -v /dev/vgnew /dev/dsk/c0t0d0 /dev/dsk/c0t0d1&lt;BR /&gt;#vgchange -a y vgnew&lt;BR /&gt;&lt;BR /&gt;This will create lvols in /dev/vgnew with default names like lvol1, lvol2 etc., By mounting each logical volume and looking at the contents, you should be able to find out the mounted directories.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 20 Mar 2003 20:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932324#M634568</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-20T20:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport with same name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932325#M634569</link>
      <description>You can actually import volume groups with a different name. It is the logical volume information that is important not the names.&lt;BR /&gt;&lt;BR /&gt;# vgimport -v /dev/myvg1 /dev/dsk/c0t6d0 /dev/dsk/c2t6d0&lt;BR /&gt;Once imported, you can activate the group and then mount it.&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y /dev/myvg1&lt;BR /&gt;# mount /dev/myvg1 /mymountpoint1</description>
      <pubDate>Thu, 20 Mar 2003 20:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932325#M634569</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-03-20T20:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport with same name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932326#M634570</link>
      <description>Hi Stephen:&lt;BR /&gt;&lt;BR /&gt;Physically move the disks from the dead machine to the viable one.  Then do:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vgXY&lt;BR /&gt;# mknod /dev/vgXY/group c 64 0xXY0000&lt;BR /&gt;# vgimport m /tmp/vgXY.mapfile vgXY&lt;BR /&gt;# vgchange ???a y vgXY&lt;BR /&gt;&lt;BR /&gt;For your mapfile, make it look like this:&lt;BR /&gt;&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;Once the vgimport is done, you should be able to mount filesystems and extract data.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;...where 'XY' is a unique number of your choice.&lt;BR /&gt;&lt;BR /&gt;# vgimport ???s ???m /jrfcoldvault/vgXY.mapfile vgXY&lt;BR /&gt;# vgchange ???a  y vgXY&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2003 20:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932326#M634570</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-20T20:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport with same name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932327#M634571</link>
      <description>Hi (again) Stephen:&lt;BR /&gt;&lt;BR /&gt;Sorry, the previous post got fat-fingered):&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vgXY &lt;BR /&gt;# mknod /dev/vgXY/group c 64 0xXY0000 &lt;BR /&gt;# vgimport -m /tmp/vgXY.mapfile vgXY /dev/dsk/cXtYdZ &lt;BR /&gt;# vgchange ???a y vgXY &lt;BR /&gt;&lt;BR /&gt;For your mapfile, make it look like this: &lt;BR /&gt;&lt;BR /&gt;1 lvol1 &lt;BR /&gt;2 lvol2 &lt;BR /&gt;3 lvol3 &lt;BR /&gt;.... &lt;BR /&gt;&lt;BR /&gt;...the logical volume names don't matter.  In the above, "XY" is any unique number of your choice.  Once the vgimport is done, you should be able to mount filesystems and extract data. &lt;BR /&gt;&lt;BR /&gt;Regards! &lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 20 Mar 2003 20:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-with-same-name/m-p/2932327#M634571</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-20T20:46:20Z</dc:date>
    </item>
  </channel>
</rss>

