<?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: vgchange error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554432#M649554</link>
    <description>Being in an MC/ServiceGuard cluster makes a difference.&lt;BR /&gt;&lt;BR /&gt;As James mentioned earlier, you will need to do the vgchgid command, and you will have to do it on all the PVs in the volume group.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Jul 2001 21:08:36 GMT</pubDate>
    <dc:creator>John Poff</dc:creator>
    <dc:date>2001-07-18T21:08:36Z</dc:date>
    <item>
      <title>vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554422#M649544</link>
      <description>Hello everybody,&lt;BR /&gt;&lt;BR /&gt;I have timefinder implimented on our EMC symmetrix. After doing establish and split on production system, I have done vgimport on a test system to have data available for testing. But when I try to activate the volume group with vgchange -a y /dev/vgxx /dev/dsk/cXtXdX I am getting following error.&lt;BR /&gt;vgchange: Activation mode requested for the volume group "/dev/vgxx" conflicts with configured mode.&lt;BR /&gt;&lt;BR /&gt;I have tried vgchange -a n /dev/vgxx and that runs successfully. &lt;BR /&gt;&lt;BR /&gt;Also under /dev/vgxx dir I can see all the lvols too. So I am assuming that vgimport also worked fine.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Wed, 18 Jul 2001 16:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554422#M649544</guid>
      <dc:creator>Scottt</dc:creator>
      <dc:date>2001-07-18T16:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554423#M649545</link>
      <description>Hi Scott:&lt;BR /&gt;&lt;BR /&gt;Was this volume part of an MC/SG cluster or a Shared Volume Group.&lt;BR /&gt;&lt;BR /&gt;You need to do a vgchange -a n&lt;BR /&gt;then&lt;BR /&gt;vgchange -c n (to disable cluster mode)&lt;BR /&gt;or &lt;BR /&gt;vgchange -S n (to disable shared mode)&lt;BR /&gt;&lt;BR /&gt;You should then be able to vgchange -a y</description>
      <pubDate>Wed, 18 Jul 2001 17:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554423#M649545</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-18T17:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554424#M649546</link>
      <description>Hi Scott:&lt;BR /&gt;&lt;BR /&gt;You need to use 'vgchgid' to change the VGID of the disk begore the 'vgimport' in this case.  See the man pages for 'vgchgid' for the steps to handle this EMC/Timefinder situation.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 18 Jul 2001 17:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554424#M649546</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-18T17:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554425#M649547</link>
      <description>Hi there&lt;BR /&gt;thanks&lt;BR /&gt;Clay,&lt;BR /&gt;No this disk was not part of any MC/SG.&lt;BR /&gt;&lt;BR /&gt;James,&lt;BR /&gt;As per EMC tech support, vgchgid is neccessary only if you are mounting the disk on the same system under some different vgxx. I am mounting disk on to a different system for testing perposes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2001 18:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554425#M649547</guid>
      <dc:creator>Scottt</dc:creator>
      <dc:date>2001-07-18T18:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554426#M649548</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;When I saw you were trying to mount on a different system, I considered the probability duplicated VGID's. near zero. However, I can think of one very non-zero probability scenario. When you created your group file for vgxx, did you make certain that the minor device number was unique and not also assigned to some other volume group on this same test box? I'm not sure what the results would be be I know they would not be good.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, Clay&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2001 18:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554426#M649548</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-18T18:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554427#M649549</link>
      <description>Hi (again) Scott:&lt;BR /&gt;&lt;BR /&gt;TWO QUESTIONS, PLEASE:&lt;BR /&gt;&lt;BR /&gt;1.  Did you use the 'vgchgid' at all?  [I understand that you said EMC support said it was necessary].&lt;BR /&gt;&lt;BR /&gt;2.  If you *did* use the 'vgchgid' did you issue the command with *all* physical volumes specified in one command string?&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 18 Jul 2001 18:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554427#M649549</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-18T18:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554428#M649550</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;One other thought, when you vgexported and vgimported did you specify the -s option so that it went out and picked up all the disks &lt;BR /&gt;in the original volume group rather than specifying the new disks by physical device. That would also cause problems. For whatever reason, vgchange thinks at least some of the disks it is seeing are part of a shared volume group or a cluster.&lt;BR /&gt;&lt;BR /&gt;Clay&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2001 18:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554428#M649550</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-18T18:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554429#M649551</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Clay,&lt;BR /&gt;&lt;BR /&gt;Minor device no. is uniqyue on the test system.&lt;BR /&gt;I did not have to do vgexport since sync. of the disk happens at EMC level and not at HP-UX level.&lt;BR /&gt;&lt;BR /&gt;James,&lt;BR /&gt;&lt;BR /&gt;As per EMC I Don't have to run vgchgid since I am mounting this disk on to a different system than the one syncd with.  &lt;BR /&gt;&lt;BR /&gt;I didn't run that command at all&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2001 19:39:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554429#M649551</guid>
      <dc:creator>Scottt</dc:creator>
      <dc:date>2001-07-18T19:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554430#M649552</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;From your original question, you said,&lt;BR /&gt;&lt;BR /&gt; "...when I try to activate the volume group with vgchange -a y /dev/vgxx /dev/dsk/cXtXdX I am getting following error. &lt;BR /&gt;vgchange: Activation mode requested for the volume group "/dev/vgxx" conflicts with configured mode."&lt;BR /&gt;&lt;BR /&gt;Are you doing this:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vgxx /dev/dsk/cXtXdX &lt;BR /&gt;&lt;BR /&gt;Or are you doing this:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;The vgchange command doesn't take a disk device as an argument.  Maybe I just didn't read your post correctly, so I thought I would ask.&lt;BR /&gt;&lt;BR /&gt;Just so I can understand your problem, is this what you did?&lt;BR /&gt;&lt;BR /&gt;1. EMC sync&lt;BR /&gt;2. EMC split&lt;BR /&gt;3. (on second box), create vg and vgimport&lt;BR /&gt;4. vgchange (which fails with noted error message)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2001 19:58:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554430#M649552</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-07-18T19:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554431#M649553</link>
      <description>JP,&lt;BR /&gt;&lt;BR /&gt;My mistake I am using &lt;BR /&gt;vgchange -a y /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;Also your chronology is correct. But I am doing&lt;BR /&gt;mkdir /dev/vgxx and &lt;BR /&gt;mknod /dev/vgxx/group c 64 0xxx0000 &lt;BR /&gt;before doing EMC sync. and EMC split&lt;BR /&gt;&lt;BR /&gt;Clay,&lt;BR /&gt;&lt;BR /&gt;My mistake, The disk on the production system is a part of MS/SG. Also I am using same vgxx and minor device no. for production system and test system. May be that is the problem. I will try to change the name and device no. on vg and see if that makes any difference. I will let you know.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 18 Jul 2001 20:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554431#M649553</guid>
      <dc:creator>Scottt</dc:creator>
      <dc:date>2001-07-18T20:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554432#M649554</link>
      <description>Being in an MC/ServiceGuard cluster makes a difference.&lt;BR /&gt;&lt;BR /&gt;As James mentioned earlier, you will need to do the vgchgid command, and you will have to do it on all the PVs in the volume group.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2001 21:08:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554432#M649554</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-07-18T21:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554433#M649555</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;You bet MC/SG does make a difference. Although,&lt;BR /&gt;you say you did not do a vgexport - it is very normal in this situation to do this especially if you use lvol's other than lvol1, lvol2, ...&lt;BR /&gt;. One typically does a vgexport -p -m /tmp/mymapfile /dev/vg04 and that creates a mapfile but only does a preview so that the original data remains. If you added a -s option it would have added the VGID to the mapfile and when you imported that would cause&lt;BR /&gt;problems if you then imported using the -s option. The system would scan all disk devices looking for that VGID and would get the original production disks plus the copies.&lt;BR /&gt;&lt;BR /&gt;In any event, it looks like you are close to success.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Wed, 18 Jul 2001 21:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554433#M649555</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-18T21:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554434#M649556</link>
      <description>Hi There again,&lt;BR /&gt;&lt;BR /&gt;First of all thanks to all who has try to help me. &lt;BR /&gt;&lt;BR /&gt;Clay, You are right. I had to do &lt;BR /&gt;vgchange -c n /dev/vgxx before I was able to do&lt;BR /&gt;vgchange -a y /dev/vgxx. &lt;BR /&gt;&lt;BR /&gt;Well also I was going to ask you about the situation you had just mentioned on the subject of lvol1, lvol2 .&lt;BR /&gt;&lt;BR /&gt;We are using different logical volume names than lvol1, lvol2 etc. when I did vgimport it imported all the logical volumes with default names ( lvol1, lvol2..etc) instead of original names. I guess I have to create a map file with -m and -p options. then do vgimport with -m mapfile. so that I can also get original logical volume group names. &lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jul 2001 14:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-error/m-p/2554434#M649556</guid>
      <dc:creator>Scottt</dc:creator>
      <dc:date>2001-07-23T14:51:39Z</dc:date>
    </item>
  </channel>
</rss>

