<?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: vgreduce won't work, physical extents in use supposedly in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825966#M637985</link>
    <description>Tom ,&lt;BR /&gt;&lt;BR /&gt;Try running vgreduce -f , while its is powered on .</description>
    <pubDate>Tue, 15 Oct 2002 14:45:34 GMT</pubDate>
    <dc:creator>Ashwani Kashyap</dc:creator>
    <dc:date>2002-10-15T14:45:34Z</dc:date>
    <item>
      <title>vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825954#M637973</link>
      <description>I???m having a problem doing a vgreduce on a LUN.  Here???s what I get:&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vg01 /dev/dsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;vgreduce: Physical volume "/dev/dsk/c0t0d2" could not be removed since some of its&lt;BR /&gt;physical extents are still in use.&lt;BR /&gt;&lt;BR /&gt;Here???s the pvdisplay ???v of /dev/dsk/c0t0d2:&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                      /dev/dsk/c0t0d2&lt;BR /&gt;VG Name                      /dev/vg01&lt;BR /&gt;PV Status                    available&lt;BR /&gt;Allocatable                  yes&lt;BR /&gt;VGDA                         2&lt;BR /&gt;Cur LV                       0&lt;BR /&gt;PE Size (Mbytes)             4&lt;BR /&gt;Total PE                     7226&lt;BR /&gt;Free PE                      6976&lt;BR /&gt;Allocated PE                 250&lt;BR /&gt;Stale PE                     0&lt;BR /&gt;IO Timeout (Seconds)         default&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical extents ---&lt;BR /&gt;   PE   Status   LV                 LE&lt;BR /&gt;   0000 free                        0000&lt;BR /&gt;   0001 free                        0000&lt;BR /&gt;   0002 free                        0000&lt;BR /&gt;   0003 free                        0000&lt;BR /&gt;   0004 free                        0000&lt;BR /&gt;   0005 free                        0000&lt;BR /&gt;   ???????????????????????????.&lt;BR /&gt;&lt;BR /&gt;It looks as if there is 250 PE allocated but yet the physical extents all show as being free.  I checked each of the logical volumes and they do not report using this disk nor does pvdisplay show any logical volumes assigned.  This disk had been previously used and I had mirrored the lvols over to a new array.  Since then, the mirrors were broken on the old array.  This is on HP-UX 10.20&lt;BR /&gt;&lt;BR /&gt;So how would I go about cleaning this up so I can delete this LUN?  Is there a way to delete the physical extents SUPPOSEDLY in use?  This is the first time I couldn???t find a specific answer by doing a search.  I found some close but not quite what I need.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 11:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825954#M637973</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T11:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825955#M637974</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't know how to clean it up, but I would try creating a LV of 250 PE on that disk and see if pvdisplay on that PV reports 250 PE in use or 500 PE in use.  Then, delete the new LV and see what it reports.  Maybe the LVM header for that PV is messed up and creating/deleting an LV on it could clean it up?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 11:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825955#M637974</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-15T11:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825956#M637975</link>
      <description>The same situation happens when you delete the device file from the /dev/vg01 directory. Try to create a device and raw_device file in the /dev/vg01 directory. Then look for the vgdisplay -v /dev/vg01 and pvdisplay . Now you should find the same device. Then remove the logical volume by lvremove.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Tue, 15 Oct 2002 12:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825956#M637975</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-10-15T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825957#M637976</link>
      <description>creating a new lvol of 250 PE just added to the PE allocated for a total of 500.  I then did an lvremove on the newly created lvol and I'm back to where I was.  Thanks for the suggestion though!</description>
      <pubDate>Tue, 15 Oct 2002 12:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825957#M637976</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T12:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825958#M637977</link>
      <description>Ok.  You might try a 'vgcfgrestore' on that PV (if you have a good, recent copy of the lvmconf file for that VG).  If that doesn't work, and you can get some downtime for the VG, you could try a vgexport/vgimport on the whole VG.  &lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 12:54:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825958#M637977</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-15T12:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825959#M637978</link>
      <description>Sandip, all of my device files are there as they should be.&lt;BR /&gt;&lt;BR /&gt;John, all of my old lvmconf files for this VG would include this disk device I'm trying to get rid of.&lt;BR /&gt;&lt;BR /&gt;I just want to be able to vgreduce this device and then delete the LUN.&lt;BR /&gt;&lt;BR /&gt;Any other ideas out there?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 15 Oct 2002 13:11:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825959#M637978</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T13:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825960#M637979</link>
      <description>What about your lvmtab file. Is the disk is over there? If it is still over there, rename the lvmtab file and do a vgscan -av &lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Tue, 15 Oct 2002 13:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825960#M637979</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-10-15T13:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825961#M637980</link>
      <description>I recreated the /etc/lvmtab by renaming the current lvmtab and running vgscan -av but the disk still appears and it shows the same status.</description>
      <pubDate>Tue, 15 Oct 2002 13:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825961#M637980</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T13:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825962#M637981</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;The vgcfgbackup/vgcfgrestore should backup and restore the LVM structures on that disk.  It might be worth a try to see if that cleans it up.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 13:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825962#M637981</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-15T13:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825963#M637982</link>
      <description>DOes this physical volume whic you are trying to remove have multiple links , then remove all the links first and the ndo vgreduce .&lt;BR /&gt;&lt;BR /&gt;Also check if there is an entry for this PV in /etc/lvmpvg . Try removing that entry and then do vgreduce .&lt;BR /&gt;&lt;BR /&gt;Is there a way u can power off this LUN or all the disks in this LUN . If you can do that , then use the -f option with vgreduce to remove that PV completely from the VG . Once its done power them on .&lt;BR /&gt;&lt;BR /&gt;And lastly have you checked for any latest LVM or scsi patches that your system might need .</description>
      <pubDate>Tue, 15 Oct 2002 13:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825963#M637982</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-10-15T13:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825964#M637983</link>
      <description>Ashwani, I tried powering off the LUN and running vgreduce -f /dev/vg01 and this was the result which may give a clue:&lt;BR /&gt;&lt;BR /&gt;vgreduce: Invalid LVMREC on Physical Volume /dev/rdsk/c0t0d2</description>
      <pubDate>Tue, 15 Oct 2002 14:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825964#M637983</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825965#M637984</link>
      <description>Tom ,&lt;BR /&gt;&lt;BR /&gt;So the vgreduce failed again . Usually an invaled LVMREC means that there is a bad header , maybe because of a bad disk . To ensure that a LUN is not bad do this ,&lt;BR /&gt;#dd if=/dev/rdsk/c0t0d2 of=/dev/null bs=1024 count=20&lt;BR /&gt;&lt;BR /&gt;and see if number of record in and out are equal . IF not then you are dealing with a bad disk . In that case replace the disk , run a vgcfgrestore and then vgreduce .&lt;BR /&gt;&lt;BR /&gt;Or just replace it , pvcreate it and then use vgreduce -f .</description>
      <pubDate>Tue, 15 Oct 2002 14:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825965#M637984</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-10-15T14:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825966#M637985</link>
      <description>Tom ,&lt;BR /&gt;&lt;BR /&gt;Try running vgreduce -f , while its is powered on .</description>
      <pubDate>Tue, 15 Oct 2002 14:45:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825966#M637985</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-10-15T14:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825967#M637986</link>
      <description>I tried the dd which came out fine.  I also did the vgredure -f with the array powered on and still no change. :(&lt;BR /&gt;&lt;BR /&gt;The pvdisplay still shows 250 PE allocated as before.</description>
      <pubDate>Tue, 15 Oct 2002 14:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825967#M637986</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825968#M637987</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Since you want to get rid of the disk, how about trying the vgcfgrestore to it just to see if that cleans up the LVM info on it?  Nothing to lose if it doesn't work, right?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 15:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825968#M637987</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-15T15:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825969#M637988</link>
      <description>TOm try this .&lt;BR /&gt;&lt;BR /&gt;vgexport the entire VG into a map file .&lt;BR /&gt;# vgchange -a n /dev/vg01&lt;BR /&gt;# vgexport -m &lt;MAPFILE_NAME&gt; /dev/vg01 .&lt;BR /&gt;This should also remove /dev/vg01 directory .&lt;BR /&gt;&lt;BR /&gt;Recreate /dev/vg01 directory .&lt;BR /&gt;&lt;BR /&gt;#mknod /dev/vg01/group c 64 0xabcdef &lt;BR /&gt;Where abcdef is in hex and unique to your system .&lt;BR /&gt;&lt;BR /&gt;Then vgimport VG01 on to all disks .&lt;BR /&gt;#vgimport -m &lt;MAPFILE_NAME&gt; /dev/vg01 /dev/dsk/c.t.d. /dev/dsk/c.t.d. ( All the PV's in that VG , make a note of it earlier . Use vgdisplay or strings on lvmtab )&lt;BR /&gt;&lt;BR /&gt;vgimport should recreate the damaged headers .&lt;BR /&gt;#vgchnage -a y /dev/vg01 .&lt;BR /&gt;&lt;BR /&gt;Then use vgreduce on that disk .&lt;BR /&gt;&lt;/MAPFILE_NAME&gt;&lt;/MAPFILE_NAME&gt;</description>
      <pubDate>Tue, 15 Oct 2002 15:08:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825969#M637988</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-10-15T15:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825970#M637989</link>
      <description>John, I did try the vgcfgrestore and am left with the same results.&lt;BR /&gt;&lt;BR /&gt;Ashwani, I'll have to schedule downtime to try the vgexport/vgimport method which I was trying to avoid.&lt;BR /&gt;&lt;BR /&gt;Yes, all I need to do is delete this LUN and we will be removing this array entirely from our system.  So it's not an issue that's critical but it would be great to get it cleaned up so we could remove the old array.&lt;BR /&gt;&lt;BR /&gt;I'll award points after I see if anyone else comes up with ideas.&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestions guys and anyone else who may come up with another option!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 15:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825970#M637989</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T15:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825971#M637990</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;What happens if you try to create a new LV using all the PEs on that disk?  If it complains about not having enough PEs, try making the LV with 250 PEs less than the max.  If that works, maybe a pvdisplay -v will at least show you which 250 PEs it thinks are in use as they won't have your new LV assigned to them.&lt;BR /&gt;&lt;BR /&gt;I just love playing with stuff that is broken, especially when it is on somebody elses system!  ;)&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 16:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825971#M637990</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-15T16:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825972#M637991</link>
      <description>Hey John, appreciate the efforts.  Here's what I tried.  I created an LV called TESTlv and used up all the PE on the disk shown below.  Notice the free PE and allocated PE numbers were really out of whack after I did this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c0t0d2&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      1&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    7226&lt;BR /&gt;Free PE                     65286&lt;BR /&gt;Allocated PE                4294909236&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of physical volume ---&lt;BR /&gt;   LV Name              LE of LV  PE for LV&lt;BR /&gt;   /dev/vg01/TESTlv 7226      7226&lt;BR /&gt;&lt;BR /&gt;   --- Physical extents ---&lt;BR /&gt;   PE   Status   LV                   LE&lt;BR /&gt;   0000 current  /dev/vg01/TESTlv 0000&lt;BR /&gt;   0001 current  /dev/vg01/TESTlv 0001&lt;BR /&gt;   0002 current  /dev/vg01/TESTlv 0002&lt;BR /&gt;  ........&lt;BR /&gt;   7222 current  /dev/vg01/TESTlv 7222&lt;BR /&gt;   7223 current  /dev/vg01/TESTlv 7223&lt;BR /&gt;   7224 current  /dev/vg01/TESTlv 7224&lt;BR /&gt;   7225 current  /dev/vg01/TESTlv 7225&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I then removed the logical volume again which brought me back to square one:&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c0t0d2&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      0&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    7226&lt;BR /&gt;Free PE                     6976&lt;BR /&gt;Allocated PE                250&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical extents ---&lt;BR /&gt;   PE   Status   LV                 LE&lt;BR /&gt;   0000 free                        0000&lt;BR /&gt;   0001 free                        0000&lt;BR /&gt;   0002 free                        0000&lt;BR /&gt;   0003 free                        0000&lt;BR /&gt;   0004 free                        0000&lt;BR /&gt;   0005 free                        0000&lt;BR /&gt;&lt;BR /&gt;So the system still thinks there is 250 PE allocated and there isn't.  This is getting to be quite an annoying problem.  Any other ideas John or some else???  I just want to blow this LUN away anyway we can do it.&lt;BR /&gt;&lt;BR /&gt;Thanks again, Tom.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 17:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825972#M637991</guid>
      <dc:creator>Tom Weber_4</dc:creator>
      <dc:date>2002-10-15T17:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't work, physical extents in use supposedly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825973#M637992</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;When you powered off that disk and did the vgreduce -f it gave you the invalid LVMREC error.  Here is what you could try, but I wouldn't recommend it unless you can take a chance on crashing something.  I suggest doing a pvcreate -f on that disk, which should write new LVM structures to it.  Then, power it off and try the vgreduce -f on it.  Maybe the pvcreate will give it a clean LVMREC and make it happy enough for the vgreduce -f to work.&lt;BR /&gt;&lt;BR /&gt;That is a pretty crazy solution, and like I said, I wouldn't try it unless you've got things backed up good and you can chance crashing things.  Otherwise, I guess you have to get some downtime and try the vgexport/vgimport.  Are you logging any errors for that disk in syslog or from EMS?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 17:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-work-physical-extents-in-use-supposedly/m-p/2825973#M637992</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-15T17:56:18Z</dc:date>
    </item>
  </channel>
</rss>

