<?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: Problems with vgchange in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701736#M644973</link>
    <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;Renaming /etc/lvmtab and recreating with 'vgscan -v' is a good suggestion.&lt;BR /&gt;&lt;BR /&gt;Just curious, are you using PVG ( physical volume groups ) ?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
    <pubDate>Thu, 11 Apr 2002 16:34:19 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-04-11T16:34:19Z</dc:date>
    <item>
      <title>Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701730#M644967</link>
      <description>I have a problem removing a volume group that was imported from an EMC BCV device.  When I try to issue a vgdisplay command on my volume group I get:&lt;BR /&gt;Information in "/etc/lvmtab" differs from that in "/etc/lvmpvg".&lt;BR /&gt;VG "/dev/vg04_1" is not defined in file "/etc/lvmtab".&lt;BR /&gt;vgdisplay: Volume group "/dev/lvemcNMES" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgdisplay: Cannot display volume group "lvemcNMES".&lt;BR /&gt;&lt;BR /&gt;When I try to diactivate the volume group, because vgimport is complaining that it already exist, I get:&lt;BR /&gt;# vgchange -a n lvemcNMES&lt;BR /&gt;vgchange: Volume group "/dev/lvemcNMES" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;Now, my conclusion is that the /etc/lvmatab file is not consistent.  How can I "safely" remove this volume so that I can reimport it properly from my BCV.&lt;BR /&gt;Any help would be much appreciated</description>
      <pubDate>Thu, 11 Apr 2002 16:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701730#M644967</guid>
      <dc:creator>Tom Frencel</dc:creator>
      <dc:date>2002-04-11T16:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701731#M644968</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;I would rename lvmtab to lvmtab.old &amp;amp; try a vgscan -a to recreate the "true" VG defs. You can always go back to the org lvmtab. You can also run vgscan w/o renaming &amp;amp; it'll just "add" missing entries.&lt;BR /&gt;&lt;BR /&gt;If the /dev/vgxxx directory already exists &amp;amp; you are truly not using it now, you could just delete the directory &amp;amp; try to reimport.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 11 Apr 2002 16:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701731#M644968</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-11T16:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701732#M644969</link>
      <description>Hi Tom&lt;BR /&gt;&lt;BR /&gt;Here is waht acan be done.&lt;BR /&gt;&lt;BR /&gt;1. Make a copy of lvmtab file say lvmtab.old.&lt;BR /&gt;2. Do a vgscan -a -v , this will recreate a new lvmtab file which will have information of all the vg's.&lt;BR /&gt;3.Then go ahead with the vg operations.&lt;BR /&gt;&lt;BR /&gt;It is safe bcoz you have a copy of lvmtab , you can alos try -p option which will preview thte stuff.&lt;BR /&gt;&lt;BR /&gt;Also donto forget to do a lvlnboot -R after the work is done.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Thu, 11 Apr 2002 16:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701732#M644969</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-11T16:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701733#M644970</link>
      <description>Did you try to re-create lvmtab file ?&lt;BR /&gt;&lt;BR /&gt;# cd /etc&lt;BR /&gt;# mv lvmtab lvmtab.old&lt;BR /&gt;# vgscan -v</description>
      <pubDate>Thu, 11 Apr 2002 16:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701733#M644970</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-11T16:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701734#M644971</link>
      <description>Hi Just do following.&lt;BR /&gt;&lt;BR /&gt;#cp lvmtab lvmtab.org&lt;BR /&gt;#vgscan -v&lt;BR /&gt;&lt;BR /&gt;Check the lvmtab file conteants using&lt;BR /&gt;&lt;BR /&gt;#strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;Look for the existing Vg in lvmtab defination.&lt;BR /&gt;&lt;BR /&gt;Now your vg whichj you want to remove will not be in lvmtab and hence you will be able to remove it.&lt;BR /&gt;&lt;BR /&gt;-pap</description>
      <pubDate>Thu, 11 Apr 2002 16:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701734#M644971</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-04-11T16:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701735#M644972</link>
      <description>Hi Tom:&lt;BR /&gt;&lt;BR /&gt;Two comments in addition to the advice you have already been given.  (1) Did you use 'vgchgid' on the BCV volume before you attempted the 'vgimport'?  (2) Remember that the '/etc/lvmpvg' can be manually edited as well as modified by LVM commands like 'vgcreate', etc.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 11 Apr 2002 16:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701735#M644972</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-11T16:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701736#M644973</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;Renaming /etc/lvmtab and recreating with 'vgscan -v' is a good suggestion.&lt;BR /&gt;&lt;BR /&gt;Just curious, are you using PVG ( physical volume groups ) ?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Thu, 11 Apr 2002 16:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701736#M644973</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-11T16:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701737#M644974</link>
      <description>Yes, I am issuing vgchgid on the BCV before I try to import the volume group.&lt;BR /&gt;I did try to recreate the /etc/lvmtab.  In fact here is the output of the new /etc/lvmtab:&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;# &lt;BR /&gt;As you can see there is no mention of lvemcNMES - so that is good.  However,&lt;BR /&gt;when I try importing - I still get an error.&lt;BR /&gt;&lt;BR /&gt;sapsplit: Error importing disk group lvemcNMES [Error executing command 'vgimport -m /nsr/tmp/map_lvemcNMES.14228 lvemcNMES  /dev/dsk/c15t0d4 /dev/dsk/c15t2d1' [Volume group "/dev/lvemcNMES" is still active.]]&lt;BR /&gt;sapsplit: Error constructing primary host environment&lt;BR /&gt;&lt;BR /&gt;Where is the OS getting the information about lvemcNMES still being active - beats me.&lt;BR /&gt;&lt;BR /&gt;Here is the contents of lvmpvg:&lt;BR /&gt;# more lvmpvg&lt;BR /&gt;VG      /dev/vg04_1&lt;BR /&gt;PVG     pvg04_1&lt;BR /&gt;/dev/dsk/c7t8d0&lt;BR /&gt;# &lt;BR /&gt;There must be another file on the system that still contains information about lvemcNMES being active.&lt;BR /&gt;I know what I can do.  I can reboot the machine, but I definitely don't want to do this every time I run into this issue:(&lt;BR /&gt;Thanks for everyones replies so far, they are all good, but no solution yet:)</description>
      <pubDate>Thu, 11 Apr 2002 18:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-vgchange/m-p/2701737#M644974</guid>
      <dc:creator>Tom Frencel</dc:creator>
      <dc:date>2002-04-11T18:16:48Z</dc:date>
    </item>
  </channel>
</rss>

