<?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: vgremove question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554987#M622784</link>
    <description>Well shoot!  Thought there was a magical something somewhere....&lt;BR /&gt;&lt;BR /&gt;So, could these actually be "ghosts" from the migration process?  Maybe they were just temporary?  &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 31 May 2005 13:06:51 GMT</pubDate>
    <dc:creator>ConnieK</dc:creator>
    <dc:date>2005-05-31T13:06:51Z</dc:date>
    <item>
      <title>vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554972#M622769</link>
      <description>I had some issues with a vgscan -p  -v -a. I found the technical document HPUXKBRC00015715 and followed it (sort of).  Got to the point of importing the physical volumes to a newly created volume group - /dev/vgtest.  I did not get ALL of the PV's imported (there were 14) as I hit "enter" before I was done.  I tried it again with the remainder, but it wouldn't let me saying "Warning, vg contains 7 PV's, 4 specified.  Quorum not present"  I decided to start over.  Did a rm -r on /dev/vgtest and created another vg /dev/vgtest2 (used the same .  When I tried to do the vgimport - this time with all 14, it gave me another error - "PV is part of another vg" or something like that.&lt;BR /&gt;&lt;BR /&gt;I would like to start all over, but I don't know if I can do a vgremove on /dev/vgtest.  Will I lose track of any of the PV's that are supposedly in there? &lt;BR /&gt;&lt;BR /&gt;Should I do a vgexport?</description>
      <pubDate>Tue, 31 May 2005 09:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554972#M622769</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T09:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554973#M622770</link>
      <description>Yes, I would try a vgexport on both vgtest and vgtest2, then start over.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 31 May 2005 09:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554973#M622770</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-31T09:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554974#M622771</link>
      <description>vgexport should work fine.&lt;BR /&gt;&lt;BR /&gt;On the vgimport this next time, I'd suggest making use of the -f infile options.&lt;BR /&gt;&lt;BR /&gt;man vgimport &lt;BR /&gt;&lt;BR /&gt;for details&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 10:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554974#M622771</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-05-31T10:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554975#M622772</link>
      <description>I attempted the vgexport on both /dev/vgtest and /dev/vgtest2 and here's the result:&lt;BR /&gt;&lt;BR /&gt; vgexport -v -f outfile /dev/vgtest2&lt;BR /&gt;Beginning the export process on Volume Group "/dev/vgtest2".&lt;BR /&gt;vgexport: Volume group "/dev/vgtest2" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgexport: Couldn't export volume group "/dev/vgtest2".&lt;BR /&gt;# vgexport -v -f outfile /dev/vgtst&lt;BR /&gt;Beginning the export process on Volume Group "/dev/vgtst".&lt;BR /&gt;vgexport: Volume group "/dev/vgtst" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgexport: Couldn't export volume group "/dev/vgtst".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So if neither one is in the lvmtab, then is it now safe to vgremove them and start all over again?</description>
      <pubDate>Tue, 31 May 2005 10:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554975#M622772</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T10:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554976#M622773</link>
      <description>To start over, vgexport should be tried.&lt;BR /&gt;&lt;BR /&gt;Tell me where you varied from the docuument recommendations.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 31 May 2005 10:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554976#M622773</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-31T10:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554977#M622774</link>
      <description>Constance,&lt;BR /&gt;&lt;BR /&gt;Since they don't show in lvmtab, I would try the vgimport again.  If that doesn't work, I think you should run vgscan to get lvmtab straightened out, then re-run the vgexport, and, finally, run the vgimport.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 31 May 2005 10:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554977#M622774</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-31T10:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554978#M622775</link>
      <description>Steven - I did not vary from the document recommendations.  I just missed putting all 14 PV's into /dev/vgtest.  Then when I tried to continue the vgexport with the remainder (as I stated) I got the warning message as above.  Neither /dev/vgtest, nor /dev/vgtst is in the lvmtab, however they are still listed in /dev/vgtest/group and /dev/vgtst/group.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 10:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554978#M622775</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554979#M622776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Recreate entry in /etc/lvmtab by vgscan command.&lt;BR /&gt;&lt;BR /&gt;Try activating the VG by vgchange -a y /dev/vgname. If it gives quorum error try it with -q n option.&lt;BR /&gt;&lt;BR /&gt;Once enbled try displaying it with&lt;BR /&gt;#vgdisplay -v /dev/vgname&lt;BR /&gt;&lt;BR /&gt;If this does not succeed you can try importing VG by specifying all 14 device files.&lt;BR /&gt;&lt;BR /&gt;#vgimport -v /dev/vgname /dev/dsk/cxtyd0 /dev/dsk/cx1ty1dz1 .... .... ..... ( all 14)&lt;BR /&gt;&lt;BR /&gt;Once done try enabling it using &lt;BR /&gt;&lt;BR /&gt;#vgchange -a y /dev/vgname&lt;BR /&gt;&lt;BR /&gt;Check again with &lt;BR /&gt;&lt;BR /&gt;#vgdisplay -v /dev/vgname&lt;BR /&gt;&lt;BR /&gt;Keep posting the errors encountered.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Tue, 31 May 2005 10:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554979#M622776</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-05-31T10:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554980#M622777</link>
      <description>Ok.  I moved the original lvmtab - mv /etc/lvmtab /etc/lvmtab.orig, ran the vgscan.  There is no difference in the files.  It is sill reporting that 14 physical volumes belong to one VG and unable to match.  And there are 24 others that belog to another VG.&lt;BR /&gt;&lt;BR /&gt;Since the recreated lvmtab is the same as the original, can I assume that my first actions to import some of the PV's into /dev/vgtest were not successful and that I can do a vgremove without any reprecussions?&lt;BR /&gt;&lt;BR /&gt;This server was "migrated" to a different location 2 months ago.  They did something with a "bridge" appliance - (before I got here).  Is it possible that the reported "missing" PV's are ghosts left over from that process.&lt;BR /&gt;&lt;BR /&gt;Also, this is a production server and no one has reported any problems.&lt;BR /&gt;&lt;BR /&gt;Thoughts? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 11:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554980#M622777</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T11:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554981#M622778</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes, it means your VG is still existing in system. Try to enable it using "vgchange -a y /dev/vgname". After enabling see status using "vgdisplay -v /dev/vgname".&lt;BR /&gt;&lt;BR /&gt;If both these works fine you can remove vg after removing all lvols. Or simply vgexport will remove all information regarging that vg from your system and you can reuse these disks either on the same or different system.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 12:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554981#M622778</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-05-31T12:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554982#M622779</link>
      <description>Devender,&lt;BR /&gt;&lt;BR /&gt;I did the vgchange on both vgtest and vgtst - both reported:&lt;BR /&gt;# vgchange -a y /dev/vgtest2&lt;BR /&gt;vgchange: Volume group "/dev/vgtest2" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;# vgchange -a y /dev/vgtst&lt;BR /&gt;vgchange: Volume group "/dev/vgtst" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;So since they are not there, should I just rm -r /dev/vgtest2 &amp;amp; /dev/vgtst or do I need to do a vgexport or something else - like a vgremove?</description>
      <pubDate>Tue, 31 May 2005 12:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554982#M622779</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T12:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554983#M622780</link>
      <description>If neither volume group is listed in the lvmtab, rm -r both volume group entries.  Afterwards, do your mkdir/mknod and attempt vgimport once again.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 31 May 2005 12:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554983#M622780</guid>
      <dc:creator>erics_1</dc:creator>
      <dc:date>2005-05-31T12:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554984#M622781</link>
      <description>Eric - HOOYAH!!!!  Did exactly what you said.  Look at the results:&lt;BR /&gt;&lt;BR /&gt;vgimport: Warning: Volume Group contains "7" PVs, "14" specified. Continuing.&lt;BR /&gt;Warning: A backup of this volume group may not exist on this machine.&lt;BR /&gt;Please remember to take a backup using the vgcfgbackup command after activating the volume group.&lt;BR /&gt;&lt;BR /&gt;The instructions in the document state that I need to "determine the previous name of the volume group by mounting the filesystems and viewing the content."  How can I do that when I have no idea what the filesystems were? &lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 12:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554984#M622781</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T12:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554985#M622782</link>
      <description>Ok - so now I did:&lt;BR /&gt;# vgchange -a y /dev/vgtest&lt;BR /&gt;Activated volume group&lt;BR /&gt;Volume group "/dev/vgtest" has been successfully changed.&lt;BR /&gt;&lt;BR /&gt;Then, I did:&lt;BR /&gt;# vgdisplay -v /dev/vgtest&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgtest&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      1&lt;BR /&gt;Open LV                     1&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      7&lt;BR /&gt;Act PV                      7&lt;BR /&gt;Max PE per PV               3473&lt;BR /&gt;VGDA                        14&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    24304&lt;BR /&gt;Alloc PE                    24300&lt;BR /&gt;Free PE                     4&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vgtest/lvol1&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            97200&lt;BR /&gt;   Current LE                  24300&lt;BR /&gt;   Allocated PE                24300&lt;BR /&gt;   Used PV                     7&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c34t5d4&lt;BR /&gt;   PV Name                     /dev/dsk/c37t5d4 Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3472&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c34t5d5&lt;BR /&gt;   PV Name                     /dev/dsk/c37t5d5 Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3472&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c34t5d6&lt;BR /&gt;   PV Name                     /dev/dsk/c37t5d6 Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3472&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c34t5d7&lt;BR /&gt;   PV Name                     /dev/dsk/c37t5d7 Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3472&lt;BR /&gt;   Free PE                     4&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c34t8d0&lt;BR /&gt;   PV Name                     /dev/dsk/c37t8d0 Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3472&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c34t8d1&lt;BR /&gt;   PV Name                     /dev/dsk/c37t8d1 Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3472&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c34t8d2&lt;BR /&gt;   PV Name                     /dev/dsk/c37t8d2 Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3472&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, now it's all there, but again, how can I determine what the previous name of the volume group was?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 12:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554985#M622782</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554986#M622783</link>
      <description>Constance,&lt;BR /&gt;&lt;BR /&gt;I don't think there is any way to tell the previous name.  Now that you've imported it as vgtest, that's what it's known as.  The only way to find out a previous name would be to find some hardcopy documentation of the system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 31 May 2005 12:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554986#M622783</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-31T12:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554987#M622784</link>
      <description>Well shoot!  Thought there was a magical something somewhere....&lt;BR /&gt;&lt;BR /&gt;So, could these actually be "ghosts" from the migration process?  Maybe they were just temporary?  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 13:06:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554987#M622784</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-05-31T13:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: vgremove question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554988#M622785</link>
      <description>Constance,&lt;BR /&gt;&lt;BR /&gt;This vg only had one lvol at 97gb in size.  Since you vgimported without a mapfile, the lvol name wasn't necessarily lvol1.  This is the naming convention LVM uses by default.  You may be able to determine the old vg name by looking at a backed up copy of /etc/lvmtab before the volume group was initially wiped out.  You could compare the disks in vgtest with those in the backup copy. &lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 31 May 2005 13:16:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgremove-question/m-p/3554988#M622785</guid>
      <dc:creator>erics_1</dc:creator>
      <dc:date>2005-05-31T13:16:05Z</dc:date>
    </item>
  </channel>
</rss>

