Custom Search

Wednesday, February 4, 2009

2 ways to increase the swap space

  1. By using SAM
    SAM > Disk and File Systems > Swap > Actions
    You can add the Device Swap or File System Swap.

  2. By Command Line
    Create the logical volume for your secondary swap:
    # lvcreate -L 128 /dev/vg14

    NOTE: "-L 128" is the size of desired swap

    Verify the logical volume:
    # lvdisplay /dev/vg14/lvol15

    Use SAM to declare your new secondary swap or use the command line:
    # swapon /dev/vg14/lvol15

    Verify it has been added in "/etc/fstab" when using SAM, or add it manuallywhen using the command line.

    Example:
    /dev/vg14/lvol15 . swap defaults 0 0

3 comments:

  1. Like the blog! Will be checking back often to see what new things I can learn about HP-UX. :)

    ReplyDelete
  2. The Seattle Seahawks continue to defy convention, winning games with a blueprint that differs from the other 31 teams in the league.
    http://sellsportjersey.blogspot.com/
    https://twitter.com/mselljerseys
    http://mselljerseys.blogspot.com/
    wholesale 2014 new jerseys
    2014 new nike nfl jerseys
    2014 nfl hoodies jerseys
    nhl hoodies jerseys

    ReplyDelete
  3. I visited your blog for the first time and just been your fan and get many informative information about the HP-UX environment. I Will be back often to check up on new stuff you post well done.
    HP-UX environment

    ReplyDelete