<?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 Help Disk drive failure and pvremove in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-disk-drive-failure-and-pvremove/m-p/2598274#M33756</link>
    <description>I was trying to create a new vg on an unused drive, this failed with a block error when the creation of the lvol was attempted and the vg was marked as unused. I have replaced the drive with a new one. I now wish to create the vg on the new drive. When I try to do this pvcreate tells me that there is an entry in lvmtab for this vg already and fails; which I can see as being resonable as it created the vg for the faulty drive but not the lvol. I have tried pvremove and this reports it cant find the device /dev/dsk/cxtxdx. If I do a vg remove I get vg is not activated and i cant activate it. What I want to know is how can I remove the entries for the previous drive from the system in order to create the vg. I really dont want to have to put the old drive back in the system in order to remove its entries, is there a way to do this. I have learned if this were to happen again I should remove the entries before replaceing the drive. Aint hind sight fun!!!</description>
    <pubDate>Sat, 20 Oct 2001 15:53:51 GMT</pubDate>
    <dc:creator>Neil Harris</dc:creator>
    <dc:date>2001-10-20T15:53:51Z</dc:date>
    <item>
      <title>Help Disk drive failure and pvremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-disk-drive-failure-and-pvremove/m-p/2598274#M33756</link>
      <description>I was trying to create a new vg on an unused drive, this failed with a block error when the creation of the lvol was attempted and the vg was marked as unused. I have replaced the drive with a new one. I now wish to create the vg on the new drive. When I try to do this pvcreate tells me that there is an entry in lvmtab for this vg already and fails; which I can see as being resonable as it created the vg for the faulty drive but not the lvol. I have tried pvremove and this reports it cant find the device /dev/dsk/cxtxdx. If I do a vg remove I get vg is not activated and i cant activate it. What I want to know is how can I remove the entries for the previous drive from the system in order to create the vg. I really dont want to have to put the old drive back in the system in order to remove its entries, is there a way to do this. I have learned if this were to happen again I should remove the entries before replaceing the drive. Aint hind sight fun!!!</description>
      <pubDate>Sat, 20 Oct 2001 15:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-disk-drive-failure-and-pvremove/m-p/2598274#M33756</guid>
      <dc:creator>Neil Harris</dc:creator>
      <dc:date>2001-10-20T15:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help Disk drive failure and pvremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-disk-drive-failure-and-pvremove/m-p/2598275#M33757</link>
      <description>Neil,&lt;BR /&gt;&lt;BR /&gt;Do a vgexport on the new vg to get rid of it from lvmtab.&lt;BR /&gt;&lt;BR /&gt;#vgexport new_vg_name&lt;BR /&gt;&lt;BR /&gt;Once this is done, you do a pvcreate -f new_disk and then create a vg following the usual procedure.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 20 Oct 2001 16:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-disk-drive-failure-and-pvremove/m-p/2598275#M33757</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-20T16:08:27Z</dc:date>
    </item>
  </channel>
</rss>

