[ENBD] ENBD startup questions

Peter T. Breuer ptb@it.uc3m.es
Fri, 13 Oct 2000 17:55:38 +0200 (MET DST)


"A month of sundays ago Duane Gustavus wrote:"
> are running RedHat 6.2.  I have downloaded and compiled the 2.4.14
> version of enbd, and followed the instructions in the LJ article for

On what kernel?

> 17739 pts/0    S      0:00 ./nbd-server 1077 /home/disk1

Is that the full comamnd line?

> Oct 13 09:32:05 lmd nbd-server: nbd-server: server (-1) agreed 0 channels ok 

Errr, well, you have to ask for some channels!


>  3315 ?        S      0:00 ./nbd-client 129.120.220.38 1077 /dev/nda

Yes, again I can't see the full line from this, but you should be
naming the channels you want here. Something like:

 ./nbd-client 129.120.220.38 1077 129.120.220.38 129.120.220.38 129.120.220.38 129.120.220.38 -b 1024 -t 120 /dev/nda 


> Oct 13 09:40:38 node1 kernel: NBD #1528[176]: nbd_do_request ending req c026ad88
>  with prejudice 

That might be something else. The setup was already hosed by the 0
channels, but it shouldn't be doing this.

> I believe the problem is indicated by the output of /proc/nbdinfo, but

What is the output? It should look aproximately like this:

Device a:       Open
[a] State:      initialized, verify, rw, enabled, last error 0
[a] Queued:     +0 curr reqs/+0 real reqs/+0 max reqs
[a] Buffersize: 86016   (sectors=168)
[a] Blocksize:  1024    (log=10)
[a] Size:       2048KB
[a] Blocks:     2048
[a] Sockets:    4       (+)     (+)     (*)     (+)
[a] Requested:  0       (0)     (0)     (0)     (0)
[a] Despatched: 0       (0)     (0)     (0)     (0)
[a] Errored:    0       (0)     (0)     (0)     (0)
[a] Pending:    0R/0W+0R/0W
[a] Kthreads:   0       (0 waiting/0 running/0 max)
[a] Cthreads:   4       (+)     (+)     (+)     (+)
[a] Cpids:      4       (4284)  (4285)  (4286)  (4287)
Device b-p:     Closed

Peter