Increase swap space in HP-UX

  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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s