<?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: Delete  a Volume Group without disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5762899#M481391</link>
    <description>&lt;P&gt;If 'vgexport /dev/vgtmp' does not work, then you can just remove the /dev/vgtmp directory structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# cd /dev&lt;/P&gt;&lt;P&gt;# rm -r vgtmp&lt;/P&gt;</description>
    <pubDate>Tue, 14 Aug 2012 01:23:29 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2012-08-14T01:23:29Z</dc:date>
    <item>
      <title>Delete  a Volume Group without disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5762697#M481387</link>
      <description>&lt;P&gt;Hi How can I delete&amp;nbsp;Volume Group that has no disk, when I run a "vgscan -a" i get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;server:/# vgscan -a&lt;/P&gt;&lt;P&gt;vgscan: The physical volume "/dev/dsk/c1t0d0s2" is already recorded in the "/etc/lvmtab" file.&lt;/P&gt;&lt;P&gt;The Volume Group /dev/vgtmp was not matched with any Physical Volumes.&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c5t0d2":&lt;BR /&gt;Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c7t0d2":&lt;BR /&gt;Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t0d2":&lt;BR /&gt;Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c3t0d2":&lt;BR /&gt;Invalid argument&lt;/P&gt;&lt;P&gt;=====================&lt;/P&gt;&lt;P&gt;So the problem is with this VG: "&lt;SPAN&gt;/dev/vgtmp", and with this PV:&amp;nbsp;&lt;SPAN&gt;/dev/dsk/c5t0d2,&amp;nbsp;&lt;SPAN&gt;dev/dsk/c7t0d2,&lt;SPAN&gt;/dev/dsk/c0t0d2,&lt;SPAN&gt;/dev/dsk/c3t0d2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now if I execute an ioscan i Get this NO_HW:&lt;/P&gt;&lt;P&gt;server:/# ioscan -fnC disk | grep -i no_hw&lt;/P&gt;&lt;P&gt;disk 5 0/4/0/0/0/0.3.0.0.0.0.2 sdisk NO_HW DEVICE HP HSV200&lt;BR /&gt;/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2&lt;BR /&gt;disk 6 0/4/0/0/0/0.3.1.0.0.0.2 sdisk NO_HW DEVICE HP HSV200&lt;BR /&gt;/dev/dsk/c7t0d2 /dev/rdsk/c7t0d2&lt;BR /&gt;disk 7 0/4/0/0/0/1.4.0.0.0.0.2 sdisk NO_HW DEVICE HP HSV200&lt;BR /&gt;/dev/dsk/c0t0d2 /dev/rdsk/c0t0d2&lt;BR /&gt;disk 8 0/4/0/0/0/1.4.1.0.0.0.2 sdisk NO_HW DEVICE HP HSV200&lt;BR /&gt;/dev/dsk/c3t0d2 /dev/rdsk/c3t0d2&lt;/P&gt;&lt;P&gt;=====ioscan -m dsf&lt;/P&gt;&lt;P&gt;/dev/rdisk/disk211 /dev/rdsk/c5t0d2&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/rdsk/c7t0d2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/rdsk/c0t0d2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/rdsk/c3t0d2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with these:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;server:/# vgchange -a n /dev/vgtmp&lt;BR /&gt;vgchange: Volume group "/dev/vgtmp" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgchange: Volume group "/dev/vgtmp" does not exist in the "/etc/lvmtab_p" file.&lt;BR /&gt;server:/# vgremove /dev/vgtmp&lt;BR /&gt;vgremove: Volume group "/dev/vgtmp" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgremove: Volume group "/dev/vgtmp" does not exist in the "/etc/lvmtab_p" file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but dont work because the VG are not in "/&lt;SPAN&gt;etc/lvmtab"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2012 21:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5762697#M481387</guid>
      <dc:creator>JuanCBarrios</dc:creator>
      <dc:date>2012-08-13T21:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Delete  a Volume Group without disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5762867#M481390</link>
      <description>&lt;P&gt;Try vgexport rather than vgremove.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2012 01:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5762867#M481390</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2012-08-14T01:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Delete  a Volume Group without disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5762899#M481391</link>
      <description>&lt;P&gt;If 'vgexport /dev/vgtmp' does not work, then you can just remove the /dev/vgtmp directory structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# cd /dev&lt;/P&gt;&lt;P&gt;# rm -r vgtmp&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2012 01:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5762899#M481391</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2012-08-14T01:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Delete  a Volume Group without disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5763819#M481396</link>
      <description>&lt;P&gt;Hi, I execute "vgexport /dev/vgtmp" but didn't work , then I did "&lt;SPAN&gt;&amp;nbsp;rm -r /dev/&lt;SPAN&gt;vgtmp" and execute the vgscan -v &amp;nbsp;and the message "The Volume Group /dev/vgtmp was not matched with any Physical Volumes." has disappear, but the messages:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;Couldn't stat physical volume "/dev/dsk/c5t0d2".etc..&amp;nbsp;still showed..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I executed a&amp;nbsp;rmsf -H &amp;lt;hw_path&amp;gt; on each disk that showed "NO_HW" in the ioscan -fnC disk:&lt;/P&gt;&lt;P&gt;e.g:&lt;/P&gt;&lt;P&gt;server:/# rmsf -H 0/4/0/0/0/0.3.0.0.0.0.2&lt;BR /&gt;server:/# rmsf -H 0/4/0/0/0/0.3.1.0.0.0.2&lt;BR /&gt;server:/# rmsf -H 0/4/0/0/0/1.4.0.0.0.0.2&lt;BR /&gt;server:/# rmsf -H 0/4/0/0/0/1.4.1.0.0.0.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and finally execute the "vgscan -v and everything looks ok now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;srver/# vgscan -v&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c1t0d0s2" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;/dev/vgoracle&lt;BR /&gt;/dev/disk/disk115&lt;BR /&gt;/dev/vgprdap01&lt;BR /&gt;/dev/disk/disk116&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t0d0s2&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;BR /&gt;server:/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you guys for you great help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Juan Carlos Barrios&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-a-volume-group-without-disk/m-p/5763819#M481396</guid>
      <dc:creator>JuanCBarrios</dc:creator>
      <dc:date>2012-08-14T14:26:34Z</dc:date>
    </item>
  </channel>
</rss>

