Monday, December 08, 2008

How to increase AIX swap space

"lsps -a"

This will display something like:

Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 512MB 1 yes yes lv

This means that hd6 is the logical volume used for paging. To increase it, use the following command:

"extendlv hd6 10G"

This will add 10G of space to hd6, now reboot and then re-run "lsps -a" or you can simply use the "topas" command to check the paging space available.

6 comments:

  1. Hi. I am using Aix 6 and mine has worked well with :

    #extendlv hd6 4G

    ReplyDelete
  2. Worked for me also.. I am using AIX 6.1

    ReplyDelete
  3. Anonymous8:31 AM

    Now reboot? Are you crazy man??

    ReplyDelete
  4. Anonymous8:47 AM

    chps -s 'X' paging00

    or

    smitty pgsp

    NO reboot required!

    ReplyDelete
  5. use lsps -s

    ReplyDelete
  6. Anonymous4:33 PM

    I wonder if to increase SWAP must stop the database cold or hot please!

    ReplyDelete