Home | Contact Us | Submit Troubleshooting Info | Search | Help


    Output | Software Solutions | Proofing | Color, Screening and Calibration | Scanning | Digital Photography | Consumables | POS


Manually reducing the paging space when there is not enough space on rootvg


Product

 
  • Brisque® 5.x
  • Brisque 4.x

Platform

 

All Brisque platforms

Operating system

 

IBM® AIX® 5.2, 4.3.3


Symptoms

 

Sometimes you need to manually reduce the paging space to allow more space for the file system on the system disk.

The reduceps.sh script in Brisque v5.x automatically reduces the paging space to 1.5 GB. However, this script requires a free 512 MB partition space on rootvg. If there is less space, you need to manually reduce the paging space.

Notes:

  • The reduceps.sh script is available only for Brisque 5.x. For Brisque 4.x, you need to manually reduce the paging space, as described in this procedure.
  • The script is built into Brisque 5.1.32 so there is no need to download it.

Solution

 

To manually reduce the paging space if there is less than 512 MB on rootvg:

  1. Determine the existing paging space logical volumes on your system. Type:
    lsps -a
  2. Check how many free physical partitions (PPs) are available. Type:
    lsvg -p rootvg
  3. Create a paging space for temporary use. Type:
    mkps -s X -a rootvg
    where X is a number in the range of 1 and the total number of PPs obtained in step 2.
  4. Run lsps -a again and note the new paging space (probably paging00)
  5. Change the characteristics of the default paging space (hd6) so that it is inactive at reboot. Type:
    chps -a n hd6
  6. To edit the file, type:
    vi /sbin/rc.boot
  7. Change the line swapon /dev/hd6 to swapon /dev/pagingXX where XX is the number of the new paging space created in step 3 (paging00).
  8. Use the lslv command to determine which disk is the boot disk. Type: lslv -m hd5. The boot disk is shown in the PV1 column of the lslv output.
  9. Run the bosboot command, using the hdisk obtained in step 8 (for example, hdisk0). Type:
    bosboot -a -d /dev/hdisk0
  10. The system is rebooted to inactivate the hd6 paging space. Type:
    shutdown -Fr
  11. The default dump device is set to hd6. hd6 cannot be removed while it is the dump device. Check the dump device. Type:
    sysdumpdev -l
  12. If the primary or secondary dump device is set to hd6, reset the pointer. Type:
    sysdumpdev -P -p /dev/sysdumpnull
  13. Because some scripts are hard-coded to activate /dev/hd6, you should create the new paging space under the same name. Remove hd6 and create a new hd6 of smaller size. Type:
    rmps hd6
    mklv -y hd6 -t paging rootvg <PS size in logical partitions>

    where PS size in logical partitions is the number of LPs allocated to hd6.
  14. Edit the file. Type:
    vi /sbin/rc.boot
  15. Change the swapon line back to swapon /dev/hd6. To confirm that hd6 is automatically swapped at reboot, type:
    chps -a y hd6
    lsps -a

    Verify that there is a y under the auto column for hd6.
  16. Run the bosboot command, using the hdiskX obtained in step 8. Type:
    bosboot -a -d /dev/hdiskX
  17. Change the characteristics of the temporary paging space (which is assumed to be paging00 in this procedure), so that it is inactive at the next reboot. Type:
    chps -a n paging00
  18. The system is rebooted to inactivate the hd6 paging space. Type:
    shutdown -Fr
  19. Remove the temporary paging space. Type:
    rmps paging00
  20. If the dump device was changed in step 11, reset the dump pointer. Type:
    sysdumpdev -P -p /dev/hd6

Technical contact(s)
 

Lev Weissman

Submitted by
 

Lev Weissman

Date submitted
 

13 Dec 2005


    Copyright © 2005 Creo Inc. All rights reserved. Confidential. Back to top.