<?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: How to release PE's not assigned to any LV in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043092#M588680</link>
    <description>It seems my lvol9 device file is present and accounted for (and reflects the date when I first created it, previously the space was unallocated to any LV):&lt;BR /&gt;&lt;BR /&gt;root:/ ll /dev/vg01:&lt;BR /&gt;&lt;BR /&gt;total 0&lt;BR /&gt;crw-rw-rw-   1 root       sys         64 0x010000 Aug 13  2004 group&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010001 Jun 11 18:28 lvol1&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010002 Aug 13  2004 lvol2&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010003 Aug 13  2004 lvol3&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010004 Aug 13  2004 lvol4&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010005 Aug 13  2004 lvol5&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010006 Aug 13  2004 lvol6&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010007 Aug 13  2004 lvol7&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010008 Aug 13  2004 lvol8&lt;BR /&gt;br--r-----   1 root       sys         64 0x01000a Sep 26  2006 lvol9&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010001 Aug 13  2004 rlvol1&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010002 Aug 13  2004 rlvol2&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010003 Aug 13  2004 rlvol3&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010004 Aug 13  2004 rlvol4&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010005 Aug 13  2004 rlvol5&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010006 Aug 13  2004 rlvol6&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010007 Aug 13  2004 rlvol7&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010008 Aug 13  2004 rlvol8&lt;BR /&gt;cr--r-----   1 root       sys         64 0x01000a Sep 26  2006 rlvol9</description>
    <pubDate>Wed, 03 Sep 2008 15:35:23 GMT</pubDate>
    <dc:creator>Carl Houseman</dc:creator>
    <dc:date>2008-09-03T15:35:23Z</dc:date>
    <item>
      <title>How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043082#M588670</link>
      <description>&lt;!--!*#--&gt;I've got a PV with 4000 PE's not assigned to any LV, but not available either.  If I pvdisplay -v I get this for the PE's at the end:&lt;BR /&gt;&lt;BR /&gt;   03812 current  ???                00000 &lt;BR /&gt;   03813 current  ???                00001 &lt;BR /&gt;   03814 current  ???                00002 &lt;BR /&gt;   03815 current  ???                00003 &lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;This PV was in this condition before my time so I don't know what might have caused it.&lt;BR /&gt;&lt;BR /&gt;How can I release these PE's so they can be incorporated into a LV?  If my only choice to blow away the PV and re-create?&lt;BR /&gt;&lt;BR /&gt;I did find another thread discussing this problem (&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1064012)" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1064012)&lt;/A&gt; but the only potentially helpful answer was a link to a thread in the Europe itrc site which isn't available in the America/Asias itrc site.</description>
      <pubDate>Sun, 29 Apr 2007 22:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043082#M588670</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2007-04-29T22:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043083#M588671</link>
      <description>&lt;!--!*#--&gt;Hi Carl,&lt;BR /&gt;&lt;BR /&gt;       I tried that EU link, but it says the requested doc is not found. Could be my ID is not previledged enough to read it. Anyway,&lt;BR /&gt;&lt;BR /&gt;please run "pvdisplay -v /dev/dsk/c#t#d# | more",.... you need to observe the following part of the output&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&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/vg00/lvol1    30        30        &lt;BR /&gt;   /dev/vg00/lvol2    128       128       &lt;BR /&gt;   /dev/vg00/lvol3    375       375       &lt;BR /&gt;   /dev/vg00/lvol4    50        50        &lt;BR /&gt;   /dev/vg00/lvol5    768       768       &lt;BR /&gt;   /dev/vg00/lvol6    75        75        &lt;BR /&gt;   /dev/vg00/lvol7    200       200       &lt;BR /&gt;   /dev/vg00/lvol8    319       319       &lt;BR /&gt;   /dev/vg00/lvol9    250       250       &lt;BR /&gt;   /dev/vg00/lvol10   250       250       &lt;BR /&gt;   /dev/vg00/lvol11   1750      1750      &lt;BR /&gt;&lt;BR /&gt;   --- Physical extents ---&lt;BR /&gt;   PE    Status   LV                 LE    &lt;BR /&gt;   00000 current  /dev/vg00/lvol1    00000 &lt;BR /&gt;   00001 current  /dev/vg00/lvol1    00001 &lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE: notice the "Distribution of physical volume" part. If you do not find any valid LV entry in this section and also after you can cross check by running vgdisplay -v on the concerned VG and make sure no LV's are in-consistent state. If not, then feel free to do the following..&lt;BR /&gt;&lt;BR /&gt;vgreduce vg## /dev/dsk/c#t#d#&lt;BR /&gt;vgextend vg## /dev/dsk/c#t#d#&lt;BR /&gt;&lt;BR /&gt;...I think this should solve your problem.&lt;BR /&gt;&lt;BR /&gt;Senthil</description>
      <pubDate>Sun, 29 Apr 2007 23:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043083#M588671</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2007-04-29T23:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043084#M588672</link>
      <description>Hi Carl,&lt;BR /&gt;&lt;BR /&gt;     On a second thoought, it seems you don't have this state for the entire list of PE in that PV, do you?...&lt;BR /&gt;&lt;BR /&gt;Why not try, &lt;BR /&gt;&lt;BR /&gt;vgscan -pv&lt;BR /&gt;vgscan -a&lt;BR /&gt;&lt;BR /&gt;May be it might sync the data in VGDA's and PVRA's with the lvmtab file. Its worth a try, though not sure it might fix it or not; before doing anything drastic.&lt;BR /&gt;&lt;BR /&gt;Senthil</description>
      <pubDate>Sun, 29 Apr 2007 23:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043084#M588672</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2007-04-29T23:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043085#M588673</link>
      <description>I've got a PV with 4000 PE's not assigned to any LV----- it say's that the physical volume is not used at all.&lt;BR /&gt;&lt;BR /&gt;better create a new pv in that pvcreate -f /dev/rdsk/C#t#t# and create volume group and logical volume's.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Apr 2007 23:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043085#M588673</guid>
      <dc:creator>Jollyjet</dc:creator>
      <dc:date>2007-04-29T23:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043086#M588674</link>
      <description>Locate the Vg/ LV which contains this disk, execute vgdisplay and If you find difference between active and current PV that means this vg contains the disk.&lt;BR /&gt;then execute the lvdisplay of lvs to find out which LV is showing ??? for a mirrored disk ( idealy it should show the disk name). Once this is done follow the below mentioned procedure.&lt;BR /&gt;&lt;BR /&gt;Execute the following commands for the affected LV:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vgxx/&lt;LVNAME&gt;&lt;BR /&gt;lvdisplay -v -k /dev/vgxx/&lt;LVNAME&gt;&lt;BR /&gt;&lt;BR /&gt;Then compare the outputs.. you will get a key value of the disk for which it is showing ???.. then you can use the following command to remove the disk from the lv &lt;BR /&gt;&lt;BR /&gt;lvreduce -k -m 0 /dev/vgxx/&lt;LVNAME&gt; &lt;KEY value=""&gt;&lt;BR /&gt;&lt;BR /&gt;disk is showing as ??? because it is failed or missing so this the only way out to remove the disk from lv/vg... once this is done execute the following command.&lt;BR /&gt;&lt;BR /&gt;vgreduce -f &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;This will remove all the disk which are not present in /etc/lvmtab for this Vg.. once lv is reduced..&lt;BR /&gt;&lt;BR /&gt;-k This option should be used only in the&lt;BR /&gt;special instance when you want to reduce a&lt;BR /&gt;mirrored logical volume on a physical volume&lt;BR /&gt;that is missing or has failed.&lt;BR /&gt;&lt;BR /&gt;The vgreduce command with -f option removes all missing physical volume from the volume group.&lt;/VGNAME&gt;&lt;/KEY&gt;&lt;/LVNAME&gt;&lt;/LVNAME&gt;&lt;/LVNAME&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043086#M588674</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-04-30T05:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043087#M588675</link>
      <description>&lt;!--!*#--&gt;Hi all, I'm just coming back to this as it has now become an important problem to solve. :)&lt;BR /&gt;&lt;BR /&gt;Also, I kind of gave up fixing it the last time because the responses here had no clear agreement as to the fix, and I am very concerned that I "first do no harm" in attempting the fix.&lt;BR /&gt;&lt;BR /&gt;Regarding the lvdisplay -v and lvdisplay -v -k, the lv which isn't mirrored to the second disk doesn't show up as having PE's on the second disk.  For example, in a normal mirrored lv, I get this:&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t6d0    1000      1000&lt;BR /&gt;   /dev/dsk/c3t6d0    1000      1000&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2&lt;BR /&gt;   00000      0             02812 current       1             02812 current&lt;BR /&gt;   00001      0             02813 current       1             02813 current&lt;BR /&gt;&lt;BR /&gt;For the unmirrored lv I get just this:&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t6d0    528       528&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1&lt;BR /&gt;   00000      1             03812 current&lt;BR /&gt;   00001      1             03813 current&lt;BR /&gt;&lt;BR /&gt;Regarding pvdisplay -v for each pv, the differences are:&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/lvol1    50        50&lt;BR /&gt;   /dev/vg01/lvol2    512       512&lt;BR /&gt;   /dev/vg01/lvol3    50        50&lt;BR /&gt;   /dev/vg01/lvol4    1000      1000&lt;BR /&gt;   /dev/vg01/lvol5    200       200&lt;BR /&gt;   /dev/vg01/lvol6    500       500&lt;BR /&gt;   /dev/vg01/lvol7    500       500&lt;BR /&gt;   /dev/vg01/lvol8    1000      1000&lt;BR /&gt;   /dev/vg01/lvol9    528       528&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;   --- Distribution of physical volume ---&lt;BR /&gt;   LV Name            LE of LV  PE for LV&lt;BR /&gt;   /dev/vg01/lvol1    50        50&lt;BR /&gt;   /dev/vg01/lvol2    512       512&lt;BR /&gt;   /dev/vg01/lvol3    50        50&lt;BR /&gt;   /dev/vg01/lvol4    1000      1000&lt;BR /&gt;   /dev/vg01/lvol5    200       200&lt;BR /&gt;   /dev/vg01/lvol6    500       500&lt;BR /&gt;   /dev/vg01/lvol7    500       500&lt;BR /&gt;   /dev/vg01/lvol8    1000      1000&lt;BR /&gt;&lt;BR /&gt;All of the lv's show "available/syncd" in vgdisplay -v.  Here's the end of that display:&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol8&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            8000&lt;BR /&gt;   Current LE                  1000&lt;BR /&gt;   Allocated PE                2000&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol9&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            4224&lt;BR /&gt;   Current LE                  528&lt;BR /&gt;   Allocated PE                528&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c0t6d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    4340&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c3t6d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    4340&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So it looks like I can try either:&lt;BR /&gt;&lt;BR /&gt;vgreduce vg01 /dev/dsk/c3t6d0&lt;BR /&gt;&lt;BR /&gt;   or&lt;BR /&gt;&lt;BR /&gt;vgreduce -f vg01&lt;BR /&gt;&lt;BR /&gt;and either should have the same results, wouldn't you agree?&lt;BR /&gt;&lt;BR /&gt;Final thing, I want to be absolutely sure that either vgreduce command above will not remove anything in use or otherwise damage anything.  Everyone in agreement, please say "aye".</description>
      <pubDate>Wed, 03 Sep 2008 13:50:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043087#M588675</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2008-09-03T13:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043088#M588676</link>
      <description>Look at this:&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/lvol1    50        50&lt;BR /&gt;   /dev/vg01/lvol2    512       512&lt;BR /&gt;   /dev/vg01/lvol3    50        50&lt;BR /&gt;   /dev/vg01/lvol4    1000      1000&lt;BR /&gt;   /dev/vg01/lvol5    200       200&lt;BR /&gt;   /dev/vg01/lvol6    500       500&lt;BR /&gt;   /dev/vg01/lvol7    500       500&lt;BR /&gt;   /dev/vg01/lvol8    1000      1000&lt;BR /&gt;   /dev/vg01/lvol9    528       528&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;   --- Distribution of physical volume ---&lt;BR /&gt;   LV Name            LE of LV  PE for LV&lt;BR /&gt;   /dev/vg01/lvol1    50        50&lt;BR /&gt;   /dev/vg01/lvol2    512       512&lt;BR /&gt;   /dev/vg01/lvol3    50        50&lt;BR /&gt;   /dev/vg01/lvol4    1000      1000&lt;BR /&gt;   /dev/vg01/lvol5    200       200&lt;BR /&gt;   /dev/vg01/lvol6    500       500&lt;BR /&gt;   /dev/vg01/lvol7    500       500&lt;BR /&gt;   /dev/vg01/lvol8    1000      1000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The first PV has 4340 PEs for lvol1 ... 8 + lvol9 ; &lt;BR /&gt;the second has 3812 PEs for lvol1 ..8.&lt;BR /&gt;&lt;BR /&gt;But both reporting 4340 PEs in use!&lt;BR /&gt;&lt;BR /&gt;How about lvol9?&lt;BR /&gt;&lt;BR /&gt;What does lvdisplay reports about this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Your vgreduce command will fail, because there are still valid PEs on this disk.</description>
      <pubDate>Wed, 03 Sep 2008 14:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043088#M588676</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-09-03T14:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043089#M588677</link>
      <description>lvol9 exists only on the one pv... lvdisplay -v /dev/vg01/lvol9:&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol9&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            4224&lt;BR /&gt;Current LE                  528&lt;BR /&gt;Allocated PE                528&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t6d0    528       528&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1&lt;BR /&gt;   00000 /dev/dsk/c0t6d0    03812 current&lt;BR /&gt;   00001 /dev/dsk/c0t6d0    03813 current&lt;BR /&gt;   00002 /dev/dsk/c0t6d0    03814 current&lt;BR /&gt;   00003 /dev/dsk/c0t6d0    03815 current&lt;BR /&gt;   00004 /dev/dsk/c0t6d0    03816 current&lt;BR /&gt;...&lt;BR /&gt;   00524 /dev/dsk/c0t6d0    04336 current&lt;BR /&gt;   00525 /dev/dsk/c0t6d0    04337 current&lt;BR /&gt;   00526 /dev/dsk/c0t6d0    04338 current&lt;BR /&gt;   00527 /dev/dsk/c0t6d0    04339 current</description>
      <pubDate>Wed, 03 Sep 2008 14:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043089#M588677</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2008-09-03T14:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043090#M588678</link>
      <description>I can imagine there is another LVOL on this disk, but someone removed the lvol device file.&lt;BR /&gt;&lt;BR /&gt;Please post&lt;BR /&gt;&lt;BR /&gt;# ll /dev/vg00</description>
      <pubDate>Wed, 03 Sep 2008 15:16:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043090#M588678</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-09-03T15:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043091#M588679</link>
      <description>Look at my test on my test system:&lt;BR /&gt;&lt;BR /&gt;The "normal" output of pvdisplay:&lt;BR /&gt;======================================&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/dsk/c0t6d0&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      9 &amp;lt;&amp;lt;===&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    2168&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Allocated PE                2168&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&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/vg00/lvol1    75        75&lt;BR /&gt;   /dev/vg00/lvol2    96        96&lt;BR /&gt;   /dev/vg00/lvol3    50        50&lt;BR /&gt;   /dev/vg00/lvol4    50        50&lt;BR /&gt;   /dev/vg00/lvol5    125       125  &amp;lt;&amp;lt;===&lt;BR /&gt;   /dev/vg00/lvol6    853       853&lt;BR /&gt;   /dev/vg00/lvol7    558       558&lt;BR /&gt;   /dev/vg00/lvol8    311       311&lt;BR /&gt;   /dev/vg00/lvol9    50        50&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now I removed the file /dev/vg00/lvol5 (NEVER DO THIS!):&lt;BR /&gt;&lt;BR /&gt;pvdisplay now shows:&lt;BR /&gt;======================================&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/dsk/c0t6d0&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      8 &amp;lt;&amp;lt;===&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    2168&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Allocated PE                2168&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&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/vg00/lvol1    75        75&lt;BR /&gt;   /dev/vg00/lvol2    96        96&lt;BR /&gt;   /dev/vg00/lvol3    50        50&lt;BR /&gt;   /dev/vg00/lvol4    50        50&lt;BR /&gt;   /dev/vg00/lvol6    853       853&lt;BR /&gt;   /dev/vg00/lvol7    558       558&lt;BR /&gt;   /dev/vg00/lvol8    311       311&lt;BR /&gt;   /dev/vg00/lvol9    50        50&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;   01985 current  ???                00047&lt;BR /&gt;   01986 current  ???                00048&lt;BR /&gt;   01987 current  ???                00049&lt;BR /&gt;   01988 current  ???                00050&lt;BR /&gt;   01989 current  ???                00051&lt;BR /&gt;   01990 current  ???                00052&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note the difference:&lt;BR /&gt;&lt;BR /&gt;Cur LV                      9&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    2168&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;Cur LV                      8 &amp;lt;&amp;lt;====&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    2168&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now it looks exactly like yours!&lt;BR /&gt;&lt;BR /&gt;If I reverse my changes, everything goes back to normal.</description>
      <pubDate>Wed, 03 Sep 2008 15:24:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043091#M588679</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-09-03T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043092#M588680</link>
      <description>It seems my lvol9 device file is present and accounted for (and reflects the date when I first created it, previously the space was unallocated to any LV):&lt;BR /&gt;&lt;BR /&gt;root:/ ll /dev/vg01:&lt;BR /&gt;&lt;BR /&gt;total 0&lt;BR /&gt;crw-rw-rw-   1 root       sys         64 0x010000 Aug 13  2004 group&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010001 Jun 11 18:28 lvol1&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010002 Aug 13  2004 lvol2&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010003 Aug 13  2004 lvol3&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010004 Aug 13  2004 lvol4&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010005 Aug 13  2004 lvol5&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010006 Aug 13  2004 lvol6&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010007 Aug 13  2004 lvol7&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010008 Aug 13  2004 lvol8&lt;BR /&gt;br--r-----   1 root       sys         64 0x01000a Sep 26  2006 lvol9&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010001 Aug 13  2004 rlvol1&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010002 Aug 13  2004 rlvol2&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010003 Aug 13  2004 rlvol3&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010004 Aug 13  2004 rlvol4&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010005 Aug 13  2004 rlvol5&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010006 Aug 13  2004 rlvol6&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010007 Aug 13  2004 rlvol7&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010008 Aug 13  2004 rlvol8&lt;BR /&gt;cr--r-----   1 root       sys         64 0x01000a Sep 26  2006 rlvol9</description>
      <pubDate>Wed, 03 Sep 2008 15:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043092#M588680</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2008-09-03T15:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043093#M588681</link>
      <description>Look:&lt;BR /&gt;&lt;BR /&gt;brw-r----- 1 root sys 64 0x010008 Aug 13 2004 lvol8&lt;BR /&gt;br--r----- 1 root sys 64 0x01000a Sep 26 2006 lvol9&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvol8 ==&amp;gt; 0x010008&lt;BR /&gt;&lt;BR /&gt;lvol9 ==&amp;gt; 0x01000a&lt;BR /&gt;&lt;BR /&gt;Was there another lvol with 0x010009 in the past? Likely.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;One of the most biggest problems are created if someone removing LVOLs or VG by only deleting the device files ... maybe this happens here too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A very clean way to solve this issue would be to remove all the mirrors from the disk in question, remove disk from VG, pvcreate the disk and start over with mirroring.</description>
      <pubDate>Wed, 03 Sep 2008 15:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043093#M588681</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-09-03T15:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043094#M588682</link>
      <description>Hoping to find a less disruptive solution than backing out all the mirrors and destroying/re-creating the PV.</description>
      <pubDate>Wed, 03 Sep 2008 15:46:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043094#M588682</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2008-09-03T15:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043095#M588683</link>
      <description>There is definitively another LVOL on this disk. You may consider to recover the related device files ... and see what happens with this "new" lvol.&lt;BR /&gt;&lt;BR /&gt;Command would be&lt;BR /&gt;&lt;BR /&gt;mknod /dev/vg01/lvol10 b 64 0x010009&lt;BR /&gt;mknod /dev/vg01/rlvol10 c 64 0x010009</description>
      <pubDate>Wed, 03 Sep 2008 16:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043095#M588683</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-09-03T16:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to release PE's not assigned to any LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043096#M588684</link>
      <description>Yep, I think you go to the heart of the matter... originally there was an lvol9 whose device files 0x010009 were deleted.  I didn't know about that and I had made an lvol9 which came in at 0x01000a.&lt;BR /&gt;&lt;BR /&gt;So the fastest solution in 20/20 hindsight would have been to delete the 0x01000a lvol9 via normal LV removal method, and then re-create the devices files as you've indicated for 0x010009.   Since the space is now free on the volume which formerly had the 0x01000a version of lvol9, it can now be extended and mirrored.&lt;BR /&gt;&lt;BR /&gt;BTW I had HP working on this too, and the first thing they told me was to delete the device files for (0x01000a) lvol9, and then they had me create the ones at 0x010009.  This restored the original lvol9 but moved the ??? allocated space to the other drive!  So between the two of you I now know more about LV device files than I ever wanted....</description>
      <pubDate>Wed, 03 Sep 2008 19:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-release-pe-s-not-assigned-to-any-lv/m-p/5043096#M588684</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2008-09-03T19:32:26Z</dc:date>
    </item>
  </channel>
</rss>

