<?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: Migrating a volume group to different controller in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964600#M119129</link>
    <description>Pete/Stuart,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestions.&lt;BR /&gt;Actually I inherited the machine from another location and the moment I connected everything &amp;amp; booted the machine I encountered this problem. &lt;BR /&gt;I called up HP support and he applied patch PHSS_27098 and then using irm forced the disks to ONLINE and rebooted when connected to channel 0 which I presumed was bad.&lt;BR /&gt;So now the array is accessible. Now I failed to understand why this has gone to FAILED mode and why this solution works.&lt;BR /&gt;&lt;BR /&gt;Anyway I presume your solution also works. Unfortunately I cannot test your solutions since this machine is a production machine.&lt;BR /&gt;&lt;BR /&gt;But thanks a lot for giving me options just in case I had to do it.&lt;BR /&gt;&lt;BR /&gt;sincerely&lt;BR /&gt;suri.</description>
    <pubDate>Sat, 03 May 2003 07:48:28 GMT</pubDate>
    <dc:creator>suri_1</dc:creator>
    <dc:date>2003-05-03T07:48:28Z</dc:date>
    <item>
      <title>Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964593#M119122</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;We have a rp2470, with an Internal 4Si RAID controller and a DS2100 with 4 disks connected to channel 0 of the RAID controller. &lt;BR /&gt;All the four disks are configured as LUN0 and part of volume group vg02.&lt;BR /&gt;&lt;BR /&gt;The channel 0 has gone bad and I need to migrate the vg02 to another channel. Can somebody give me a solution, preferably without taking backup and start from scratch?&lt;BR /&gt;&lt;BR /&gt;Posted the same query in the forum "disk arrays" without any success. &lt;BR /&gt;&lt;BR /&gt;Thanks for the help in advance&lt;BR /&gt;suri</description>
      <pubDate>Fri, 02 May 2003 12:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964593#M119122</guid>
      <dc:creator>suri_1</dc:creator>
      <dc:date>2003-05-02T12:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964594#M119123</link>
      <description>Can't you just vgexport, reconnect to the new channel and vgimport?&lt;BR /&gt;&lt;BR /&gt;vgchange -a n /dev/vg02&lt;BR /&gt;vgexport -s -m /tmp/vg02map /dev/vg02&lt;BR /&gt;switch channels&lt;BR /&gt;mkdir /dev/vg02&lt;BR /&gt;mknod /dev/vg02/group c64 0x020000&lt;BR /&gt;vgimport -s -m /tmp/vg02map /dev/vg02&lt;BR /&gt;vgchange -a y /dev/vg02&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 02 May 2003 12:24:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964594#M119123</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-02T12:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964595#M119124</link>
      <description>Mirror via LVM or create a new vg, lv's, file system mount points and copy the data over.&lt;BR /&gt;&lt;BR /&gt;With the mirroring as long as the luns are of same size, no problem.  Then just vgextend and lvextend.</description>
      <pubDate>Fri, 02 May 2003 12:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964595#M119124</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-05-02T12:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964596#M119125</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;The problem is that since channel 0 has gone bad, none of the disks are accessible through that channel. irdiag shows the disks as FAILED. Hence the LUN is OFFLINE. &lt;BR /&gt;In that case can I vgexport?&lt;BR /&gt;Also using irm I can see that the LUN0 disks are all FAILED.&lt;BR /&gt;So don't I have to do some config on the RAID controller also? &lt;BR /&gt;Sorry if the Q's seem silly, but I haven't worked with RAID controllers before.&lt;BR /&gt;&lt;BR /&gt;Micheal,&lt;BR /&gt;&lt;BR /&gt;As I mentioned above, the disks are not accessible in the first place, so how do I mirror etc?&lt;BR /&gt;&lt;BR /&gt;Thanks guys for ur replies.&lt;BR /&gt;Kindly help me out.&lt;BR /&gt;&lt;BR /&gt;Suri.</description>
      <pubDate>Fri, 02 May 2003 12:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964596#M119125</guid>
      <dc:creator>suri_1</dc:creator>
      <dc:date>2003-05-02T12:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964597#M119126</link>
      <description>Suri,&lt;BR /&gt;&lt;BR /&gt;Try a vgexport in preview mode first.&lt;BR /&gt;&lt;BR /&gt;vgexport -p -s -m /tmp/vg02map /dev/vg02&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 02 May 2003 12:42:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964597#M119126</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-02T12:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964598#M119127</link>
      <description>You should be able to use the vgexport/vgimport scheme outlined above.  You may not be able to do the vgexport -s -m mapfile, because the system needs to read the VGDA of the disk to get the VGID to put in the mapfile.  &lt;BR /&gt;&lt;BR /&gt;But at the very least you can just connect up the disk on the new fibre card (scsi card) and do a vgscan and vgimport.  Go back to old ioscans/lvmtabs and write down the disks that were part of the VG before, so you know what you are looking for.&lt;BR /&gt;&lt;BR /&gt;But here is the thing:  If you went to the expense and trouble to buy highly available RAID disks, then you SHOULD HAVE CONFIGURED THEM ON TWO PATHS.  Then you would still be in business today.  You could run on one path, connect up the new 2nd path, add access to the new path, remove access from the down path, and never take an outage.</description>
      <pubDate>Fri, 02 May 2003 12:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964598#M119127</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-05-02T12:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964599#M119128</link>
      <description>The obvious question that comes to mind is "Why not get the RAID controller fixed?"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 02 May 2003 12:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964599#M119128</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-02T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964600#M119129</link>
      <description>Pete/Stuart,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestions.&lt;BR /&gt;Actually I inherited the machine from another location and the moment I connected everything &amp;amp; booted the machine I encountered this problem. &lt;BR /&gt;I called up HP support and he applied patch PHSS_27098 and then using irm forced the disks to ONLINE and rebooted when connected to channel 0 which I presumed was bad.&lt;BR /&gt;So now the array is accessible. Now I failed to understand why this has gone to FAILED mode and why this solution works.&lt;BR /&gt;&lt;BR /&gt;Anyway I presume your solution also works. Unfortunately I cannot test your solutions since this machine is a production machine.&lt;BR /&gt;&lt;BR /&gt;But thanks a lot for giving me options just in case I had to do it.&lt;BR /&gt;&lt;BR /&gt;sincerely&lt;BR /&gt;suri.</description>
      <pubDate>Sat, 03 May 2003 07:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964600#M119129</guid>
      <dc:creator>suri_1</dc:creator>
      <dc:date>2003-05-03T07:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964601#M119130</link>
      <description>Hi Suri,&lt;BR /&gt;&lt;BR /&gt;Sometime because of unproper shutdown of disk Array like before shutting down the server if you swith of the disk array, system will take it as a disk fail and when you restart array it mark disks as offline/failed. You have to use forced option and make it online.&lt;BR /&gt;&lt;BR /&gt;I think this is a known problem for HP storage I faced similar kind of problem with FC-60 and SC-10 storage previously.&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Mon, 05 May 2003 02:56:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964601#M119130</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2003-05-05T02:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating a volume group to different controller</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964602#M119131</link>
      <description>Suri:  It sounds like you are back up and operational, so this may or may not be needed or helpful.  But, just in case...&lt;BR /&gt;&lt;BR /&gt;1&amp;gt; You should be able to do a vgexport, without the map file (-m) option.  This will remove the VG info from /etc/lvmtab, and will remove the /dev/vg02 directory and special files.  As someone pointed out, you can't use the -m map file option, if you can't access the VGRAs on the PVs in the VG.&lt;BR /&gt;&lt;BR /&gt;2&amp;gt; Once you move the drives to a different channel, you would use the 'vgscan' command to cause LVM to find any unknown VGs, and add them to /etc/lvmtab.  Then manually create the /dev/vg02 dir, and use 'mknod' to create the group file.  Now 'vgimport' will work as noted above to assign the PVs in the VG to their new channel, one that the system can use.&lt;BR /&gt;&lt;BR /&gt;3&amp;gt; If you aren't familiar with these commands, be sure and read the man page for each, there are some things to be aware of when you use them.  The HP support desk would also be helpful, if you needed them, since this process and all these commands are fully supported for stuff like this.&lt;BR /&gt;&lt;BR /&gt;4&amp;gt; Your issue is the reason I tend to avoid the 4Si raid cards... you only get data protection, not channel duplication or access protection.  There are several single points of failure, which I find unacceptable for my HA RAID storage.  I prefer, and recommend, a full-boat, real raid enclosure, with dual controllers, channels, etc.  I realize that you were 'blessed' with this little beauty, I only mention this for any future storage purchases over which you may have control or input.&lt;BR /&gt;&lt;BR /&gt;'Nuf said.  Best Regards, --bmr</description>
      <pubDate>Mon, 05 May 2003 04:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-a-volume-group-to-different-controller/m-p/2964602#M119131</guid>
      <dc:creator>Brian M Rawlings</dc:creator>
      <dc:date>2003-05-05T04:06:54Z</dc:date>
    </item>
  </channel>
</rss>

