Στις 12/08/2012 12:24 πμ, ο/η John Hupp έγραψε:
>
> But if nbdswapd.conf format mimics lts.conf, then when the instruction
> says "size ... for each client," it may mean that nbdswapd.conf should
> like more like:
>
> [Default]
> size=128


It's a shell-sourceable script, so no header should be put there, and 
the variable name should be in CAPS, and no spaces should be put around 
the '=' sign.

SIZE=128

Note that it's a sparse file, so that won't affect the initial, real 
size, but only the maximum file size. And if the client really needs 
 >128 MB swap and tries to allocate it, it'll crash with SIZE=128.

So you don't really have a reason to specify the swap size unless 
someone is trying to crash your server by abusing the swap export.

The edubuntu wiki page you mentioned needs to be updated for 12.04, e.g. 
the NBD_PORT section is obsolete since NBD is now using the IANA 
assigned port 10809 and name-based exports instead of port-based.

Finally, to verify if nbd swap is active, on the client, run:
ltsp-localapps xterm
and on that xterm,
cat /proc/swaps
free

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_____________________________________________________________________
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