[ENBD] Anyone got swapping over NBD-2.4.25 working?

Alan Messer enbd@lists.community.tummy.com
Tue, 08 Jan 2002 13:57:48 -0800


Peter T. Breuer wrote:

> Interesting. I imagined it would lock up way too much memory to be
> useful. If that is the case, try and work out how to limit it a bit
> (to what?).


Alas, it only appears to work sometimes. Some long test runs work 
just fine, while others seem to hit this message.

Jan 26 03:17:21 localhost nbd-client: nbd-client: newproto Kernel 
ACK call returned err: Resource temporarily unavailable
Jan 26 03:17:24 localhost kernel: NBD #932[0]: nbd_rollback 
rollback req c1604f80 from slot 1!
Jan 26 03:17:24 localhost kernel: NBD #1127[0]: nbd_ack fatal: Bad 
handle c1604f80 !
Jan 26 03:17:24 localhost kernel: NBD #1145[0]: nbd_ack exited 
with reply error
Jan 26 03:17:24 localhost kernel: end_request: I/O error, dev 
2b:01 (nbd), sector 98752

Any ideas for the cause of this error? Network glitches? Kernel 
deadlocks? I know, I know, I'm asking for troubling trying to swap 
over ENBD, but I'd *really* like to get this to work.

My setup is a 128M remote swap file, Linux 2.4 and ENBD 2.4.25, 
plis one mlockall in nbd-client.c.

Alan.