Hello!
I have installed NBD server version 3.14.
When I try to connect to the server using NBD client I get this error
message:
nbd-client <server-ip> /dev/nbd0
Warning: the oldstyle protocol is no longer supported.
This method now uses the newstyle protocol with a default export
Negotiation: ..Error: Read failed: End of file
Exiting.
In server syslog I find this records:
Aug 21 14:23:42 <server-name> nbd_server[10150]: Spawned a child process
Aug 21 14:23:42 <server-name> nbd_server[10436]: Negotiation failed/8a:
Requested export not found
Aug 21 14:23:42 <server-name> nbd_server[10436]: Exiting.
Aug 21 14:23:42 <server-name> nbd_server[10150]: Child exited with 1
Aug 21 14:23:42 <server-name> nbd_client[10435]: Read failed: End of file
Aug 21 14:23:42 <server-name> nbd_client[10435]: Exiting.
What is causing this error?
This is my current NBD server configuration:
cat /etc/nbd-server/config
[generic]
# If you want to run everything as root rather than the nbd user, you
# may either say "root" in the two following lines, or remove them
# altogether. Do not remove the [generic] section, however.
user = nbd
group = nbd
includedir = /etc/nbd-server/conf.d
# What follows are export definitions. You may create as much of them as
# you want, but the section header has to be unique.
allowlist = 1
cat /etc/nbd-server/conf.d/siduction.conf
[siduction-15.1.0]
exportname =
/export/iso/siduction-15.1.0-paintitblack-gnome-amd64-201601162124.iso
readonly = true
authfile = /etc/nbd-server/allow
THX
------------------------------------------------------------------------------
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general