[ENBD] ENBD with 2.4.2-kernel

Adrian Turcu adi@cfrcta.ro
Thu, 15 Mar 2001 18:42:07 +0200


> >
> > Interesting. Let me know of problems. If you write up the
> > configuration, please let me have a pointer.
> >
> 
> In the next days I'll try to test the new one version of ENBD with kernel-2.4.2
> using the previous scripts and I'll be glad to share you what I've done.
> 

Hello again,

Well, I have some interesting results about my new config :-)
In a word it's working, but...

If the client is started before the ENBD server starts, 
well... my client will never connect to the server which says me in logs :
 
 nbd-server: Read returned 0 after select predicted read!

and after a while from one server started I can saw a lot (10-12) started
which will cause the machine to hang-up finally.

I have a silly question: What I've missed ?

The server (node2) is started this way:

 nbd-server 4017 /dev/sdb

and the client (node1):

 insmod -f $PATH_TO_NBD_DRIVER/nbd.o rahead=20 merge_requests=0 sync_intvl=10
 nbd-client node2 4017 node2 -b 1024 -t 5 /dev/nda

If I'll wait those 15 secs before starting the client (the time need for server start-up)
everything will goes fine.

The partition /dev/sdb is 3240376320 Bytes in size (~3GBy) 
Is it to huge for ENBD ? (Another silly question...)

Any help ?

Thanks,
-- 
Adrian Turcu
System Administrator