<?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 failed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802692#M637348</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For me it looks like a conflict of the minor numbers. Do an ll /dev/*/group and see if there are group files in the other volume groups with the same minor number. Get rid of them.&lt;BR /&gt;&lt;BR /&gt;If it does not solve the problem, then do the following.&lt;BR /&gt;&lt;BR /&gt;Bring the system in lm maintenance mode (interact with isl, boot the system with hpux -lm -is command).&lt;BR /&gt;&lt;BR /&gt;Once it boots, do an export of vg00. Create vg00 fresh and then import it back  and then run the lvlnboot commands.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Mon, 09 Sep 2002 18:23:20 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2002-09-09T18:23:20Z</dc:date>
    <item>
      <title>vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802691#M637347</link>
      <description>I helped a customer populate a N4000 server to another identical N4000 server by "make_tape_recovery" and boot the tape on the 2nd ssystem.  I did change the advanced option during boot to be "on a different H/w".&lt;BR /&gt;&lt;BR /&gt;Once the system came up, I cleaned the other VGs by vgexport them.  Only left vg00, then I mirrored them one logical volume at a time.&lt;BR /&gt;Everything looks fine before I reboot the 2nd box.&lt;BR /&gt;&lt;BR /&gt;During boot, vgchange complaints:"&lt;BR /&gt;vgchange:&lt;BR /&gt;Couldn't set the unique id for volume group "/dev/vg00"&lt;BR /&gt;&lt;BR /&gt;File exists."&lt;BR /&gt;&lt;BR /&gt;What unique ID and which file exisits?  How could fix this problem?  the system actually boot up and mirrors are working, vgdisplay would not show anything, but lvdisplay show all the logical volumes fine.&lt;BR /&gt;&lt;BR /&gt;Have never seen this before.  I would suggest the programmer if they decide to putout error message and bail out, please explain in the man page how to fix the problem or at least explain what was the thing it talked about. vgchange 's man page has nothing about this error.&lt;BR /&gt;&lt;BR /&gt;Thanks for any help.</description>
      <pubDate>Mon, 09 Sep 2002 18:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802691#M637347</guid>
      <dc:creator>Wayne Yu_1</dc:creator>
      <dc:date>2002-09-09T18:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802692#M637348</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For me it looks like a conflict of the minor numbers. Do an ll /dev/*/group and see if there are group files in the other volume groups with the same minor number. Get rid of them.&lt;BR /&gt;&lt;BR /&gt;If it does not solve the problem, then do the following.&lt;BR /&gt;&lt;BR /&gt;Bring the system in lm maintenance mode (interact with isl, boot the system with hpux -lm -is command).&lt;BR /&gt;&lt;BR /&gt;Once it boots, do an export of vg00. Create vg00 fresh and then import it back  and then run the lvlnboot commands.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 09 Sep 2002 18:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802692#M637348</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-09-09T18:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802693#M637349</link>
      <description>I've seen this once, basically it means LVM will not allow the same group minor to be activated with a different VGID and if you do that vgchange activation will complain. What you have to do is, take note of all your VGs group minor number (assuming they are all unique), pick the next unique minor number that's not used. This minor number will be used to recreate vg00. Then you would have to boot in LVM maintenance mode (hpux -lm), then do .. &lt;BR /&gt;# vgexport -m /mapfile /dev/vg00 &lt;BR /&gt;# mkdir /dev/vg00 &lt;BR /&gt;# mknod /dev/vg00/group c 64 0x0#0000 &lt;BR /&gt;=&amp;gt; Use the "unique" minor number that you have noted down earlier. &lt;BR /&gt;# vgimport -m /mapfile /dev/vg00 /dev/dsk/CXtYdZ /dev/dsk/...&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;It should activate without complaining now.</description>
      <pubDate>Mon, 09 Sep 2002 18:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802693#M637349</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-09-09T18:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802694#M637350</link>
      <description>But on the system, there is no other volume group other than vg00.  Under /dev there is only one vg00.  Vgexport already removed all other /dev/vg*.   I will try to schdule a time to the customer site and take look and hopefully, there is no other /dev/vg* on the system....</description>
      <pubDate>Mon, 09 Sep 2002 19:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802694#M637350</guid>
      <dc:creator>Wayne Yu_1</dc:creator>
      <dc:date>2002-09-09T19:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802695#M637351</link>
      <description>Hi Wayne,&lt;BR /&gt;&lt;BR /&gt; What does&lt;BR /&gt;strings /etc/lvmtab | more&lt;BR /&gt;show?&lt;BR /&gt;&lt;BR /&gt;Are there more than one VG in there?&lt;BR /&gt;&lt;BR /&gt;If so&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;vgscan -av&lt;BR /&gt;then try to vgchange the vg00 VG.&lt;BR /&gt;&lt;BR /&gt;Also IF the tape came off an MC/SG system, you may have pulled over a file named&lt;BR /&gt;/dev/slvmvg&lt;BR /&gt;that has the same major/minor numbers as vg00.&lt;BR /&gt;IF you aren't running MC/SG you should remove this file &amp;amp; rebuild lvmtab as noted above.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Sep 2002 20:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802695#M637351</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-09-09T20:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802696#M637352</link>
      <description>lvmtab has only vg00 in it and two mirrored drives.  There is no other volume group on the system, other than vg00.</description>
      <pubDate>Mon, 09 Sep 2002 21:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802696#M637352</guid>
      <dc:creator>Wayne Yu_1</dc:creator>
      <dc:date>2002-09-09T21:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802697#M637353</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;During activation LVM gets the VGID from /etc/lvmtab and creates a new VG structure in memory. While attaching PVs to that structure the VGID of that PVs are checked against that one found in lvmtab.&lt;BR /&gt;&lt;BR /&gt;So I assume that the VGID in lvmtab does not match the VGID on disk. vgexport/vgimport from maintanance mode should fix the problem. See other responses above.&lt;BR /&gt;&lt;BR /&gt;To check the VGID on disk:&lt;BR /&gt;&lt;BR /&gt;echo "0d8208?UU" | /usr/bin/adb /dev/dsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;To check the VGID from lvmtab:&lt;BR /&gt;&lt;BR /&gt;strings -t d /etc/lvmtab |grep /dev |grep -v /dev/dsk |while read offset path; do&lt;BR /&gt;    xd -An -j$(($offset+1024)) -N8 -tuL /etc/lvmtab |read vgid1 vgid2&lt;BR /&gt;    echo $path $vgid1 $vgid2&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Tue, 10 Sep 2002 06:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802697#M637353</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-09-10T06:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802698#M637354</link>
      <description>vgexport and vgimport fixed the problem.  It is strange that only doing vgexport to other vgs could affect the vg00.  But it is fixed now and customer is happy.</description>
      <pubDate>Wed, 11 Sep 2002 21:13:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-failed/m-p/2802698#M637354</guid>
      <dc:creator>Wayne Yu_1</dc:creator>
      <dc:date>2002-09-11T21:13:55Z</dc:date>
    </item>
  </channel>
</rss>

