<?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: Cleaningup unwanted LVM entries in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759590#M643399</link>
    <description>Thanks for all who helped me with suggestions and commands. &lt;BR /&gt;I am glad that the forum is so active and answers were immediate.                                                                &lt;BR /&gt;&lt;BR /&gt;Vgexport /dev/vgtest&lt;BR /&gt;pvcreate -f /dev/rdsk/cxtydz     Works.&lt;BR /&gt;&lt;BR /&gt;Renaming lvmtab and "vgscan -a" also works good.&lt;BR /&gt;&lt;BR /&gt;A "pvcreate -f" without exporting gave me the following error:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c0t8d0&lt;BR /&gt;pvcreate: The physical volume "/dev/dsk/c0t8d0" is already recorded in the "/etc&lt;BR /&gt;/lvmtab" file.                                                    # &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;-GN</description>
    <pubDate>Mon, 08 Jul 2002 20:03:09 GMT</pubDate>
    <dc:creator>GN_1</dc:creator>
    <dc:date>2002-07-08T20:03:09Z</dc:date>
    <item>
      <title>Cleaningup unwanted LVM entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759584#M643393</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have 5 internal harddisks on my D-Class server.  I rebuilt the server with HP-Ux 11.0 on /dev/dsk/c0t5d0.  When I try to add other disks using LVM, SAM tells all other disks have entries in lvmtab that can be activated or imported.  Trying Activate/Import also fails with error messages. I dont want any old data.&lt;BR /&gt;&lt;BR /&gt;It would be great if somebody suggests a way to clear all unwanted LVM config entries so that I can free-up and use the remaining 4 disks.  &lt;BR /&gt;&lt;BR /&gt;for ex.  what are the steps to remove all entries related to VGTEST including logical volumes and config entries. Here please assume tgtest has some errors and we want to get-rid-of it.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-GN</description>
      <pubDate>Mon, 08 Jul 2002 19:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759584#M643393</guid>
      <dc:creator>GN_1</dc:creator>
      <dc:date>2002-07-08T19:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaningup unwanted LVM entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759585#M643394</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The easiest way to cleanup /etc/lvmtab and /etc/lvmpvg is to 'vgxport' the volume group(s) you don't want.&lt;BR /&gt;&lt;BR /&gt;Afterwards, do a 'pvcreate -f' on the physical disk that were part of the volume group(s). This will erase the VGID from the physical disk so that the next time you do a 'pvcreate' you will not be advised that LVM information exists.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 08 Jul 2002 19:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759585#M643394</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-08T19:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaningup unwanted LVM entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759586#M643395</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;First I would rename lvmtab to lvmtab.save and issue the vgscan -a command.&lt;BR /&gt;&lt;BR /&gt;If you really don't want the old data then you could pvcreate -f the old disks and start over.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jul 2002 19:24:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759586#M643395</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-07-08T19:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaningup unwanted LVM entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759587#M643396</link>
      <description>Hi GN,&lt;BR /&gt;&lt;BR /&gt; Just run&lt;BR /&gt;#vgexport /dev/VGTEST&lt;BR /&gt;This will remove all VG info from the OS.&lt;BR /&gt;&lt;BR /&gt;Then when you want to reinitialize them run&lt;BR /&gt;pvcreate -f /dev/rdsk/cxtydz &lt;BR /&gt;This will *force* the reinit &amp;amp; ignore previous LVM info on the disks.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 08 Jul 2002 19:26:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759587#M643396</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-07-08T19:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaningup unwanted LVM entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759588#M643397</link>
      <description>You do not need to do any thing. Just before creating the VG do a pvcreate -f on the disk. It will allow you to create the new VG on the old disk.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Mon, 08 Jul 2002 19:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759588#M643397</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-07-08T19:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaningup unwanted LVM entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759589#M643398</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have a disk which was configured on an older system, but you don't want to recover the data on this newer system, do a pvcreate on the disk with -f option, this will pvcreate forcibly on the disk in questions. Then you can go ahead and create VG / LV's for use on the new system.&lt;BR /&gt;&lt;BR /&gt;pvcreate -f /dev/rdsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;proceed with VG / LV creation.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jul 2002 19:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759589#M643398</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-07-08T19:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaningup unwanted LVM entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759590#M643399</link>
      <description>Thanks for all who helped me with suggestions and commands. &lt;BR /&gt;I am glad that the forum is so active and answers were immediate.                                                                &lt;BR /&gt;&lt;BR /&gt;Vgexport /dev/vgtest&lt;BR /&gt;pvcreate -f /dev/rdsk/cxtydz     Works.&lt;BR /&gt;&lt;BR /&gt;Renaming lvmtab and "vgscan -a" also works good.&lt;BR /&gt;&lt;BR /&gt;A "pvcreate -f" without exporting gave me the following error:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c0t8d0&lt;BR /&gt;pvcreate: The physical volume "/dev/dsk/c0t8d0" is already recorded in the "/etc&lt;BR /&gt;/lvmtab" file.                                                    # &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;-GN</description>
      <pubDate>Mon, 08 Jul 2002 20:03:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaningup-unwanted-lvm-entries/m-p/2759590#M643399</guid>
      <dc:creator>GN_1</dc:creator>
      <dc:date>2002-07-08T20:03:09Z</dc:date>
    </item>
  </channel>
</rss>

