Hi list,
I just tried the new fancy nbd_swap feature in Ubuntu - Gutsy and when
the client was just about to start swapping, it freezed completely,
further investigation shows:

Nov 21 16:20:05 ts32 kernel: [   56.921803] Adding 1048568k swap on
/dev/nbd0.  Priority:-1 extents:1 across:1048568k
Nov 21 16:25:56 ts32 kernel: [  412.911884] nbd-client: page allocation
failure. order:0, mode:0x20
Nov 21 16:25:57 ts32 kernel: [  412.912450]  [<dc823190>]
sock_xmit+0x160/0x230 [nbd]
Nov 21 16:25:57 ts32 kernel: [  412.912630]  [<dc823a21>]
nbd_ioctl+0x2c1/0x7f0 [nbd]
Nov 21 16:25:57 ts32 kernel: [  412.912738]  [<dc823760>]
nbd_ioctl+0x0/0x7f0 [nbd]
Nov 21 16:25:58 ts32 kernel: [  412.921163] nbd-client: page allocation
failure. order:0, mode:0x20

It looks like a deadlock, but nbd-client seems to have a "-swap" switch
which should be used when the block device is intended for swap purposes
as it addresses the deadlock problem.

Question:
- why is this switch not used? It is intended just for this case.
- has anyone successfully tried to actually swap over nbd?

Note my nbd-server is running on RHEL-5 and it is a package compiled on
my own, but I believe it should not affect this.
When I hack the ltsp startups scritps to add the "-swap" option, swap is
not added at all.
Thanks,

Ondrej

The information contained in this e-mail and in any attachments is confidential 
and is designated solely for the attention of the intended recipient(s). If you 
are not an intended recipient, you must not use, disclose, copy, distribute or 
retain this e-mail or any part thereof. If you have received this e-mail in 
error, please notify the sender by return e-mail and delete all copies of this 
e-mail from your computer system(s).
Please direct any additional queries to: [EMAIL PROTECTED]
Thank You.
Silicon and Software Systems Limited. Registered in Ireland no. 378073.
Registered Office: Whelan House, South County Business Park, Leopardstown, 
Dublin 18

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
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