I managed to get swap working by logging to the terminal via SSH.

I added the following to /etc/inetd.conf on the server.

9210 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdswapd

I ran the following commands on the terminal:

[EMAIL PROTECTED]:~# free
            total       used       free     shared    buffers     cached
Mem:         93172      91208       1964          0       5812      23684
-/+ buffers/cache:      61712      31460
Swap:            0          0          0

[EMAIL PROTECTED]:~# nbd-client 192.168.1.1 9210 /dev/nbd1
Negotiation: ..size = 32768KB
bs=1024, sz=32768
[EMAIL PROTECTED]:~# swapon /dev/nbd1
[EMAIL PROTECTED]:~# free
            total       used       free     shared    buffers     cached
Mem:         93172      91432       1740          0       6916      23128
-/+ buffers/cache:      61388      31784
Swap:            0          0          0

lts.conf:

[default]
       LDM_DIRECTX = True
       SCREEN_07   = ldm
       SCREEN_02   = shell
       USE_NBD_SWAP = Y

Thanks,

Jason

Jason Chase wrote:
I'm trying to get NBD_SWAP working on Ubutu 8.04.
http://www.ltsp.org/twiki/bin/view/Ltsp/Swap#Swap_for_LTSP_4_2_and_Later_NBD

Doesn't mention Hardy in the ltspswapd "download and install" section. Its ltspswapd included in another package for Hardy or was it renamed/replaced? I'm working on setting up the static binaries which include ltspswapd and other binary. What worries me is all of the other binaries are already installed as part of the LTSP packages that were installed when I setup the system.

I have 20 Devon IT terminals that are hanging when they run out of physical memory. My Diskless Workstation LTSP 150s are running great without swap.

Jason

--
Jason A. Chase
Director of Technology
Gould Academy
PO Box 860
39 Church Street
Bethel, ME 04217

P: (207) 824-7700

[EMAIL PROTECTED]
http://www.gouldacademy.org/

begin:vcard
fn:Jason Chase
n:Chase;Jason
org:Gould Academy;Technology
adr:;;39 Church Street;Bethel;ME;04217;USA
email;internet:[EMAIL PROTECTED]
title:Director of Technology
tel;work:207 824 7700
x-mozilla-html:FALSE
url:http://www.gouldacademy.org/
version:2.1
end:vcard

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to