AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Increase Max LPs

    Posted Wed October 21, 2015 04:58 PM

    Originally posted by: Riker


    I need to increase the maximum number of LPs in one of my LVs.  I haven't run this command before and don't have a test system available to try it out on and so don't know what to expect.  Can someone help me with the following:

    • Can this be run safely with users on the system?
    • When run, how long should the command take to return to a command prompt if the change is from Max 512 to Max 600?
    • If the command fails, does it do so gracefully without making any changes or is it likely to corrupt the LV or file system in some way?

    In general, it would be good to know which commands are safe to run when users are on and which are best run when the system is idle, but I'll start with this one.  :-)

    Thank you.



  • 2.  Re: Increase Max LPs

    Posted Sat October 24, 2015 06:39 AM

    Originally posted by: Fiyas


    are you trying to increase LV size ? if yes then use below cmd 

    example cmd:

    chfs -a size=+1G /tmp

     



  • 3.  Re: Increase Max LPs

    Posted Mon October 26, 2015 12:39 PM

    Originally posted by: GarlandJoseph


    That increases the filesystem size, not the MAX LP size.



  • 4.  Re: Increase Max LPs

    Posted Mon October 26, 2015 12:43 PM

    Originally posted by: GarlandJoseph


    What command are you using?  What does LSLV show?  Why do you need to increase max LP's?   It is difficult to list in general what commands are safe to use, since there are a lot of commands.    While a command may be "safe to use", many organizations restrict changes of any nature (unless an emergency) to maintenance windows in order to prevent unforeseen changes not just in failure but also in performance.

     



  • 5.  Re: Increase Max LPs

    Posted Mon October 26, 2015 12:56 PM

    Originally posted by: Riker


    I was planning on running "chlv -x" to increase the MAX LPs.

    LSLV shows 500 LPs in use with a MAX LP of 512.  My LP size is 256MB and I'd like to add another 40GB to the file system.

    For the most part we're the same when it comes to managing changes to systems.  However, exceptions are made for those things considered "routine operational processes."



  • 6.  Re: Increase Max LPs

    Posted Mon October 26, 2015 05:39 PM

    Originally posted by: GarlandJoseph


    I am not sure this is the solution for your space issue.   What type of volume group does the LV belong: Big, Scalable?  
     

    See this article by Brian Smith:

    https://www.ibm.com/developerworks/community/blogs/brian/entry/deciphering_aix_volume_group_limitations_and_types10?lang=en

     

    FYI:

    Changing a scalable MAX LV to 1024 would look something like this:

    varyoffvg <vgname>
    chvg -G VG

    chvg -v 1024 <vgname>

     

     

     



  • 7.  Re: Increase Max LPs

    Posted Tue October 27, 2015 07:52 PM

    Originally posted by: Riker


    This LV belongs to a normal volume group.



  • 8.  Re: Increase Max LPs

    Posted Thu October 29, 2015 10:56 AM

    Originally posted by: GarlandJoseph


     Oops, I got confused and switched parameters on you by specifying MAX LV's and no MPX LP's.  I can change MAX LP's on an LV.  I don't think this is the answer to you space problem since you only have 256MB X 10 PP's of space.



  • 9.  Re: Increase Max LPs

    Posted Fri October 30, 2015 03:46 AM

    Originally posted by: Shinyvictor


    Just wanted to drop you a line, and tell you that this post helped me expand my filesystem, flawlessly. Thank you!

    Cloud Computing Training in Chennai

    Dotnet Training in Chennai

    Salesforce Training in Chennai



  • 10.  Re: Increase Max LPs

    Posted Wed November 04, 2015 10:58 AM

    Originally posted by: Riker


    Group,

    Thank you all for your help with this.  I confirmed with IBM that the chlv command can be run with users on the system.  I was able to increase the MAX LPs and then increase the size of the file system.

    Regards,

    Jason