Increasing AMP's SWAP (Virtual Memory) Space

Aruba Employee
Aruba Employee

In the following step-by-step guide, we'll add an additional 2GB of SWAP space to an AMP.

1) First, create a blank file to hold the SWAP data (note that you can increase the size of the final SWAP file by increasing the 'count' number below)

dd if=/dev/zero of=/extraswap bs=1M count=2048

2) Next, tell the Linux OS to prepare the file for use as SWAP space

mkswap /extraswap

3) Then, issue a command to turn-on the new SWAP file

swapon /extraswap

4) Finally, to make the extra SWAP space work after a reboot, poweroff, etc.

echo -e "/extraswap\t\t\t\tnone\t\t\t\t\tswap\tsw\t\t\t\t0 0" >> 

Version history
Revision #:
1 of 1
Last update:
‎06-09-2014 10:02 AM
Updated by:
Labels (1)
Search Airheads
Showing results for 
Search instead for 
Did you mean: