Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
32 lines
1.1 KiB
ReStructuredText
32 lines
1.1 KiB
ReStructuredText
==================================
|
|
Network Block Device (TCP version)
|
|
==================================
|
|
|
|
1) Overview
|
|
-----------
|
|
|
|
What is it: With this compiled in the kernel (or as a module), Linux
|
|
can use a remote server as one of its block devices. So every time
|
|
the client computer wants to read, e.g., /dev/nb0, it sends a
|
|
request over TCP to the server, which will reply with the data read.
|
|
This can be used for stations with low disk space (or even diskless)
|
|
to borrow disk space from another computer.
|
|
Unlike NFS, it is possible to put any filesystem on it, etc.
|
|
|
|
For more information, or to download the nbd-client and nbd-server
|
|
tools, go to https://github.com/NetworkBlockDevice/nbd.
|
|
|
|
The nbd kernel module need only be installed on the client
|
|
system, as the nbd-server is completely in userspace. In fact,
|
|
the nbd-server has been successfully ported to other operating
|
|
systems, including Windows.
|
|
|
|
A) NBD parameters
|
|
-----------------
|
|
|
|
max_part
|
|
Number of partitions per device (default: 0).
|
|
|
|
nbds_max
|
|
Number of block devices that should be initialized (default: 16).
|