<?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 logical volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042663#M134656</link>
    <description>LVdisplay outputs the following.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Name                     /dev/vg_misc/temp_dir&lt;BR /&gt;VG Name                     /dev/vg_misc&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            0               &lt;BR /&gt;Current LE                  0         &lt;BR /&gt;Allocated PE                0           &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  non-strict                &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;&lt;BR /&gt;So it does exist. It is just 0 size. Also sam does not remove the logical volume.&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Aug 2003 11:39:44 GMT</pubDate>
    <dc:creator>Walter Goncalves</dc:creator>
    <dc:date>2003-08-06T11:39:44Z</dc:date>
    <item>
      <title>Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042659#M134652</link>
      <description>The server is running hpux 11.&lt;BR /&gt;&lt;BR /&gt;I am trying to remove a logical volume but get the following message.&lt;BR /&gt;&lt;BR /&gt;Current path "/dev/dsk/c9t2d1" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c9t2d2" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c9t2d3" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c9t3d2" is an alternate link, skip.&lt;BR /&gt;lvremove: Couldn't delete logical volume "/dev/vg_misc/8.1.6":&lt;BR /&gt;The supplied lv number refers to a non-existent logical volume.&lt;BR /&gt;Volume Group configuration for /dev/vg_misc has been saved in /etc/lvmconf/vg_misc.conf&lt;BR /&gt;&lt;BR /&gt;I then looked at the /dev/vg_misc directory and saw&lt;BR /&gt;brw-rw-rw- 1 root sys 64 0x020011 Jun 13 11:59 temp_dir&lt;BR /&gt;crw-rw-rw- 1 root sys 64 0x020011 Jun 13 12:00 rtemp_dir&lt;BR /&gt;brw-r----- 1 root sys 64 0x020011 Jan 29  2002 8.1.6&lt;BR /&gt;crw-r----- 1 root sys 64 0x020011 Jan 29  2002 r8.1.6&lt;BR /&gt;&lt;BR /&gt;I saw the problem (the minor numbers where the same) so I removed the two files for temp_dir and recreated them with a different minor number as follows.&lt;BR /&gt;&lt;BR /&gt;brw-r-----   1 root       sys         64 0x020011 Jan 29  2002 8.1.6&lt;BR /&gt;crw-r-----   1 root       sys         64 0x020011 Jan 29  2002 r8.1.6&lt;BR /&gt;brw-rw-rw-   1 root       sys         64 0x0200ff Aug  6 11:59 temp_dir&lt;BR /&gt;crw-rw-rw-   1 root       sys         64 0x0200ff Aug  6 12:00 rtemp_dir&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This did not help as I cannot still remove the logical volume. Any ideas?&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Aug 2003 11:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042659#M134652</guid>
      <dc:creator>Walter Goncalves</dc:creator>
      <dc:date>2003-08-06T11:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042660#M134653</link>
      <description>Looks to me like you have pvlinks active, two paths to the same disk, probably through two different scsi paths.&lt;BR /&gt;&lt;BR /&gt;Also, you might want to see if there really is a logical volume.&lt;BR /&gt;&lt;BR /&gt;lvdisplay lvolname&lt;BR /&gt;&lt;BR /&gt;What do you see?&lt;BR /&gt;&lt;BR /&gt;Just because the file is there doesn't mean its there.&lt;BR /&gt;&lt;BR /&gt;I'd take a backup of the system with make_tape_recovery use sam disk area and list all logical volumes.&lt;BR /&gt;&lt;BR /&gt;Then you may manually rm the device driver files if you are confident anything actually needs to be done.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 06 Aug 2003 11:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042660#M134653</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-06T11:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042661#M134654</link>
      <description>I'm not sure if you actually have a problem with temp_dir as well, but if that is the case why don't you just simply remove the whole VG and re-create it (if you can naturally) by vgexporting the whole thing.  Plus since temp_dir seems to be the newest of the two filesystems, it probably clobbered 8.1.6 in vg_misc.conf, therefore, it would think that it simply doesn't exist anymore.</description>
      <pubDate>Wed, 06 Aug 2003 11:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042661#M134654</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-08-06T11:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042662#M134655</link>
      <description>Can you post a "vgdisplay -v vg_misc" ?&lt;BR /&gt;&lt;BR /&gt;I suspect some other missing stuff.&lt;BR /&gt;&lt;BR /&gt;Are you able to mount the temp_dir logical volume ?&lt;BR /&gt;&lt;BR /&gt;Maybe a "vgreduce -f vg_misc" could help...&lt;BR /&gt;  Massimo</description>
      <pubDate>Wed, 06 Aug 2003 11:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042662#M134655</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-06T11:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042663#M134656</link>
      <description>LVdisplay outputs the following.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Name                     /dev/vg_misc/temp_dir&lt;BR /&gt;VG Name                     /dev/vg_misc&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            0               &lt;BR /&gt;Current LE                  0         &lt;BR /&gt;Allocated PE                0           &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  non-strict                &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;&lt;BR /&gt;So it does exist. It is just 0 size. Also sam does not remove the logical volume.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Aug 2003 11:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042663#M134656</guid>
      <dc:creator>Walter Goncalves</dc:creator>
      <dc:date>2003-08-06T11:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042664#M134657</link>
      <description>Yes, temp_dir will exist, but I doubt that 8.1.6 will anymore.  The fact that you had the same minor numbers for temp_dir and 8.1.6, chances are that your 8.1.6 LV got clobbered in the LVM config and that's why it doesn't find it anymore.</description>
      <pubDate>Wed, 06 Aug 2003 11:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042664#M134657</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-08-06T11:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042665#M134658</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If LVM reported the logical volume was non existant, why not just remove the device fles from /dev/vg_misc manually.  After all the logical volume doesn't exist.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 06 Aug 2003 11:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042665#M134658</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-06T11:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042666#M134659</link>
      <description />
      <pubDate>Wed, 06 Aug 2003 11:45:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042666#M134659</guid>
      <dc:creator>Walter Goncalves</dc:creator>
      <dc:date>2003-08-06T11:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot remove logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042667#M134660</link>
      <description>Hi Walther,&lt;BR /&gt;&lt;BR /&gt;1)unmount all filesystem from that volumegroup.&lt;BR /&gt;2) deactivate the volumegroup vgchange -a n /dev/vg_misc&lt;BR /&gt;3) export the volumegroup vgexport /dev/vg_misc&lt;BR /&gt;4) mkdir /dev/vg_misc&lt;BR /&gt;5) mknod /dev/vg_misc/group c 64 0x##0000&lt;BR /&gt;## = highest number +1 (ll /dev/*/group)&lt;BR /&gt;6) vgimport /dev/vg_misc &amp;lt; all discs belonging to that vg &amp;gt;&lt;BR /&gt;7) ll /dev/vg_misc/*&lt;BR /&gt;now you see all lvols in that vg and we have a clean state. If you want you can now rename the lvols ( ie: lvol1/rlvol1 --&amp;gt; 8.1.6/r8.1.6 if you are sure the first lvol is that oracle lvol)&lt;BR /&gt;8) activate the volumegroup vgchange -a y /dev/vg_misc&lt;BR /&gt;9) remove now your lvol what you not need with lvremove&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;   Roland&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Aug 2003 11:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-remove-logical-volume/m-p/3042667#M134660</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-08-06T11:46:20Z</dc:date>
    </item>
  </channel>
</rss>

