<?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: lvremove hangs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364130#M560375</link>
    <description>Hi Fred,&lt;BR /&gt;&lt;BR /&gt;There is no risk. But I am doubtful it is not going to kill.&lt;BR /&gt;&lt;BR /&gt;You should have reduced the vg from the missing disks using vgreduce -f or lvreduce -k(if it is mirrored) before removing the lv.</description>
    <pubDate>Mon, 23 Feb 2009 10:49:26 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2009-02-23T10:49:26Z</dc:date>
    <item>
      <title>lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364128#M560373</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have some VGs with 2 LV on it. One of the LV has its disks no more on the machine. PVs are marked as unavailable. I run lvremove to remove the LV. It worked for all the VGs, but lvremove hangs on the last one.&lt;BR /&gt;&lt;BR /&gt;I would like not to reboot the server. What is the risk to kill lvremove ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2009 10:41:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364128#M560373</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2009-02-23T10:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364129#M560374</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;No risk at all in killing the lvremove.&lt;BR /&gt;&lt;BR /&gt;It might not due, and it may go zombie which will THEN require a reboot to correct.&lt;BR /&gt;&lt;BR /&gt;Before running the command, run pvdisplay -v on the physical volume, if its still present.&lt;BR /&gt;&lt;BR /&gt;You may need at some point to do this:&lt;BR /&gt;&lt;BR /&gt;vgchange -a n vg_name&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;vgscan -a&lt;BR /&gt;&lt;BR /&gt;vgreduce -f vg_name afterwards precisely following the instructions is also a valid way out of this situation.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 23 Feb 2009 10:48:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364129#M560374</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-23T10:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364130#M560375</link>
      <description>Hi Fred,&lt;BR /&gt;&lt;BR /&gt;There is no risk. But I am doubtful it is not going to kill.&lt;BR /&gt;&lt;BR /&gt;You should have reduced the vg from the missing disks using vgreduce -f or lvreduce -k(if it is mirrored) before removing the lv.</description>
      <pubDate>Mon, 23 Feb 2009 10:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364130#M560375</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-02-23T10:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364131#M560376</link>
      <description>SEP, Ganesan,&lt;BR /&gt;&lt;BR /&gt;I also think killing will not make my system unstable. But it will probably go zombie, and I won't be able to launch any other LVM command (such as a vgreduce on the missing disks). As SEP say, it will end on a reboot that I didn't want to do.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2009 10:57:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364131#M560376</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2009-02-23T10:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364132#M560377</link>
      <description>It doesn't go zombie. In fact, it isn't killed at all. Even with "kill -9".&lt;BR /&gt;&lt;BR /&gt;This seriously begins to look like a reboot to schedule...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2009 11:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364132#M560377</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2009-02-23T11:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364133#M560378</link>
      <description>Hi Fred:&lt;BR /&gt;&lt;BR /&gt;If 'kill -9' doesn't terminate the process then a reboot is probably your only option.  A process that doesn't honor a 'kill -9' is one that is waiting on a higher event, often an I/O or a kernel space event.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 23 Feb 2009 12:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364133#M560378</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-23T12:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364134#M560379</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;In the cases where you do not have the disks present physically on the system thelvreduce and vgreduce to remove the mirror of LVs from that disk mught fail as the LVM keeps retring for that disk and we calll that ghost disk.&lt;BR /&gt;&lt;BR /&gt;As Ganeshan says it is good that we can do a #lveduce -m 0 -k &lt;LV_NAME&gt; &lt;PV_KEY_OF_THE_GHOST_DISK&gt;&lt;BR /&gt;&lt;BR /&gt;The PV Key for the ghodt disk yiu can get from the command &lt;BR /&gt;#lvdisplay -v -k &lt;LV_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;You can well judge that with the number appearing instead of the PV nmae as would have appeared in a normal lvdisplay -v O/P without the -k option. This you can judge as those will have a ??? mark in place of the PE status.&lt;BR /&gt;&lt;BR /&gt;To remove that PV from the VG as SEP suggets, you shall need to do &lt;BR /&gt;#vgreduce -f /dev/vg00&lt;BR /&gt;&lt;BR /&gt;this shall help you remove the missing PV easily.&lt;BR /&gt;&lt;BR /&gt;OR also you can first of all try a vgscan after renaming the orig /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;/LV_NAME&gt;&lt;/PV_KEY_OF_THE_GHOST_DISK&gt;&lt;/LV_NAME&gt;</description>
      <pubDate>Mon, 23 Feb 2009 20:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364134#M560379</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-23T20:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364135#M560380</link>
      <description>Note that all of this was prepared and has worked for all other VG. My problem is not to get rid of my LV.&lt;BR /&gt;&lt;BR /&gt;Why lvremove has hung is a mystery for me. LV wasn't mounted.&lt;BR /&gt;&lt;BR /&gt;My real problem was to stop this lvremove without going through reboot. For me, such a process blocked on I/O can not be killed. But I thought an old guru may be aware of some ancient magical spell ;) I can't wait anymore and I'm going to bounce the system now.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2009 21:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-hangs/m-p/4364135#M560380</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2009-02-23T21:58:33Z</dc:date>
    </item>
  </channel>
</rss>

