[[email protected] ~]# nbd-server -V
This is nbd-server version 3.11
[[email protected] ~]# nbd-server 10.8.0.12:1040 /root/testfile -d

** (process:18247): WARNING **: Specifying an export on the command line is
deprecated.

** (process:18247): WARNING **: Please use a configuration file instead.
** Message: virtstyle ipliteral
** Message: connect from 10.8.0.41, assigned file is /root/testfile
** Message: Can't open authorization file /etc/nbd-server/allow (No such
file or directory).
** Message: Authorized client
** Message: Starting to serve
** Message: Size of exported file/device is 524288000
Error: Read failed: Connection reset by peer
Exiting.

[root@hvm2 ~]# nbd-client -N sg1b -l 10.8.0.12 1040 /dev/nbd1
Negotiation: Error: Server closed connection
Exiting.

What is the problem here? selinux is set to permissive on the host and I
don't see any messages in the syslog about it. strace hasn't been helpful
at all either. The iptables chains are empty on both boxes.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to