[ENBD] Re: ENBD on Debian 2.6.7/8 kernel

P.T. Breuer ptb at it.uc3m.es
Thu Oct 14 09:56:26 MDT 2004


In article <416E9BCF.3030905 at ociweb.com> you wrote:
> P.T. Breuer wrote:
> 
> | In article <416E890E.1000803 at ociweb.com> you wrote:
> |
> |> Not to be annoying, but could you test it across the network
> |> (i.e., physical network interfaces, not localhost)?  I know there
> |> shouldn't
> 
> Thanks a million.

Well, just tried it and no surprises.  But I had moved the timeout field
in struct alarm alarm.h to be long long instead of long.  Maybe that
helped?


betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% sudo /tmp/enbd-client nbd:4444 -n 1 /dev/ndc
enbd-client 17206: client says target 0 is nbd:4444
enbd-client 17206: client (-1) opened device /dev/ndc
enbd-client 17206: client (-1) manager opened NBD device /dev/ndc (2b20)
enbd-client 17206: client (-1) left kernel bdflush sync boundary at 134617824%
enbd-client 17206: client (-1) set kernel bdflush async boundary to 25% from 1074812608%
enbd-client 17206: client (-1) manager detaches from shell
enbd-client 17207: client (-1) starts introduction sequence on nbd:4444
betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% enbd-client 17207: client (-1) got size 8388608
enbd-client 17207: client (-1) got signature [4UE4oK], had []
enbd-client 17207: client (-1) negotiated blksize 4096
enbd-client 17207: client (-1) negotiated pulse_intvl 10
enbd-client 17207: client (-1) got session port 4445 ok
enbd-client 17207: client (-1) introduction sequence ends ok
enbd-client 17207: client (-1) set device size 8388608
enbd-client 17207: client (-1) sets session slots to 0-0
enbd-client 17208: client (0) opened device /dev/ndc
enbd-client 17207: client (-1) manager launched daemon 0 (17208) for nbd:4445
enbd-client 17208: client (0) opened socket 5 to nbd:4445
enbd-client 17208: client (0) read passwd ok from nbd:4445
enbd-client 17208: client (0) got cliserv magic ok from nbd:4445
enbd-client 17208: client (0) got a signature ok from nbd:4445
enbd-client 17208: client (0) begins main loop
enbd-client 17207: client (-1) opened device /dev/ndc

betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% 
betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% 
betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% 
betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% sudo /tmp/enbd-test -t 1:2 /dev/ndc
/dev/ndc has 8388608 bytes in 8192 blocks of 1024 bytes each
flushing buffers..done
writing....5%....10%....15%....20%....25%....30%....35%....40%....45%....50%....55%....60%....65%....70%....75%....80%....85%....90%....95%....done
test 1 success:  0 incorrect blocks
flushing buffers..done
flushing buffers..done
reading....5%....10%....15%....20%....25%....30%....35%....40%....45%....50%....55%....60%....65%....70%....75%....80%....85%....90%....95%....done
test 2 success:  0 incorrect blocks
flushing buffers..done
betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% 

I'll sit here awhile and see if something times out. I ran with -n 1 on
the client to make things easier to see. Try that?

I'll make the binaries static and put them up for download, if you
like?


Peter


More information about the ENBD mailing list