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

[Nbd] NBD report error



Hi all,

I use nbd-2.9.15 and Linux kernel version is 3.5.0. The errors are
like following.

nbd-server:
** Message: connect from 127.0.0.1, assigned file is (null)
** Message: Authorized client
** Message: Starting to serve
Error: Failed/5:Resource temporarily unavailable

Exiting.
** Message: Child exited with 1

dmesg outputs:
[245826.049068] block nbd1: Receive control failed (result -32)
[245826.049129] block nbd1: shutting down socket
[245826.049179] block nbd1: queue cleared


I find the error report messages in nbd-server.c like this.
[...]
         while((pid=waitpid(-1, &status, WNOHANG)) > 0) {
                 if(WIFEXITED(status)) {
                         msg3(LOG_INFO, "Child exited with %d",
WEXITSTATUS(status));
                 }

[...]


Would anyone please give me some suggestions? thanks in advance ;-)

--
Thanks
Harry Wei



Reply to: