the workaround is just to have the machine running an nbd-client make
nbd accesses periodically just to keep the connection alive... but
that's kind of ugly.

I have tried this. basicaly i ran nbd-server using -a 600 so it would timeout after 10 minutes The nbd-client connects and working, sitting idle.
then i had a script running on the client that did a   dd if=/dev/nbd0 
of=/dev/null every 30 second.
so it read the whole device once every 30 secs.

it still did timeout after 600 sec.

must the device be written to for the timeout to reset ?
Regards
Ronny Aasen






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to