Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Tuesday, 10 December 2013

Increasing the Size of a Paging Space


Technote (FAQ)
Question
Increasing the size of a paging space.
Answer
Environment
OS level: AIX 4.3.3 and above
The following are the steps and an example of how to increase the size of a paging space.
1. Determine the Physical Partitions (PP) size of the volume group, enter:
 # lsvg rootvg
3. Determine what hdisk the paging space is on and if there are free PP's by running:
 # lsps -a
 Page Space Physical Volume   Volume Group      Size %Used Active Auto Type
 hd6        hdisk0            rootvg            512MB 1     yes    yes  lv

So hd6 is on hdisk0.
Now determine if there are free PP's. Enter the following:
# lsvg -p rootvg
rootvg:
PV_NAME     PV STATE    TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0      active      542         484         108..92..67..108..10

7. How much more do you want to add? For example, if adding 1.5G (1536M), you would need an additional 48
partitions.
Amount needed (1536M) divided by PP Size (32M)equals number of additional logical partitions.
1536mg/32mg = 48 partitions
8. Add the additional number of partitions.
# smit pgsp
     Choose Change/Show Characteristics of a paging space.
     Choose your paging space.
For example:
hd6, paging00, paging01....
At the NUMBER of additional logical partitions line, input the number derived in item 3
above (from the example, this would be 48).
 Press Enter after making all desired changes.
9. Verify paging space size, enter:
 # lsps -a
Page Space Physical Volume    Volume Group Size %Used       Active Auto Type
hd6         hdisk0            rootvg 2048MB      1          yes    yes   lv

No comments:

Post a Comment