[ENBD] nbd with an SMP kernel?

Peter T. Breuer ptb@it.uc3m.es
Tue, 17 Oct 2000 20:02:19 +0200 (MET DST)


"A month of sundays ago Peter T. Breuer wrote:"
> > The whole scheme seems to be working pretty well. My only concern is that
> > the nbd-client on the server A apparently cannot reconnect to the
> > nbd-server on B when the latter is killed and restarted (which in real

Oh, I get it. You aren't running the same session!

> > /sbin/insmod -f /usr/local/nbd/nbd.o rahead=20 merge_requests=0
> > sync_intvl=10 req_timeo=5
> > nice -19 /usr/local/nbd/nbd-client vdc 4017 vdc vdc /dev/nda
> > nice -19 /usr/local/nbd/nbd-server 4017 /dev/sdb2 
> 
> Those look fine.

Apart from the fact that you aren't passing an explicit session signature
so there is no hope of a NEWLY started server sharing in the existing
session secret.

They make one up for the session if you don't supply it explicitly ..
you wouldn't like any old thing connecting to your resources, would
you?

         -i signature
              This option specifies an ascii signature that  will
              be  shared  between server and client. It functions
              as a session  identifier  in  the  absence  of  SSL
              authentification  and  encryption (see below).  The
              signature must be at most 128 characters  long.  If
              not  specified,  a  random signature will be gener-
              ated.

But the error you showed was "no server".


Peter