<?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 Exploiting new space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341946#M565795</link>
    <description>I have an idea I know the answer to this, but if there are any alternatives I would be very grateful.&lt;BR /&gt;&lt;BR /&gt;I have a volume group on an 11.23 RX4640 with a single large LUN presented to it from a NetApps filer (1.6TB.) PE Size was set to 32MB and the max PE is 51204 and the total PE is presently 51197, leaving just one extent unallocated at 32MB&lt;BR /&gt;&lt;BR /&gt;I want to exploit the new space, and using the patched vgmodify, tried to modify max_pe, but hit the snag in that the first extent has to be made free;&lt;BR /&gt;&lt;BR /&gt;vgmodify -e 65535 -r /dev/&lt;VOL group=""&gt;&lt;BR /&gt;&lt;BR /&gt;Current Volume Group settings:&lt;BR /&gt;                                          Max LV      255&lt;BR /&gt;                                          Max PV       16&lt;BR /&gt;                                   Max PE per PV    51204&lt;BR /&gt;                                PE Size (Mbytes)       32&lt;BR /&gt;                              VGRA Size (Kbytes)     6672&lt;BR /&gt;vgmodify: This operation can only be completed if PE number zero on "/dev/rdsk/c11t0d5" is freed&lt;BR /&gt;vgmodify: Physical Extent renumbering (-n) required to accomplish task&lt;BR /&gt;&lt;BR /&gt;Trying pvmove pointed me to check with pvdisplay and at that point I found extent zero (0000) was employed in a contiguous LV;&lt;BR /&gt;&lt;BR /&gt;pvmove /dev/dsk/c11t0d5:0 /dev/dsk/c11t0d5&lt;BR /&gt;The given extent belongs to a contiguous Logical Volume.&lt;BR /&gt;This move is not supported. Complete Logical Volume can be moved using -n flag&lt;BR /&gt;&lt;BR /&gt;The options seem a little thin; I think I can only;&lt;BR /&gt;&lt;BR /&gt;1. Have another LUN presented to the VG and pvmove the LV to it, and then run the vgmodify routine to increase max_pe.&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;2. backup the LV's contents, scrag the VG, rebuild it, with PE size at say 64MB and restore the data to the subsequently built LV.&lt;BR /&gt;&lt;BR /&gt;If there is another getout method I would be very grateful to be told it.&lt;BR /&gt;&lt;BR /&gt;Ta!&lt;BR /&gt;&lt;BR /&gt;Bren&lt;/VOL&gt;</description>
    <pubDate>Wed, 21 Jan 2009 13:40:27 GMT</pubDate>
    <dc:creator>Brendan Newport_2</dc:creator>
    <dc:date>2009-01-21T13:40:27Z</dc:date>
    <item>
      <title>Exploiting new space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341946#M565795</link>
      <description>I have an idea I know the answer to this, but if there are any alternatives I would be very grateful.&lt;BR /&gt;&lt;BR /&gt;I have a volume group on an 11.23 RX4640 with a single large LUN presented to it from a NetApps filer (1.6TB.) PE Size was set to 32MB and the max PE is 51204 and the total PE is presently 51197, leaving just one extent unallocated at 32MB&lt;BR /&gt;&lt;BR /&gt;I want to exploit the new space, and using the patched vgmodify, tried to modify max_pe, but hit the snag in that the first extent has to be made free;&lt;BR /&gt;&lt;BR /&gt;vgmodify -e 65535 -r /dev/&lt;VOL group=""&gt;&lt;BR /&gt;&lt;BR /&gt;Current Volume Group settings:&lt;BR /&gt;                                          Max LV      255&lt;BR /&gt;                                          Max PV       16&lt;BR /&gt;                                   Max PE per PV    51204&lt;BR /&gt;                                PE Size (Mbytes)       32&lt;BR /&gt;                              VGRA Size (Kbytes)     6672&lt;BR /&gt;vgmodify: This operation can only be completed if PE number zero on "/dev/rdsk/c11t0d5" is freed&lt;BR /&gt;vgmodify: Physical Extent renumbering (-n) required to accomplish task&lt;BR /&gt;&lt;BR /&gt;Trying pvmove pointed me to check with pvdisplay and at that point I found extent zero (0000) was employed in a contiguous LV;&lt;BR /&gt;&lt;BR /&gt;pvmove /dev/dsk/c11t0d5:0 /dev/dsk/c11t0d5&lt;BR /&gt;The given extent belongs to a contiguous Logical Volume.&lt;BR /&gt;This move is not supported. Complete Logical Volume can be moved using -n flag&lt;BR /&gt;&lt;BR /&gt;The options seem a little thin; I think I can only;&lt;BR /&gt;&lt;BR /&gt;1. Have another LUN presented to the VG and pvmove the LV to it, and then run the vgmodify routine to increase max_pe.&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;2. backup the LV's contents, scrag the VG, rebuild it, with PE size at say 64MB and restore the data to the subsequently built LV.&lt;BR /&gt;&lt;BR /&gt;If there is another getout method I would be very grateful to be told it.&lt;BR /&gt;&lt;BR /&gt;Ta!&lt;BR /&gt;&lt;BR /&gt;Bren&lt;/VOL&gt;</description>
      <pubDate>Wed, 21 Jan 2009 13:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341946#M565795</guid>
      <dc:creator>Brendan Newport_2</dc:creator>
      <dc:date>2009-01-21T13:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exploiting new space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341947#M565796</link>
      <description>I have done option 1. Depends how you want to maneuver the original PV, you only need to add a tiny PV as small as one or two extends. Then you move PE0 from the old PV to the new small PV, change the max_pe and then renumber the PVs. I have done this a few times and did not have any problems but it is a good idea to run a full backup of your PV data before you start. &lt;BR /&gt;If you don't have this doc, take a look at it&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/vgmodify/vgmodify_wp_modified_final.pdf" target="_blank"&gt;http://docs.hp.com/en/vgmodify/vgmodify_wp_modified_final.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 21 Jan 2009 14:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341947#M565796</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-01-21T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exploiting new space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341948#M565797</link>
      <description>&amp;gt; leaving just one extent unallocated at 32MB&lt;BR /&gt;If I understand correctly this is on the same PV? Then &lt;BR /&gt;1. move extend 0 with the vgmodify command&lt;BR /&gt;2. change the max_pe &lt;BR /&gt;3. Do extend renumbering</description>
      <pubDate>Wed, 21 Jan 2009 14:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341948#M565797</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-01-21T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exploiting new space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341949#M565798</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;PE 00000 is showing;&lt;BR /&gt;&lt;BR /&gt;00000 current  /dev/&lt;VG&gt;/&lt;LV&gt;     00000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The last extent is free;&lt;BR /&gt;&lt;BR /&gt;51196 free                             00000&lt;BR /&gt;&lt;BR /&gt;I clear with;&lt;BR /&gt;&lt;BR /&gt;2. change the max_pe &lt;BR /&gt;3. Do extend renumbering&lt;BR /&gt;&lt;BR /&gt;But stuck with "1. move extend 0 with the vgmodify command" as I used the pvmove routine that provoked the contiguous LV error.&lt;BR /&gt;&lt;BR /&gt;Can you detail your solution more explicitely?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/LV&gt;&lt;/VG&gt;</description>
      <pubDate>Wed, 21 Jan 2009 15:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341949#M565798</guid>
      <dc:creator>Brendan Newport_2</dc:creator>
      <dc:date>2009-01-21T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exploiting new space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341950#M565799</link>
      <description>Try setting the LV so that it is not contiguous.&lt;BR /&gt;&lt;BR /&gt;# lvchange -C n /dev/vg/lv&lt;BR /&gt;NOTE:  That is an upper-case C and not a lower case c.&lt;BR /&gt;&lt;BR /&gt;# man lvchange &lt;BR /&gt;for more information.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2009 15:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341950#M565799</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-01-21T15:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exploiting new space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341951#M565800</link>
      <description>Taking the contigurous flag did the trick;&lt;BR /&gt;&lt;BR /&gt;After unmounting the file systems;&lt;BR /&gt;&lt;BR /&gt;lvchange -C n /dev/&lt;VG&gt;/&lt;LV&gt;&lt;BR /&gt;&lt;BR /&gt;then move extent zero to any free extent for a larger VGRA mapping area;&lt;BR /&gt;&lt;BR /&gt;pvmove /dev/dsk/c11t0d5:0 /dev/dsk/c11t0d5                                           &lt;BR /&gt;Transferring logical extents of logical volume "/dev/&lt;VG&gt;/&lt;LV&gt;"...&lt;BR /&gt;Physical volume "/dev/dsk/c11t0d5" has been successfully moved.&lt;BR /&gt;&lt;BR /&gt;Then deactivate the VG and use vgmodify, in this case dropping the max PV and upping the max pe to get the best combination to exploit the new space;&lt;BR /&gt;&lt;BR /&gt;vgmodify -e 65535 -p 12 /dev/&lt;VG&gt;&lt;BR /&gt;&lt;BR /&gt;Reactivate the VG.&lt;BR /&gt;&lt;BR /&gt;Then lvextend to suit the new space (or all of it if required.)&lt;BR /&gt;&lt;BR /&gt;Extend the LV with extendfs.&lt;BR /&gt;&lt;BR /&gt;&lt;/VG&gt;&lt;/LV&gt;&lt;/VG&gt;&lt;/LV&gt;&lt;/VG&gt;</description>
      <pubDate>Fri, 23 Jan 2009 09:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exploiting-new-space/m-p/4341951#M565800</guid>
      <dc:creator>Brendan Newport_2</dc:creator>
      <dc:date>2009-01-23T09:55:26Z</dc:date>
    </item>
  </channel>
</rss>

