[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Nbd] How to keep/make it running



Hi all,

Installed 2 server with 2.6.20 kernel each serving a /dev/hda7 partition with
following commands:
sudo ndb-server 1234 /dev/hda7 timeout 3600
sudo ndb-server 1235 /dev/hda7 timeout 3600

On client-side
sudo nbd-client bs=1024 192.168.0.220 1234 /dev/nbd0
sudo nbd-client bs=1024 192.168.0.221 1235 /dev/nbd1

sudo mount /dev/nbd0 /mnt/ip220
sudo mount /dev/nbd1 /mnt/ip221

but after very short time I get:
nbd1: Receive control failed (result -32)
nbd1: shutting down socket
nbd1: queue cleared
nbd0: Receive control failed (result -32)
nbd0: shutting down socket
nbd0: queue cleared
nbd0: Attempted send on closed socket

What am I doing wrong ?
BTW if I give a rsync --progress source > destination, rsync lets me believe it's copying with about 50MB/s over a 100Mb/s network without complaining that actually nothing is copied.

Henk Schoneveld
The Netherlands



Reply to: