NetworkBlockDevice / nbd

Network Block Device
GNU General Public License v2.0
459 stars 120 forks source link

RO block device redundancy #68

Open mdidomenico4 opened 6 years ago

mdidomenico4 commented 6 years ago

Is it possible to augment NBD to support multiple servers for the reads on a RO block device? Ideally, what I'd like to do is have NBD be able to read from multiple NBD physical servers. This could do two things, one spread the load over more then one machine and provide redundancy should one fail. Obviously if writes were involved you couldn't easily do this, but I only need reads. I'm doing the copy-on-write on the client using device-mapper rather inside NBD.

yoe commented 6 years ago

That should already be possible in theory with the multi-connection thing, but currently the client doesn't allow you to configure it.

I'll see if I can come up with a patch to do this cleanly.

mdidomenico4 commented 6 years ago

that would be awesome, thanks