<?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: vgchgid on the wrong disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739582#M642601</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What's on line 34 on the script?&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
    <pubDate>Fri, 07 Jun 2002 12:57:59 GMT</pubDate>
    <dc:creator>Steven Sim Kok Leong</dc:creator>
    <dc:date>2002-06-07T12:57:59Z</dc:date>
    <item>
      <title>vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739579#M642598</link>
      <description>Due to a typo in a script, this is what I think I did.&lt;BR /&gt;I have a set of 40 disks/LUNs on an XP256 in a volume group.  I created a Business Copy of these LUNs.  After splitting the BC pairs I attempted to do a vgchgid on the 40 target LUNs.  I think, because of a typo in my script, I did vgchgid on 39 of the targets and 1 of the source LUNs.&lt;BR /&gt;I had problems with the vgimport of the targets so I did a pairresync and pairsplit to start over.  I made some changes to my vgchgid script and tried again.  I now get the following error:&lt;BR /&gt; vgchgid: Couldn't open physical volume " ":&lt;BR /&gt; No such file or directory&lt;BR /&gt; ./changid.sh[34]: /dev/rdsl/c7t3d2: cannot execute&lt;BR /&gt;&lt;BR /&gt;c7t3d2 does exist.  I can do a diskinfo and pvdisplay on it and it responds.  I think it's source LUN is the 1 I accidentally changed.  So now it does not match the volume group id of the other 39 LUNs.&lt;BR /&gt;&lt;BR /&gt;I'm not concerned about the targets.  I can always resync them.  I'm concerned about that 1 odd ball LUN in my source LUNs.  Will this cause me problems later on?  When this system is rebooted will there be a problem with that volume group because all of the LUNs do not have the same vgid?  &lt;BR /&gt;Can I query each individual LUN and find out the vgid?  &lt;BR /&gt;Can I safely reset all of the vgid's on these source LUNs?  &lt;BR /&gt;Is vgcfgrestore my answer?&lt;BR /&gt;&lt;BR /&gt;This is my production database and I have to be very carefull with it.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 06 Jun 2002 20:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739579#M642598</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2002-06-06T20:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739580#M642599</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There appears to be a typo:&lt;BR /&gt;&lt;BR /&gt;./changid.sh[34]: /dev/rdsl/c7t3d2: cannot execute&lt;BR /&gt;&lt;BR /&gt;It should be rdsk not rdsl. Check out whats on line 34 of changid.sh.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 07 Jun 2002 01:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739580#M642599</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-06-07T01:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739581#M642600</link>
      <description>Steven,&lt;BR /&gt;Just another typo here.  In my script it is rdsk.  It's been a long week.  I simply can't type anymore.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jun 2002 12:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739581#M642600</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2002-06-07T12:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739582#M642601</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What's on line 34 on the script?&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 07 Jun 2002 12:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739582#M642601</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-06-07T12:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739583#M642602</link>
      <description>This is the section of the script that is giving me the problem.  &lt;BR /&gt;&lt;BR /&gt;vgchgid /dev/rdsk/c7t3d0 /dev/rdsk/c9t3d0 /dev/rdsk/c2t3d0 /dev/rdsk/c5t3d0 \ &lt;BR /&gt;/dev/rdsk/c7t3d2 /dev/rdsk/c9t3d2 /dev/rdsk/c2t3d2 /dev/rdsk/c5t3d2 &lt;BR /&gt;/dev/rdsk/c7t3d4 /dev/rdsk/c9t3d4 /dev/rdsk/c2t3d4 /dev/rdsk/c5t3d4 &lt;BR /&gt;/dev/rdsk/c7t3d6 /dev/rdsk/c9t3d6 /dev/rdsk/c2t3d6 /dev/rdsk/c5t3d6 &lt;BR /&gt;/dev/rdsk/c7t5d5 /dev/rdsk/c9t5d5 /dev/rdsk/c2t5d5 /dev/rdsk/c5t5d5 &lt;BR /&gt;/dev/rdsk/c7t5d7 /dev/rdsk/c9t5d7 /dev/rdsk/c2t5d7 /dev/rdsk/c5t5d7 &lt;BR /&gt;/dev/rdsk/c7t6d0 /dev/rdsk/c9t6d0 /dev/rdsk/c2t6d0 /dev/rdsk/c5t6d0 &lt;BR /&gt;/dev/rdsk/c7t6d2 /dev/rdsk/c9t6d2 /dev/rdsk/c2t6d2 /dev/rdsk/c5t6d2 &lt;BR /&gt;/dev/rdsk/c7t6d6 /dev/rdsk/c9t6d6 /dev/rdsk/c2t6d6 /dev/rdsk/c5t6d6 &lt;BR /&gt;/dev/rdsk/c7t6d3 /dev/rdsk/c9t6d3 /dev/rdsk/c2t6d3 /dev/rdsk/c5t6d3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Each lvol in the volume group consists of 4 LUNs.  I simply have each of those 4 LUNs grouped on a line for readability.  The 2nd line here is the 34th line in the script.  You can see that /dev/rdsk/c7t3d2 is in there correctly.&lt;BR /&gt;Later in the script I have another section just like this for another volume group and it works fine which leads me to believe it is not a syntax problem.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jun 2002 13:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739583#M642602</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2002-06-07T13:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739584#M642603</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think I know why.&lt;BR /&gt;&lt;BR /&gt;vgchgid /dev/rdsk/c7t3d0 /dev/rdsk/c9t3d0 /dev/rdsk/c2t3d0 /dev/rdsk/c5t3d0 \ &lt;BR /&gt;/dev/rdsk/c7t3d2 ...&lt;BR /&gt;&lt;BR /&gt;Your \ character has additional spaces behind. Thus, your script executed /dev/rdsk/c7t3d2 as a command.&lt;BR /&gt;&lt;BR /&gt;Try removing the \ character and put everything on the same line as vgchgid.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 07 Jun 2002 13:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739584#M642603</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-06-07T13:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739585#M642604</link>
      <description>Steven,&lt;BR /&gt;You did it again!  It was an extra space at the end of the first line.&lt;BR /&gt;Sorry for the way it posted.  I cut and pasted and it lost the carriage return/line feeds.  It should really be 10 different lines with a continuation at the end of the first 9.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 07 Jun 2002 13:36:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739585#M642604</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2002-06-07T13:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739586#M642605</link>
      <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;I edited your post by placing carriage returns in the long string you had posted...this brings the page back into normal viewing area. I hope I placed the returns in the proper place....let me know if I didn't!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Dan</description>
      <pubDate>Fri, 07 Jun 2002 16:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739586#M642605</guid>
      <dc:creator>Kimberly Ann</dc:creator>
      <dc:date>2002-06-07T16:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: vgchgid on the wrong disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739587#M642606</link>
      <description>Dan,&lt;BR /&gt;You fixed it just right.  So much easier to read now.  Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jun 2002 16:22:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchgid-on-the-wrong-disk/m-p/2739587#M642606</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2002-06-07T16:22:35Z</dc:date>
    </item>
  </channel>
</rss>

