[Libguestfs] [libguestfs/libnbd] nbd_connect_tcp: handshake: server policy prevents NBD_OPT_GO (#4)

Richard W.M. Jones rjones at redhat.com
Thu Feb 11 16:47:53 UTC 2021


On Thu, Feb 11, 2021 at 08:37:10AM -0800, Shem Pasamba wrote:
> Running ./nbdfuse ../mnt --tcp 172.27.20.55 2222 results in:
> 
> nbd_connect_tcp: handshake: server policy prevents NBD_OPT_GO
> 
> # ./nbdfuse --version
> nbdfuse 1.6.1
> libnbd 1.7.1
> 
> With nbd-server started on Ubuntu 20.04 with command:
> 
> sudo nbd-server 2222 /dev/md1

In general I would recommend using a more featureful server,
ie. qemu-nbd or nbdkit.

The error means that the server returned error NBD_REP_ERR_POLICY, but
the true reason will only be contained in the logs on the server side.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list