Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | Network Block Device (TCP version) |
| 2 | ================================== |
| 3 | |
| 4 | 1) Overview |
| 5 | ----------- |
| 6 | |
| 7 | What is it: With this compiled in the kernel (or as a module), Linux |
| 8 | can use a remote server as one of its block devices. So every time |
| 9 | the client computer wants to read, e.g., /dev/nb0, it sends a |
| 10 | request over TCP to the server, which will reply with the data read. |
| 11 | This can be used for stations with low disk space (or even diskless) |
| 12 | to borrow disk space from another computer. |
| 13 | Unlike NFS, it is possible to put any filesystem on it, etc. |
| 14 | |
| 15 | For more information, or to download the nbd-client and nbd-server |
| 16 | tools, go to http://nbd.sf.net/. |
| 17 | |
| 18 | The nbd kernel module need only be installed on the client |
| 19 | system, as the nbd-server is completely in userspace. In fact, |
| 20 | the nbd-server has been successfully ported to other operating |
| 21 | systems, including Windows. |
| 22 | |
| 23 | A) NBD parameters |
| 24 | ----------------- |
| 25 | |
| 26 | max_part |
| 27 | Number of partitions per device (default: 0). |
| 28 | |
| 29 | nbds_max |
| 30 | Number of block devices that should be initialized (default: 16). |
| 31 | |