<?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: Cannot remove LV?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586835#M647484</link>
    <description>Have you tried removing and recreating vg01 again?&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n /dev/vg01&lt;BR /&gt;# vgexport /dev/vg01&lt;BR /&gt;&lt;BR /&gt;mkdir, mknod, pvcreate then vgcreate...&lt;BR /&gt;&lt;BR /&gt;-denver</description>
    <pubDate>Fri, 28 Sep 2001 13:25:23 GMT</pubDate>
    <dc:creator>Denver Osborn</dc:creator>
    <dc:date>2001-09-28T13:25:23Z</dc:date>
    <item>
      <title>Cannot remove LV??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586834#M647483</link>
      <description>I have a workstation class that I am trying to clone to another machine for a backup.  I inherited this machine so I'm not sure why it was configured the way it was, but the OS is on one of the internal 4G drives, and the home LV is on the other (/dev/vg01/lvol1).  &lt;BR /&gt;&lt;BR /&gt;For various reasons, I needed the make_tape_recovery to fit on one tape, so I excluded the home LV since it was rather large and could be re-created later.  The restore of the image went fine.  I then created vg01 on the second disk, which also went fine.  The problem is that when I try to re-create the LV for the home FS, it errors out because it thinks the LV already exists.  When I try to delete /dev/vg01/lvol1, it also errors out saying "The supplied minor number refers to a non-existent logical volume"&lt;BR /&gt;&lt;BR /&gt;I'v also tried lvremove -f /dev/vg01/lvol1 from the command line, but get the same type of error.&lt;BR /&gt;&lt;BR /&gt;How can I remove all traces of the /dev/vg01/lvol1 so I can re-add it again properly?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Greg</description>
      <pubDate>Fri, 28 Sep 2001 13:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586834#M647483</guid>
      <dc:creator>Greg Stark_1</dc:creator>
      <dc:date>2001-09-28T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove LV??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586835#M647484</link>
      <description>Have you tried removing and recreating vg01 again?&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n /dev/vg01&lt;BR /&gt;# vgexport /dev/vg01&lt;BR /&gt;&lt;BR /&gt;mkdir, mknod, pvcreate then vgcreate...&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 28 Sep 2001 13:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586835#M647484</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2001-09-28T13:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove LV??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586836#M647485</link>
      <description>Hi Greg:&lt;BR /&gt;&lt;BR /&gt;Run vgexport /dev/vg01. That will generally wipe that puppy out.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Fri, 28 Sep 2001 13:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586836#M647485</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-28T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove LV??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586837#M647486</link>
      <description>Hi Greg:&lt;BR /&gt;&lt;BR /&gt;'vgexport' /dev/vg01.  Then simply recreate it from scratch.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 28 Sep 2001 13:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586837#M647486</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-09-28T13:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove LV??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586838#M647487</link>
      <description>Hi&lt;BR /&gt;If nothing else is in same VG, try exporting out the VG.&lt;BR /&gt;&lt;BR /&gt;Thsnk.&lt;BR /&gt;Prashant.</description>
      <pubDate>Fri, 28 Sep 2001 13:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586838#M647487</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-09-28T13:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove LV??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586839#M647488</link>
      <description>This happens when someone uses the command "rm" to remove the logical volumes. You can recreate the logical volumes using mknod command and then remove.&lt;BR /&gt;&lt;BR /&gt;cd /dev/vg01&lt;BR /&gt;mknod lvol1 b 64 0x0?0001  (check the group file for the value of ?)&lt;BR /&gt;mknod rlvol1 c 64 0x0?0001&lt;BR /&gt;&lt;BR /&gt;You can do lvremove /dev/vg01/lvol1 now.&lt;BR /&gt;&lt;BR /&gt;If you don't have anything in the volume group, then the simplest way is to export.&lt;BR /&gt;&lt;BR /&gt;vgexport vg01.&lt;BR /&gt;&lt;BR /&gt;Then recreate it fresh.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Sep 2001 13:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-lv/m-p/2586839#M647488</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-28T13:41:28Z</dc:date>
    </item>
  </channel>
</rss>

