I've seen a few people asking how to create a swap file for pli image, vti image etc... Have already posted these instructions somewhere on the forum, but putting them in a new thread to hopefully make it easier for people to fine
Anyway, this is what you should do (worked for me).
First off, telnet in to the box using your favourite telnet programme.
Then, type the following command (after count, enter the size of file you want. In example below, it is a 128mb swap - 1024 x 128 = 131072):
Code:
dd if=/dev/zero of=/media/usb/swapfile bs=1024 count=131072
Then, set up a linux swap area:
Code:
mkswap /media/usb/swapfile
Now, to activate the swap space immediately, type:
Code:
swapon /media/usb/swapfile
Now, activate the swap file to load when the vu duo loads, we need to edit the fstab file. To do this, type the following command to edit the fstab file:
Add the following line to the file:
Code:
/media/usb/swapfile swap swap defaults 0 0
Now, when the box restarts, the swap file should automatically be enabled...
To verify that it has worked correctly, type the following command in a telnet session:
This should give you some information similar to below:
Code:
total used free shared buffers
Mem: 140848 135964 4884 0 564
Swap: 131064 1848 129216
Total: 271912 137812 134100