<?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: Volume group import in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6628912#M492452</link>
    <description>&lt;P&gt;Thanks for the quick reply :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I find out which disks were being used in the original volume group on the failed server?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Sep 2014 10:03:30 GMT</pubDate>
    <dc:creator>Nyck_1</dc:creator>
    <dc:date>2014-09-24T10:03:30Z</dc:date>
    <item>
      <title>Volume group import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6628896#M492450</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have an old hp-ux server which decided to fail and will not boot anymore, I had a check and it appears that the root drive is duff and there was no mirror. This particular server had an HP disk array connected to it so my remote hands person disconnected the array from the failed server and re-connected it to a working server. I have run an ioscan -funC disk and can see it so I'm wondering if there is a way to re-import the volume groups and logical volumes that are on there from the old server to the new server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2014 09:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6628896#M492450</guid>
      <dc:creator>Nyck_1</dc:creator>
      <dc:date>2014-09-24T09:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Volume group import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6628908#M492451</link>
      <description>&lt;P&gt;If the disks are intact, &amp;nbsp;you should be able to recover the data by following the below steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# vgimport vgxxx /dev/disk/diskxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# vgchange -a y vgxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# vgdisplay -v vgxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# mkdir /testROOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# mount /dev/vgxxx/lvol3 /testROOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may have to run fsck before mounting the LVs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this works.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2014 10:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6628908#M492451</guid>
      <dc:creator>Ajay Agarwal</dc:creator>
      <dc:date>2014-09-24T10:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Volume group import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6628912#M492452</link>
      <description>&lt;P&gt;Thanks for the quick reply :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I find out which disks were being used in the original volume group on the failed server?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2014 10:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6628912#M492452</guid>
      <dc:creator>Nyck_1</dc:creator>
      <dc:date>2014-09-24T10:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Volume group import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6629234#M492453</link>
      <description>&lt;P&gt;There is no real easy way to determine which disks were a part of which VG on the old server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A very tedious way is to use the 'xd' command and read the headers of each disk to find the VG id number of the VG that the disk was in.&amp;nbsp; Each disk that was in the same VG will have the same VG id number recorded on the header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command to run is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# xd -An -j8200 -N16 -tx &amp;lt;disk device file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;# xd -An -j8200 -N16 -tx /dev/rdsk/c1t2d0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 69ea86f7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 503542b4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 69ea86f7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 503543e0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The VG id number is the 4th field in the output.&amp;nbsp; So in this case the VG id is 503543e0.&amp;nbsp; If I were to run this against numerous disks, and found another with the same VG id, then it is very likely that they are part of the same VG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you know which disks are have the same VG id, you can then vgimport that set of disks into a VG on the current system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is an older system (ie, running HP-UX 11.23 or earlier) then you will need to use the /dev/dsk and /dev/rdsk rather than the /dev/disk that the person above mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2014 15:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6629234#M492453</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2014-09-24T15:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Volume group import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6631204#M492454</link>
      <description>Another helpful command is&lt;BR /&gt;&lt;BR /&gt;# vgscan -p -v&lt;BR /&gt;&lt;BR /&gt;this scans the disks in preview mode, no changes will be done.</description>
      <pubDate>Fri, 26 Sep 2014 14:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-import/m-p/6631204#M492454</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2014-09-26T14:22:15Z</dc:date>
    </item>
  </channel>
</rss>

