Instructions to modify nbdswap size

Jim Kronebusch jim at
Sun Sep 2 19:52:27 BST 2007

If the default size of 32MB for nbdswap is not large enough for your situation, simply
create and /opt/ltsp/nbdswapd.conf (if it does not already exist) with the following

vim /opt/ltsp/nbdswapd.conf

And add the following line (set this equal to how many MB you need available):


Save the file and if necessary make root owner and set permissions with:

chown root.root /opt/ltsp/nbdswapd.conf
chmod 644 /opt/ltsp/nbdswapd.conf

Then reboot your client.  To verify the changes took effect you should now see a 128MB
file in /tmp on the server instead of the previous 32MB file.  If you want to test use
of swap on a client log into screen 01 and run free.  You should see a line with swap
size and how much is currently used.

Thanks to Scott Balneaves for the tip.

Jim Kronebusch
Cotter Tech Department

This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.

More information about the edubuntu-users mailing list