Playing with Linux NBD

define the target

nbd-server 1043 /dev/drbd1

connect from initiator

modprobe nbd
nbd-client storage1 1043 /dev/nbd1

disconnect

nbd-client -d /dev/nbd1

RESOURCES

Network Block Device https://sourceforge.net/projects/nbd/ https://nbd.sourceforge.io/ https://github.com/NetworkBlockDevice/nbd

nbd-client - connect to a server running nbd-server(1), to use its exported block device https://manpages.debian.org/testing/nbd-client/nbd-client.8.en.html

Linux NBD Tutorial: Network Block Device Jumpstart Guide https://www.thegeekstuff.com/2009/02/nbd-tutorial-network-block-device-jumpstart-guide/

Introduction to Linux Network Block Devices https://sweetcode.io/introduction-to-linux-network-block-devices/

linux NBD: Introduction to Linux Network Block Devices https://medium.com/@aysadx/linux-nbd-introduction-to-linux-network-block-devices-143365f1901b

Could someone explain why/how NBD is better than… https://news.ycombinator.com/item?id=16949296

Choice of SAN: iSCSI vs NBD vs AOE https://www.reddit.com/r/HomeServer/comments/954ns2/choice_of_san_iscsi_vs_nbd_vs_aoe/

How to connect a block device manually https://www.scaleway.com/en/docs/connect-a-block-device-manually/


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml