<?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: Need help extending /opt files system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266036#M547925</link>
    <description>you have Max PE per PV  set to 4328 while creating vg00, that's why you are seeing this error.&lt;BR /&gt;&lt;BR /&gt;check man pages for vgmodify for next step of actions.&lt;BR /&gt;&lt;BR /&gt;USA</description>
    <pubDate>Thu, 09 Dec 2010 16:50:22 GMT</pubDate>
    <dc:creator>Uday_S_Ankolekar</dc:creator>
    <dc:date>2010-12-09T16:50:22Z</dc:date>
    <item>
      <title>Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266031#M547920</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a mirror boot partition as follow:&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/disk/disk11_p2&lt;BR /&gt;PV Status                   available&lt;BR /&gt;PV Size                     67.48 GB&lt;BR /&gt;Free                        0.38 GB&lt;BR /&gt;Allocated                   99.44 %&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/disk/disk10_p2&lt;BR /&gt;PV Status                   available&lt;BR /&gt;PV Size                     67.48 GB&lt;BR /&gt;Free                        0.38 GB&lt;BR /&gt;Allocated                   99.44 %&lt;BR /&gt;&lt;BR /&gt;(Newly added Disk)&lt;BR /&gt;/dev/disk/disk8             67.48 BG&lt;BR /&gt;&lt;BR /&gt;My vg00 is running out of space and I need to extend its LVs. I have add another physical drive and extended vg00 with it. Here is what I did but it's not working, is this because it's a mirror boot disk? &lt;BR /&gt;&lt;BR /&gt;pvcreate -f /dev/rdisk/disk8&lt;BR /&gt;vgextend /dev/vg00 /dev/disk/disk8&lt;BR /&gt;(These next steps are where it fails)&lt;BR /&gt;lvextend -l xxx /dev/vg00/lvol5&lt;BR /&gt;&lt;BR /&gt;I tried umounting the /opt but it's device busy error. And also tried to use fuser -ku (even with -cku option) /opt but it fails.&lt;BR /&gt;&lt;BR /&gt;I even reboot in single user's mode without /opt being mount but I can't extend the file systems. Any help would be greatly appreciated!</description>
      <pubDate>Thu, 09 Dec 2010 15:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266031#M547920</guid>
      <dc:creator>HP-UX_Newb</dc:creator>
      <dc:date>2010-12-09T15:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266032#M547921</link>
      <description>&amp;gt;&amp;gt;(These next steps are where it fails)&lt;BR /&gt;&amp;gt;&amp;gt;lvextend -l xxx /dev/vg00/lvol5&lt;BR /&gt;&lt;BR /&gt;How does it fail? What is the exact command you ran? What is the error you get?</description>
      <pubDate>Thu, 09 Dec 2010 15:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266032#M547921</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-12-09T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266033#M547922</link>
      <description>Also paste your vgdisplay -v output &lt;BR /&gt;Do you have online JFS installed?</description>
      <pubDate>Thu, 09 Dec 2010 16:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266033#M547922</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2010-12-09T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266034#M547923</link>
      <description>&lt;!--!*#--&gt;Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;Here are the commands and its output.&lt;BR /&gt;&lt;BR /&gt;#vgextend -f /dev/vg00 /dev/disk/disk8&lt;BR /&gt;&lt;BR /&gt;Physical volume "/dev/rdisk/disk8" has been successfully created.&lt;BR /&gt;&lt;BR /&gt;vgextend: Warning: Max_PE_per_PV for the volume group (4328) too small for this PV (4375).&lt;BR /&gt;Using only 4328 PEs from this physical volume.&lt;BR /&gt;&lt;BR /&gt;Volume group "/dev/vg00" has been successfully extended.&lt;BR /&gt;&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#lvextend -L 31744 /dev/vg00/lvol5&lt;BR /&gt;&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;&lt;BR /&gt;Logical volume "/dev/vg00/lvol5" could not be extended.&lt;BR /&gt;&lt;BR /&gt;Failure possibly caused by strict allocation policy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It looks like the VG didn't get the extra space I have added from this warning:&lt;BR /&gt;vgextend: Warning: Max_PE_per_PV for the volume group (4328) too small for this PV (4375).&lt;BR /&gt;Using only 4328 PEs from this physical volume.&lt;BR /&gt;&lt;BR /&gt;How would I fix that?</description>
      <pubDate>Thu, 09 Dec 2010 16:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266034#M547923</guid>
      <dc:creator>HP-UX_Newb</dc:creator>
      <dc:date>2010-12-09T16:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266035#M547924</link>
      <description>&lt;!--!*#--&gt;Here is the vgdisplay -v&lt;BR /&gt;&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      8&lt;BR /&gt;Open LV                     8&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      3&lt;BR /&gt;Act PV                      3&lt;BR /&gt;Max PE per PV               4328&lt;BR /&gt;VGDA                        6&lt;BR /&gt;PE Size (Mbytes)            16&lt;BR /&gt;Total PE                    12966&lt;BR /&gt;Alloc PE                    8590&lt;BR /&gt;Free PE                     4376&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;VG Version                  1.0&lt;BR /&gt;VG Max Size                 1082g&lt;BR /&gt;VG Max Extents              69248&lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol1&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            2048&lt;BR /&gt;Current LE                  128&lt;BR /&gt;Allocated PE                256&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol2&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            12288&lt;BR /&gt;Current LE                  768&lt;BR /&gt;Allocated PE                1536&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol3&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            1024&lt;BR /&gt;Current LE                  64&lt;BR /&gt;Allocated PE                128&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol4&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            112&lt;BR /&gt;Current LE                  7&lt;BR /&gt;Allocated PE                14&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol5&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            22528&lt;BR /&gt;Current LE                  1408&lt;BR /&gt;Allocated PE                2816&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol6&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            10240&lt;BR /&gt;Current LE                  640&lt;BR /&gt;Allocated PE                1280&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol7&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            10240&lt;BR /&gt;Current LE                  640&lt;BR /&gt;Allocated PE                1280&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vg00/lvol8&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;LV Size (Mbytes)            10240&lt;BR /&gt;Current LE                  640&lt;BR /&gt;Allocated PE                1280&lt;BR /&gt;Used PV                     2&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/disk/disk11_p2&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Total PE                    4319&lt;BR /&gt;Free PE                     24&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/disk/disk10_p2&lt;BR /&gt;V Status                   available&lt;BR /&gt;Total PE                    4319&lt;BR /&gt;Free PE                     24&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/disk/disk8&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Total PE                    4328&lt;BR /&gt;Free PE                     4328&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;No, I dont have JFS installed.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Dec 2010 16:33:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266035#M547924</guid>
      <dc:creator>HP-UX_Newb</dc:creator>
      <dc:date>2010-12-09T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266036#M547925</link>
      <description>you have Max PE per PV  set to 4328 while creating vg00, that's why you are seeing this error.&lt;BR /&gt;&lt;BR /&gt;check man pages for vgmodify for next step of actions.&lt;BR /&gt;&lt;BR /&gt;USA</description>
      <pubDate>Thu, 09 Dec 2010 16:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266036#M547925</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2010-12-09T16:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266037#M547926</link>
      <description>&lt;!--!*#--&gt;Thanks Uday!&lt;BR /&gt;&lt;BR /&gt;I read the man page and it looks like I can extend the max_pe but I'm a bit concern doing this. The VG, vg00, is what I'm trying to extend but it is also the OS boot partition.  I'm scared that it will either crashes the system or give me hell! &lt;BR /&gt;&lt;BR /&gt;I ran the syntax below to show me what I can do.&lt;BR /&gt;#vgmodify -t /dev/vg00 &lt;BR /&gt;(Output:)&lt;BR /&gt;Current Volume Group settings:&lt;BR /&gt;&lt;BR /&gt;Max LV          255&lt;BR /&gt;Max PV           16&lt;BR /&gt;Max PE per PV        4328&lt;BR /&gt;PE Size (Mbytes)          16&lt;BR /&gt;VGRA Size (Kbytes)        592&lt;BR /&gt;VRA space (Kbytes) without PE renumbering 768&lt;BR /&gt;VGRA space (Kbytes) PE renumbering lower  768&lt;BR /&gt;&lt;BR /&gt;Volume Group optimized settings (no PEs renumbered):&lt;BR /&gt;&lt;BR /&gt;max_pv(-p)        max_pe(-e)       Disk size (Mb)&lt;BR /&gt;&lt;BR /&gt;  3                 30460             487360&lt;BR /&gt;  4                 22780             364480&lt;BR /&gt;  5                 18172             290752&lt;BR /&gt;  6                 15100             241600&lt;BR /&gt;  7                 13052             208832&lt;BR /&gt;  8                 11260             180160&lt;BR /&gt;  9                 9980              159680&lt;BR /&gt;  10                8956              143296&lt;BR /&gt;  11                8188              131008&lt;BR /&gt;  12                7420              118720&lt;BR /&gt;  13                6908              110528&lt;BR /&gt;  14                6396              102336&lt;BR /&gt;  15                5884              94144&lt;BR /&gt;  16                5628              90048&lt;BR /&gt;  17                5372              85952&lt;BR /&gt;  18                4860              77760&lt;BR /&gt;  19                4604              73664&lt;BR /&gt;  21                4348              69568&lt;BR /&gt;&lt;BR /&gt;#vgmodify -e 11260 /dev/vg00 (I want to hit the enter key but...)&lt;BR /&gt;&lt;BR /&gt;Rebuilding the system with a bigger max_pe is not an option. Does anyone have experiences extending the OS partition so it can ease my concerns a little?</description>
      <pubDate>Thu, 09 Dec 2010 18:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266037#M547926</guid>
      <dc:creator>HP-UX_Newb</dc:creator>
      <dc:date>2010-12-09T18:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266038#M547927</link>
      <description>&lt;!--!*#--&gt;I can't run the command vgmodify -e to extend vg00 anyway! The VG, vg00 is active and you can't deactivate it since it's the main OS partition. I guess I have a bigger problems, does anyone know how to deactivate or can you even deactivate the OS VG?&lt;BR /&gt;&lt;BR /&gt;It looks like I may have to rebuild the system! DBAs and everyone else is not going to like this! LOL.</description>
      <pubDate>Thu, 09 Dec 2010 18:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266038#M547927</guid>
      <dc:creator>HP-UX_Newb</dc:creator>
      <dc:date>2010-12-09T18:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266039#M547928</link>
      <description>The problem is that you have all LVs in VG00 mirrored.  You are trying to extend /opt (lvol5), but you only added a single disk.&lt;BR /&gt;&lt;BR /&gt;To get this to work you need to add 2 new disks so that the new space will be mirrored across both disks.  &lt;BR /&gt;&lt;BR /&gt;Since you only have 1 disk, when it tries to extend the mirror, it can't.</description>
      <pubDate>Thu, 09 Dec 2010 18:53:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266039#M547928</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-12-09T18:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266040#M547929</link>
      <description>&lt;!--!*#--&gt;Patrick, that's it!&lt;BR /&gt;&lt;BR /&gt;This was my last resort! I took another drive and added to vg00 and gave it a tried ... and bam! ... that was the whole cost of it!!! All that and I should of known from the beginning when I stated, "I had a mirrored boot partition". I gave myself a hit and I didn't get it! LOL&lt;BR /&gt;&lt;BR /&gt;Thank you, Patrick!&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Dec 2010 19:41:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266040#M547929</guid>
      <dc:creator>HP-UX_Newb</dc:creator>
      <dc:date>2010-12-09T19:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help extending /opt files system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266041#M547930</link>
      <description>Thanks for the second eye everyone!</description>
      <pubDate>Thu, 09 Dec 2010 19:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-extending-opt-files-system/m-p/5266041#M547930</guid>
      <dc:creator>HP-UX_Newb</dc:creator>
      <dc:date>2010-12-09T19:43:22Z</dc:date>
    </item>
  </channel>
</rss>

