<?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: Remove LVM information in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5319257#M535133</link>
    <description>&lt;P&gt;Thanks James,&lt;/P&gt;&lt;P&gt;I created a copy of the /etc/lvmtab by renaming it to /etc/lvmtab.old&lt;/P&gt;&lt;P&gt;after running the #vgscan -a -v , the /dev/VG_POC (my test VG) was listed along with the message that it was not matched with any Physical Volumes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the entry was removed from /lvmtab but the problem persisted (getting stuck while doing a bdf or trying to go into sam to list the filesystems), I decided to restore the old copy of the lvmtab.old into /etc/lvmtab by doing a &amp;nbsp;#cp -p lvmtab.old lvmtab and then run a #vgexport -v /dev/VG_POC .&amp;nbsp;&amp;nbsp; Anyway, the vgexport with the following error message:&amp;nbsp; vgexport: Volume group "/dev/VG_POC" is still active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have any other ideas on how to remove it?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2011 12:48:41 GMT</pubDate>
    <dc:creator>Mynor Aguilar</dc:creator>
    <dc:date>2011-09-01T12:48:41Z</dc:date>
    <item>
      <title>Remove LVM information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5318663#M535131</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;basically I was running some LVM tests on my 11.23 server.&amp;nbsp;&amp;nbsp; I presented a disk from my SAN and created a&amp;nbsp;new VG and LV.&amp;nbsp;&amp;nbsp; long story short somebody decided to remove the mapping (unpresent)&amp;nbsp;my test disk and now LVM&amp;nbsp;cannot find the old&amp;nbsp;LUN.&amp;nbsp;&amp;nbsp; for a very specific&amp;nbsp;reason I cannot represent the volume back to my server and I&amp;nbsp;just need to delete the&amp;nbsp;LVM information and any traces of the test LV, test VG, etc.&lt;/P&gt;&lt;P&gt;so, I basically tried to unmount the FS (POC is the mountpoint)&lt;/P&gt;&lt;P&gt;# umount /POC&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the command hangs, same thing happens if I try to run bdf or any other LVM related command&amp;nbsp; (lvremove or vgreduce).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any way to manually remove this filesystem, LV and VG?&amp;nbsp; I do not really care about the data on that filesystem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mynor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2011 21:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5318663#M535131</guid>
      <dc:creator>Mynor Aguilar</dc:creator>
      <dc:date>2011-08-31T21:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remove LVM information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5318689#M535132</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly, you could rename the '/etc/lvmtab' file to '/etc/lvmtab.old' and run 'vgscan -a -v'.&amp;nbsp; Have a look at the 'vgscan' manpages and follow the instructions the operation reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2011 21:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5318689#M535132</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-08-31T21:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Remove LVM information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5319257#M535133</link>
      <description>&lt;P&gt;Thanks James,&lt;/P&gt;&lt;P&gt;I created a copy of the /etc/lvmtab by renaming it to /etc/lvmtab.old&lt;/P&gt;&lt;P&gt;after running the #vgscan -a -v , the /dev/VG_POC (my test VG) was listed along with the message that it was not matched with any Physical Volumes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the entry was removed from /lvmtab but the problem persisted (getting stuck while doing a bdf or trying to go into sam to list the filesystems), I decided to restore the old copy of the lvmtab.old into /etc/lvmtab by doing a &amp;nbsp;#cp -p lvmtab.old lvmtab and then run a #vgexport -v /dev/VG_POC .&amp;nbsp;&amp;nbsp; Anyway, the vgexport with the following error message:&amp;nbsp; vgexport: Volume group "/dev/VG_POC" is still active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have any other ideas on how to remove it?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2011 12:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5319257#M535133</guid>
      <dc:creator>Mynor Aguilar</dc:creator>
      <dc:date>2011-09-01T12:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Remove LVM information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5319285#M535134</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1043001"&gt;@Mynor Aguilar&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I created a copy of the /etc/lvmtab by renaming it to /etc/lvmtab.old&lt;/P&gt;&lt;P&gt;after running the #vgscan -a -v , the /dev/VG_POC (my test VG) was listed along with the message that it was not matched with any Physical Volumes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the entry was removed from /lvmtab but the problem persisted (getting stuck while doing a bdf or trying to go into sam to list the filesystems), I decided to restore the old copy of the lvmtab.old into /etc/lvmtab by doing a &amp;nbsp;#cp -p lvmtab.old lvmtab and then run a #vgexport -v /dev/VG_POC .&amp;nbsp;&amp;nbsp; Anyway, the vgexport with the following error message:&amp;nbsp; vgexport: Volume group "/dev/VG_POC" is still active.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;To 'vgexport' a volume group you must first deactivate it with 'vgchange -a n &amp;lt;vgname&amp;gt;'.&amp;nbsp; I don't know if that will work in this case.&amp;nbsp; If not, I would try reboot followed by a recreation of the '/etc/lvmtab' as before.&amp;nbsp; The kernel currently knows about the missing volumes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2011 13:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5319285#M535134</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-09-01T13:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Remove LVM information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5319321#M535135</link>
      <description>&lt;P&gt;thanks,&amp;nbsp; I've already&amp;nbsp;tried to do a vgchange before the vgexport&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/-&amp;gt;vgchange -a n VG_POC&lt;BR /&gt;vgchange: Couldn't deactivate volume group "VG_POC":&lt;BR /&gt;Device busy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyway,&amp;nbsp;&amp;nbsp; I'll proceed to schedule the reboot of the server, I'll let you know if that works.&amp;nbsp;&amp;nbsp; thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mynor&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2011 13:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-lvm-information/m-p/5319321#M535135</guid>
      <dc:creator>Mynor Aguilar</dc:creator>
      <dc:date>2011-09-01T13:43:58Z</dc:date>
    </item>
  </channel>
</rss>

