<?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: Deleting a volume group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456104#M657377</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/cXtXdX&lt;BR /&gt;&lt;BR /&gt;just make sure you have the right disk!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;</description>
    <pubDate>Fri, 20 Oct 2000 12:48:41 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2000-10-20T12:48:41Z</dc:date>
    <item>
      <title>Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456103#M657376</link>
      <description>I was trying to get rid of a volume group on my system and I did it completely wrong I think.  I did a vgexport /dev/vgXX...I didn't use the -m to export the configuration information.  When I attempt to do a pvcreate it still says that the physical disk is part of that volume group.  How do I completely disassociate that volume group from the physical disk so that I can do a pvcreate?  Or is there any easier way around this?  I basically just want to reformat this disk and recreate the same volume group on the same disk because the superblock was corrupted.&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 20 Oct 2000 12:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456103#M657376</guid>
      <dc:creator>rewt</dc:creator>
      <dc:date>2000-10-20T12:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456104#M657377</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/cXtXdX&lt;BR /&gt;&lt;BR /&gt;just make sure you have the right disk!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;</description>
      <pubDate>Fri, 20 Oct 2000 12:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456104#M657377</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-10-20T12:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456105#M657378</link>
      <description>Rewt,&lt;BR /&gt;DO a "pvcreate -f &lt;DISK device=""&gt;&lt;BR /&gt;This will force the pvcreate.  If you vgreduce a disk out of a VG, then you don't need the "-f" option of pvcreate, but using a vgexport to "delete" the volume group will require the "-f" option of pvcreate.&lt;/DISK&gt;</description>
      <pubDate>Fri, 20 Oct 2000 12:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456105#M657378</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2000-10-20T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456106#M657379</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if the pvcreate -f ... does not work i do this hack to desytoy lvm informations on the disk:&lt;BR /&gt;prealloc /var/tmp/scratch 2000000&lt;BR /&gt;dd if=/var/tmp/scratch of=/dev/rdsk/c?t?d0 bs=64k&lt;BR /&gt;rm /var/tmp/scratch&lt;BR /&gt;Watch out for the correct devive else you have the risk of destroying other data.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 20 Oct 2000 12:57:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456106#M657379</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-20T12:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456107#M657380</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There's nothing wrong with using vgexport to remove a volume group from the system - it's the quickest way to do it. The only issue is that the disks still know that they are part of a VG (which might be vgimported into a system) and warn you when you attempt to pvcreate them.&lt;BR /&gt;&lt;BR /&gt;As the others have stated, the -f flag to pvcreate overrides the objection.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Fri, 20 Oct 2000 12:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456107#M657380</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-10-20T12:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456108#M657381</link>
      <description>That worked...thanks!</description>
      <pubDate>Fri, 20 Oct 2000 13:01:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456108#M657381</guid>
      <dc:creator>rewt</dc:creator>
      <dc:date>2000-10-20T13:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456109#M657382</link>
      <description>I think mediainit /dev/rdsk/c#t#d# would &lt;BR /&gt;work as well.</description>
      <pubDate>Fri, 20 Oct 2000 17:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456109#M657382</guid>
      <dc:creator>Bryan Dees</dc:creator>
      <dc:date>2000-10-20T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456110#M657383</link>
      <description>One last note. I think you could avoided all of this by using the vgremove command ??&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Oct 2000 20:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-a-volume-group/m-p/2456110#M657383</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2000-10-20T20:25:05Z</dc:date>
    </item>
  </channel>
</rss>

