nbd icon indicating copy to clipboard operation
nbd copied to clipboard

Network Block Device

Results 32 nbd issues
Sort by recently updated
recently updated
newest added

https://github.com/NetworkBlockDevice/nbd/blob/4697b68efc0781ef0dd7bdc92229d399091fde51/nbd-client.c#L440-L501 data `len` is read from sock in line 451 : ```c if(read(sock, &len, sizeof(len)) < 0) { ``` So the `len` is unsafe data, however, when it is used...

https://github.com/NetworkBlockDevice/nbd/blob/4697b68efc0781ef0dd7bdc92229d399091fde51/nbd-client.c#L409-L422 **In line 421**, the `retval->datasize` is type uint32_t data that from socket, which is unsafe data. And the second parameter of realloc is also type unsigned int, so `...

In **runit** all services are started in foreground mode, so nbd-server is started as `nbd-server -d`. Generally, network booting a client works fine unless the client machine is force-reset/shutoff at...

wishlist

I still need to do a proper job getting logs together, but maybe someone can tell me I'm being dumb before I put too much time into this. Currently, filesystems...

In the process of enabling swap using the network block device, when the system runs for a period of time, it will suddenly freeze. The higher the delay between client...

On my NAS (Ubuntu-20.04), I defined a volume with option "maxconnections=1, as a workaround for exclusive volume export. This way I want to ensure that my Laptop and my PC...

If I try to enable nbd-server to start from systemd on openSUSE Leap 15.2, I get this ``` * nbd-server.service - Network Block Device server Loaded: loaded (/usr/lib/systemd/system/nbd-server.service; enabled; vendor...

when configured with `unixsock = /run/nbd-test.sock` and the location /run/nbd-test.sock exists, nbd-server silently fails. Only when non-forking ``` sh # [ -e /run/nbd-test.sock ] && echo /run/nbd-test.sock existing /run/nbd-test.sock existing...

when configuring to serve on a unix socket, the socket is not cleaned up upon exit. This prevents restarting. ## MWE /etc/nbd-server/config: ```ini [generic] unixsock = /run/nbd-test.sock [test] exportname =...

Hello, I am trying to use nbd, but my shared file has the wrong file size and because of that the file is cut off. I am using: Server: Debian...